This is my Hello World program in IoT. This project turns on LED chase pattern show on breadboard when you send a email. The idea can be expanded to turn on lights at home or Christmas tree lights by sending email from anywhere.
How it works:I have Node-RED running on my computer which constantly checks my email with a specific subject then writes a scratch to light blue bean via Bluetooth (I added a Bluetooth dongle to my PC as it has no built in Bluetooth capability). Then I uploaded a sketch to light blue bean which reads the scratch and starts the LED show.
Node-REDI installed Node-RED on my Windows 7 PC (using Raspberry Pi for Node-Red might be easier than installing on PC).
This is the node flow:
Email Node:
Function node:
Bean write scratch node:
Code to run a chase pattern using bean under code section.
Comments