![]() ![]() ![]() Admittedly, there are a few parts that would be best to borrow if possible, like keyboards and monitors, but try asking around or going to a local makerspace. So if you're daunted by a steep learning curve, fear not.Īlso, if you're worried about cost barriers, I did my best to minimize out of pocket costs of the components (~$80 for me). Luckily, I had a EE friend to point me toward the right resources and help with troubleshooting (bless his soul). The farthest I had ever gone with Arduinos were the level 2 built-in sketches, I had never touched a raspberry pi before, and MATLAB was the only programming language I knew, besides how to print "Hello World" in python. Now, before anyone becomes nervous from the electronics and microcontrollers, allow me to assure you that I began as an absolute amateur. This arduino animates its neopixels based on the value and all is good :).The raspberry pi of lamp #2 registers the new value in the feed and sends it to its arduino.The raspberry pi is connected to the internet though a wifi dongle, so it can send the sensor reading to a feed in Adafruit IO.The arduino connected to the softpot sends this sensor reading to a raspberry pi.When the softpot is pressed in a specific location, the pixels perform the corresponding animation.In lamp #1, a softpot connected to neopixels controls the pixels' animations.But at long last, I have lamps that communicate through Adafruit IO: A project for someone who lights up my life.Īs a Christmas present (albeit an extremely late one now) for a long-distance friend, I wanted to build lamps that could "talk" to one another, as in "reflect each other's color animations when simulated." This involved a lot of frustrated screaming into pillows, late night confusion on why the circuit suddenly stopped working, and hours of debugging over hot cups of tea (not to mention weeks and weeks of research and taking notes to include for this long tutorial). ![]()
0 Comments
Leave a Reply. |