Hello everyone! A while back I showed off my homemade cloud sustainer - something akin to the Belkin We-Mo that can turn the Cloud off and on every hour on the hour to keep the Cloud hot 24/7. The We-Mo is a good solution, but the problem is that it is expensive (+100$) and only works for people who have iPhones. Because of that I got a lot of feedback from people asking me how they can go about building their own. I promised I would make a tutorial, and then promptly forgot about it.
Well, better late than never right? This is actually an extremely simple thing to make. If you have even a little bit of an understanding of electronics you will have no problem making this device. If you don’t want to bother with soldering and programming though, I will be offering these devices for sale in the near future (PM me if you are interested).
This is what you are going to need:
Meet the Power Switch Tail:
The PST2 is basically a high voltage relay in a box, with it’s control lines isolated and easily available through screw terminals on the outside of the box. You plug it into the wall, and plug the device to be controlled into it. Then, you use another device like a microcontroller to control the relay using the screw terminal control lines. We do this by connecting two wires, a ground wire and a voltage wire.
The type of relay that is used in the PST is a “fall shut” relay, meaning that when its positive wire is energized, it will switch on and let power run through it. When the control lines are shorted, grounded or otherwise have no power on them, the relay shuts off. The PowerSwitch tail requires a voltage of 3.3v or higher down the positive wire to hold the relay open. This threshold is much lower than most relays on the market, which makes the PST better suited to our applications than just a normal relay.
Meet the Teensy:
The Teensy 2.0 is part of a family of microcontrollers known as “Arduinos”. The Arduino project was started several years ago by a group of electronic engineers who realized that to get kids, teens and other normal people interested in electronics design, they would need to make microcontrollers more accessible and user friendly. Arduinos plug right into a computer, and use a simple programming language based off of C to give the user complete control over what the microcontroller is capable of.
There are two major companies that create microcontrollers. Microchip is well known for the PIC line of micro’s, while Atmel has been a relatively new addition to the market with their AVR line. There are more companies out there than these two, like ARM or Freescale, but their product lines are suited more towards heavy processing loads instead of the simple logic we need in this situation.
There is a futile debate constantly broiling among the electronics engineering community as to which of these product lines are superior. It’s kind of like what happens with vape fanboys, but way, way worse and with longer acronyms. It’s all the same though really, and both of these product are fine solutions. I use Atmel because I am more familiar with it, while others like Hippie Dickie are more familiar with PIC’s.
If you are familiar enough with microcontrollers to be able to adapt the code and wiring instructions, you can use whichever controller you want. Those of you who want to use my code will need to use an Arduino compatible board. The Teensy 2.0 is the least expensive reliable board available, at 16 dollars each.
Wiring it up:
First we are going to need to attach wires to the pads on the Teensy that will be connected to the PST. These “pads” are the confusingly named gold or silver circles on the outside of the board. First, find a pad market ‘GND’. There are two of them, one at the upper left hand corner and one on the bottom. Both will work, I just prefer the top one. Solder a wire to that pad, making sure to leave enough wire to connect it to the PST.
Then, find the pad labelled ‘B0’. Its right beside the top ground pad. It is called B0 but really it is just pin 0. Solder a wire to this pad as well. After soldering both wires to the Teensy board, cut the wires down to 3 or 4 inches and strip off about half a centimeter from the free end.
Take your phillips screwdriver and unscrew the terminals market In+ and In-. The clamping teeth in the terminal will rise. Take the wire from the GND pad and put it into the In- terminal. While holding it in place with one hand, screw the terminal down with the other. Do the same with the In+ terminal and the B0 pad wire. Once the terminals are securely engaged, we are ready to program the Teensy with the proper code for switching the Cloud on and off.
Continued Next Post
Well, better late than never right? This is actually an extremely simple thing to make. If you have even a little bit of an understanding of electronics you will have no problem making this device. If you don’t want to bother with soldering and programming though, I will be offering these devices for sale in the near future (PM me if you are interested).
This is what you are going to need:
- 1 Power-Switch Tail 2
- 1 Teensy 2.0 or other microcontroller
- Some wire and soldering iron
Meet the Power Switch Tail:
The PST2 is basically a high voltage relay in a box, with it’s control lines isolated and easily available through screw terminals on the outside of the box. You plug it into the wall, and plug the device to be controlled into it. Then, you use another device like a microcontroller to control the relay using the screw terminal control lines. We do this by connecting two wires, a ground wire and a voltage wire.
The type of relay that is used in the PST is a “fall shut” relay, meaning that when its positive wire is energized, it will switch on and let power run through it. When the control lines are shorted, grounded or otherwise have no power on them, the relay shuts off. The PowerSwitch tail requires a voltage of 3.3v or higher down the positive wire to hold the relay open. This threshold is much lower than most relays on the market, which makes the PST better suited to our applications than just a normal relay.
Meet the Teensy:
The Teensy 2.0 is part of a family of microcontrollers known as “Arduinos”. The Arduino project was started several years ago by a group of electronic engineers who realized that to get kids, teens and other normal people interested in electronics design, they would need to make microcontrollers more accessible and user friendly. Arduinos plug right into a computer, and use a simple programming language based off of C to give the user complete control over what the microcontroller is capable of.
There are two major companies that create microcontrollers. Microchip is well known for the PIC line of micro’s, while Atmel has been a relatively new addition to the market with their AVR line. There are more companies out there than these two, like ARM or Freescale, but their product lines are suited more towards heavy processing loads instead of the simple logic we need in this situation.
There is a futile debate constantly broiling among the electronics engineering community as to which of these product lines are superior. It’s kind of like what happens with vape fanboys, but way, way worse and with longer acronyms. It’s all the same though really, and both of these product are fine solutions. I use Atmel because I am more familiar with it, while others like Hippie Dickie are more familiar with PIC’s.
If you are familiar enough with microcontrollers to be able to adapt the code and wiring instructions, you can use whichever controller you want. Those of you who want to use my code will need to use an Arduino compatible board. The Teensy 2.0 is the least expensive reliable board available, at 16 dollars each.
Wiring it up:
First we are going to need to attach wires to the pads on the Teensy that will be connected to the PST. These “pads” are the confusingly named gold or silver circles on the outside of the board. First, find a pad market ‘GND’. There are two of them, one at the upper left hand corner and one on the bottom. Both will work, I just prefer the top one. Solder a wire to that pad, making sure to leave enough wire to connect it to the PST.
Then, find the pad labelled ‘B0’. Its right beside the top ground pad. It is called B0 but really it is just pin 0. Solder a wire to this pad as well. After soldering both wires to the Teensy board, cut the wires down to 3 or 4 inches and strip off about half a centimeter from the free end.
Take your phillips screwdriver and unscrew the terminals market In+ and In-. The clamping teeth in the terminal will rise. Take the wire from the GND pad and put it into the In- terminal. While holding it in place with one hand, screw the terminal down with the other. Do the same with the In+ terminal and the B0 pad wire. Once the terminals are securely engaged, we are ready to program the Teensy with the proper code for switching the Cloud on and off.
Continued Next Post