Thermostats can be a pain. They often only look at one sensor in a multi-room home and then set the temperature based on that. The result is one room that’s comfortable and other rooms that are not. Plus, you generally have to get up off the couch to change the temperature. In this day and age, who wants to do that? You could buy an off-the-shelf solution, but sometimes hacking up your own custom hardware is just so much more fun.
[redditseph] did exactly that by modifying his home thermostat to be controlled by a Raspberry Pi. The temperature is controlled by a simple web interface that runs on the Pi. This way, [redditseph] can change the temperature from any room in his home using a computer or smart phone. He also built multi-sensor functionality into his design. This means that the Pi can take readings from multiple rooms in the home and use this data to make more intelligent decisions about how to change the temperature.
The Pi needed a way to actually talk to the thermostat. [redditseph] made this work with a relay module. The Pi flips one side of the relays, which then in turn switches the buttons that came built into the thermostat. The Pi is basically just emulating a human pressing buttons. His thermostat had terminal blocks inside, so [redditseph] didn’t have to risk damaging it by soldering anything to it. The end result is a functional design that has a sort of cyberpunk look to it.
[Teknynja] was looking for a way to control several discrete AC-powered devices using a microcontroller, and while he did consider the Powerswitch tail 2 from Adafruit, handling 5 devices would get pretty expensive. Rather than buying a complete off the shelf solution, he decided to build his own 5-way switched outlet.
He picked up a sturdy metal power strip from a local hardware store along with some Sharp S201S06V relays he ordered online. After test fitting his relays inside the power strip’s chassis, he wired up 5 of the 6 outlets through them to allow for switching via a microcontroller. He configured the 6th outlet to be live at all times, providing a power source for the control system he planned on using to switch the other receptacles.
[Teknynja] pulled the connector from an old PS/2 mouse for use as a control wire, connecting one wire to each of the relays. He says that the strip is working quite well, and after a few months of use it is holding up nicely.
Never get between a man and his salami. [Mike] needed a way to control temperature, humidity and airflow with his meat curing setup. Of course he could modify a refrigerator and humidifier to be controlled separately, but [Mike] decided the best course of action would be to control line voltage with an Arduino.
[Mike] started his build with a four socket wall housing he picked up at Home Depot for a few dollars. After wiring up each outlet so it can be controlled independently, he set out designing a four port relay board. This was a pretty simple build – four 10 Amp relays and a few terminal blocks. The PCB was designed in Eagle as a single-side board for ease of manufacturing.
The relay board is meant to fit inside the blue box along with the four sockets, so a few holes were drilled for the power and control wires. The entire assemblage was put together and tested out. [Mike] posted a video of his controllable outlet flashing a light bulb at 10 Hz. Check out that light switch rave after the break.
Continue reading “Arduino controlled four socket outlet”
[jay] reminded us of this old video of solenoids banging rhythms on furniture and household objects. There’s no schematic, but in the video it looks like an Arduino drives a bunch of solenoids through relays. The PC interface is run on Pure Data, an open source programming environment for audio, video, and graphic processing. Thanks [Jay].