fixed down method
added arduino code too
simplified socket server
added /dev/ttyblahblah