Skip to main content

the current equipment/resource



Raspberry Pi (Model B) - http://www.newark.com/jsp/search/productdetail.jsp?SKU=43W5302&CMP=KNC-GPLA&mckv=|pcrid|27090039261|plid|
- Bought mine off of Amazon

Raspberry Pi Cobbler (breakout board) - http://www.adafruit.com/products/914
 - Came with the pin connectors


Typical Breadboard

Edimax USB Wireless Adapter - http://www.newegg.com/Product/Product.aspx?Item=N82E16833315091&nm_mc=KNC-GoogleAdwords&cm_mmc=KNC-GoogleAdwords-_-pla-_-Wireless+Adapters-_-N82E16833315091&gclid=CKncq-3ko7kCFQ6f4Aod_jEAig
- Had this previously, I believe purchased out of a whim (probably some Woot sale)

Logitech K400 Wireless Keyboard with Touch Pad - http://www.newegg.com/Product/Product.aspx?Item=N82E16823126264
- Bought to have a keyboard+mouse solution through one USB slot, but the Raspberry Pi is now set up for SSH, and this has now become more of a remote for the desktop. Besides, the cramped keyboard layout is not the best for coding. Anyways, had no problems functioning with the Raspberry Pi.

Ubuntu Server Hosted by DigitalOcean 
- 512 RAM, 20GB SSD server, haven't seen any bad downtime so far.

Additional equipment needs to be purchased for the hardware implementation of the door opener.

Most likely servos.

Comments

Popular posts from this blog

GPIO testing

Since the environment of the client-server-target is currently quite functional in the messaging standpoint, I decided to try connecting a simple LED light to the Raspberry Pi to see if it could "open" a door when the command is received. Installed the RPi.GPIO module (a Python module that gives the user command of the GPIO--General-Purpose Input/Output--ports in the Raspberry Pi) and connected the LED light to a GPIO pin. When the target received a request message, it would signal the GPIO pin to drive a current to the LED to light it up for 2 seconds. in main: if __name__ == "__main__":   GPIO.setmode(GPIO.BCM)   GPIO.setup(17, GPIO.OUT) in the on_message's request-received logic:      GPIO.output(17, True)      time.sleep(2)      GPIO.output(17, False) The video is a weak visual result. You can a click when the LED lights up; that was the sound of the key being pressed that sent the request message. Now, tim...

pwm..

I just realized that the RPi.GPIO library (for programming the Raspberry Pi's input/output) already has PWM control, giving me a much more efficient control of duty cycles... At least the previous exercise ("duty cycle testing") refreshed me on it. PWM control on RPi.GPIO: http://code.google.com/p/raspberry-gpio-python/wiki/PWM

websockets and mobile networks and ssl

Gahhh. Just going to ramble on this one: Websockets is unstable going through cellular networks Searched Google and solution seems to be SSL connections Tried to implement, and it works to some extent,  but realized that I'll have to have both Apache, which was running my web front end, and Tornado both listen to 443 which cannot happen Realize finally that Tornado is a SERVER just like Apache Try to implement web client through Tornado It works but Websocket server and the web client still different instances so still can't have both listen, or that's what I'm thinking but I don't have time to think about it at present. Gotta sleep.