I just did the most amazing thing the other day. I turned on a light.
Now, before you close the window, I should explain a little. This wasn’t just turning on a light in your house with a switch; this was a light attached to my Raspberry Pi.
I literally pulled out my quad core, 2.2Ghz/8GB MacBook Pro, booted OS X, connected to a wireless network, plugged my little 700Mhz/256MB Pi computer into an ethernet devices on the other end of the room, wired an LED to a pin on the board, booted Linux on the device, waited until both devices negotiated with the network for an IP address, then fired up SSH, which encrypts all communications, so that I can send messages between devices, finally issuing a command on the Pi to set the pins attached to the light to go from being dead to outputting 3.3 volts.
Considering all I did was turn on a light that is a crazy amount of overhead. Every step involved in this process is an absolute miracle, having required decades of human ingenuity to achieve.
When I was younger, I used to be interested in electronics. My dad purchased me a 100 in 1 electronics kit so that I would stop tearing apart his equipment (e.g. an expensive police scanner, televisions, radios, electronic shavers…) This thing was awesome. I could make stuff that performed real world actions! Eventually, electronics and I grew distant. There is an overhead with maintaining an electronics workshop.
Tools like the Raspberry Pi and the Arduino are amazing, as they are starting to allow high level computer programmers to interact with hardware. Sure, the possibility was always there, but now we have easy to acquire/affordable hardware. As more of these programmable devices with General Purpose Input/Output (GPIO) surface, we will see more and more hobbyists getting into the realm of hardware hacking. Thanks to things like the cheap $300 AR Parrot Drone that you can control programmatically with Node.js, we’re going to see a lot of cool robots soon.
Latest posts by Thomas Hunter II (see all)
- SF Node November 2016 – Node, Redis, and You! - 2016-11-09
- Running a Node.js process on Debian as a Systemd Service - 2016-09-27
- Wrangling Microservices at OpenTable - 2016-08-17