Skip to main content

quick recollection on setting things up

  • If I can swear that the password is correct, then it's possible that I'm getting the ID wrong.

    Hadn't logged into the web server in a couple of months and was unable to SSH into it. After an hour or so, I ended up deleting the instance and recreating a clean instance (read: erasing everything).
    I then realized I'd been putting the wrong ID.
     
  • apt-get install
  • sudo apt-get install

Anyways, some links I visited when setting things up (pretty much a dump of whatever I copy-pasted to notes) :

Raspberry Pi
http://www.makeuseof.com/tag/optimize-the-power-of-your-raspberry-pi-with-raspbian/


Logging
http://docs.python.org/2/howto/logging-cookbook.html


Tornado - Python webserver that supports Websocket
http://stackoverflow.com/questions/2924991/what-popular-webservers-have-support-for-html5-websocket
http://lowpowerlab.com/blog/2013/01/17/raspberrypi-websockets-with-python-tornado/
http://stackoverflow.com/questions/11695375/tornado-identify-track-connections-of-websockets

Installing Python in Ubuntu
http://eli.thegreenplace.net/2011/10/10/installing-python-2-7-on-ubuntu/


Physical computing with Raspberry Pi
http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/buttons_and_switches/


Comments

Popular posts from this blog

duty cycle testing

Now that I saw a physical response, I should try to make it similar to how a servo should be controlled. Servos are actuators that receive (expect) position input (as opposed to motors, which receive speed/intensity input). Simply put, it registers input as pulses, decoding the ratio of high (a "on" signal) to low in a given period as a position value.  A better explanation :  http://learn.adafruit.com/adafruits-raspberry-pi-lesson-8-using-a-servo-motor/servo-motors As I am waiting for my servo to be shipped, I will continue to work with the LED light.  As opposed to my previous setup of having the light turn on every time the request is given, I will have the light turn on and off in a regular pattern until a request is given, upon which the pattern will change for one "cycle" (on-and-off pair). The on-and-off logic (previously the LED control logic) will be run in a separate thread: def dCycle(*args):    global dCVal   ...

dabbling with android

I've been wanting to dabble with Android development recently, and yesterday I realized that there is a Socket.IO client API available for Java/Android. The API is pretty straightforward, so I loaded a test Android project I had made for going through Android basics and connected to the OpenSesame Node server. and it works! I mean, the interface is non-existent and it's really just bare-bones, but having the servo respond through an Android application was pretty refreshing. (the web client and the android client "communicating" with each other--messaging is pretty much for debugging purposes)

playing with servos

some servos that I had ordered were delivered. the instructions suggested another brand/model of servos, but these were a much more economical (cheap).  I tried adding them to the hand: I'll have to print the "pulley" pieces that will be attached to the servos. meanwhile, I did somewhat (hackily) got the wrist to work, for now: you keep hearing the "usb plugged out" sound in the background, and that's because the servo was being powered by the arduino. the servo's power draw appears to be causing a shutdown of the device. will need a better power source for the servos. it feels like these pieces that are supposed to be plugged into the servo will have size issues.