Controlling relays is a central piece in any home automation system. With them, you can easily switch on and off any electrical device in your home, like lights. In this project, we are going to see how to wirelessly control a relay from your computer or your smartphone, to realize a wireless-controlled light switch for example. This project is the second part of a series showing you how to use Arduino & the CC3000 WiFi chip for home automation purposes. The first part was dedicated to how to read data wirelessly from a temperature & humidity sensor. Of course, you could use the same pieces of software to control a relay. However, in practice you just can’t use the same principles for this kind of application: it is just too slow. And we are going to see how to speed things up. As usual, the whole code for this project can be found inside our GitHub repository. Let’s dive in !
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !
I found this one before, but it seems like a roundabout way of controlling something remotely… not to mention having to run apache and php for a server.
I’m was waiting to see if someone whips up a server example for the CC3000, but I have been looking at the Ethernet library’s server implementation and it seems like it should be doable with what is already in the CC3000 library.