After much deliberation I finally purchased the 4WD Aluminium Mobile Platform from RobotBase.cn and available in the UK from Robot Bits. This 4WD metal base arrives in kit form with motors, a battery holder and switch.
Just some quick cribs for dealing with MAMP servers.
- sudo apachectl restart
Location of PHP.ini file
- sudo mate /private/etc/php.ini
These are my setup notes combined with a user review the Synology DS412+. We have bought this device so we: can host some websites from home with low bandwidth high storage requirements; have remote access to files etc; and have a shared drive on our LAN rather than leaving our iMacs on;
The SynBox will initially be loaded with 4x Western Digital 1TB drives that we have left over from our down graded Ubuntu server. I have completed a SmartCtl Extended Test Reports on these drives and hope despite the extended hours they will work ok for the time being.
– post in progress —
In this experiment I am going to use my first outside library to add Capacitive Sensing to the Arduino as demonstrated on You Tube. This is the same technique used by most modern touch screen such as the iPad and iPhone and this feature is brought to the Arduino via the CapSense library written by Paul Badger.
Shift Registers are a type of Integrated Circuit (IC) or chip. The Shift Register is a serial to parallel convertor that allows us to control eight additional output pins with just three on the Arduino. You can link them together to give you even more (unlimited) outputs!
A Shift Register works by clocking in the data and then locking (or latching) it. This is achieved by setting the data pin to high or low and then pulsing the clock. This is repeated until you have shifted out eight bits of data and set all the pins. Now you can pulse the latch and all eight bits are output to their representative pins.
Servos can be used for lots of things where a great detail of control is needed such as steering RC vehicles, robotics and freaking out small children with moving dolls. Standard Servos like the one provided by Oomlout travel through 0 to 180 degrees with positioning controlled via a timed pulse. Timing varies with manufacturer but for example a pulse sent every 25 to 50 ms will run the servo smoothly.
The Arduino will allow you to attach low power devices directly to its pins but items such as motors requiring more power require a transistor. A Transistor allows you to switch big volts using little volts. In circuit 03 we wil be switching a motor.
It uses a 1N4001 diode to act as a flyback diode which eliminates or suppresses voltage spikes seen across an inductive load when a voltage supply is suddenly reduced or removed.
So in the second starter circuit multiple LEDs are linked up and patterns created. The first one turns each LED on before turning each LED off. It uses an array and a couple of for loops. You can read the full explanation on ardx.org.
This is the first ‘getting started’ circuit that makes an LED blink on and off as per the Ardx explanation. The circuit is nice and simple using just the big LED, a 560 ohm Resisitor (Green-Blue-Brown) and a wire to link the positive leg (long) of the LED to the digital pin 13 on the Arduino.
So I’ve long held back from signing into one of the free cloud resources due to concerns over privacy. I’ve used Google Docs for a few non-descripto documents but nothing more. However, having just placed an order for an iPad3, I’m looking to improve my remote working and document management. I don’t want to be dragging my laptop everywhere with me next year. There is not an iPad app for the ‘new’ Google Drive and writing Google Docs on the iPad just doesn’t work. Pages, Numbers and Keynote are all apps of notoriety for the right reasons so how can I import/export easily from this? Bottom line I can’t. Dropbox allows documents to open into Pages but not the reverse. It appears WebDav is the only option so this is how I’ve set mine up on our home Ubuntu 10.10 server.
So we’ve had need to open a couple of ports on our home-server to the real-world. Its like letting a child out in the evening for the first time alone – you’ve no idea what trouble they might get into but just hope you’ve prepared them enough.
These are my notes for when I forget what I’ve done.
The router is only forwarding HTTP and SSH traffic to the server. SSH has been locked down so it only accepts Key logins from non-root users so I think this is pretty good. The default site forwards via .htaccess to this domain which prevents general rumblings if you find it and only certain external subdomains are identified in the server’s /etc/hosts file.
Denyhosts is installed.
UFW Firewall has been configured using
sudo ufw default deny sudo ufw allow ssh sudo ufw allow www sudo ufw allow 10000 sudo ufw allow 443 sudo ufw allow Samba sudo ufw allow 5901 sudo ufw enable
Apparently, its possible to use allow webmin but this didn’t seem to work in this instance.