Reverse Engineering using the Arduino (Serial Monitor Pin Controller)

The other week a professor gave me ”Omega multidimensional effect” Christmas lights and challenged me to figure them out to control them. Under the impression that each LED was individually controllable, I took up the challenge looking to convert them into an LED matrix/display. Unfortunately, the lights aren’t as complex as I’d hoped. But in reverse engineering the lights, I came up with a very useful serial pin controller that I have used a few times since, and want to share with you all. It allowed me to type a string of bits such as “00011110″, turning pins 2,3,4,8 on and 5,6,7 off.

Continue reading

phpcam

PHP & Python Webcam Viewer

I just remembered a small project I had in 2011 that I wanted to share with you guys. I had just bought a webcam, and also gotten a cat, and decided to combine the two with programming to make this, a webcam viewer. This way, I could see what my cat was doing while I wasn’t home, by checking the website on my phone. Continue reading

Raspberry Pi Desktop on VNC

Setting up a Headless Raspberry Pi: no Monitor, Keyboard, or Mouse (optional: WiFi)

Things you will need:

  1. Raspberry Pi. They should sell as low as $35 on some websites, but if you need it quickly, it will be in stock at amazon. Make sure to have a  Micro-USB cable and USB power adapter handy as well.
  2. An SD Card. I recommend getting a Class 10 SD Card for the fastest speeds. The small ones go for as little as 5 dollars.
  3. SSH. If you are using Windows, I recommend using PuTTy. You can also SSH using apps on your smartphone or tablet.

  4. A VNC viewer/client. I recommend TightVNC for your PC. You can also find VNC clients for your smartphone or tablet
  5. Ethernet connection.
  6. (optional) WiFi adapter. I bought the Edimax Wireless Nano USB Adapter and have had no issues.

Continue reading