RF switching module can learn new remotes

rf-remote-also-learns-by-itself

This breadboarded circuit is [Sergio’s] solution to controlling appliances wirelessly. Specifically he wanted a way to turn his pool pump on and off from inside the house. Since he had most of the parts on hand he decided to build a solution himself. What he ended up with is an RF base station that can learn to take commands from different remote devices.

The main components include the solid state relay at the bottom of the image. This lets the ATtiny13 switch mains voltage appliances. The microcontroller (on the copper clad square at the center of the breadboard) interfaces with the green radio frequency board to its left. On the right is a single leaf switch. This acts as the input. A quick click will toggle the relay, but a three-second press puts the device in learning mode. [Sergio] can then press a button on an RF remote and the device will store the received code in EEPROM. As you can see in the clip after the break, he even included a way to forget a remote code.

Continue reading “RF switching module can learn new remotes”

Super Serious Garage Door Opener

Tired of cheap plastic garage door openers? [Yetifrisstlama]’s is probably the most serious garage door opener that we’ve seen. The case is an old emergency stop switch, which has plenty of space for the circuitry and features a big red button.

This build log starts with details on reverse engineering the original door opener’s protocol. It’s an amplitude-shift keying (ASK) signal that sends a 10 bit code to authenticate. The main components inside are a PIC16LF819 microcontroller, a MAX7057 ASK/FSK transmitter, and some RF circuitry needed to filter the signal. There’s a mix of through hole and surface mount components mounted on a prototyping board, requiring some crafty soldering.

[Yetifrisstlama] says that the next step is to add a power amplifier to increase the range. The code and project files are also provided for anyone interested in working with ASK. While the hack looks awesome, it might make bystanders think you’re doing something more sinister than opening a garage door.

27 MHz transmitter/receiver pair made with 555 timers

Get your feet wet with radio frequency transmitters and receivers by working your way through this pair of tutorials. [Chris] built the hardware around a couple of 555 timers so you don’t need to worry about any microcontroller programming. He started by building the transmitter and finished by constructing a receiver.

Apparently the 27 MHz band is okay to work with in most countries as long as your hardware stays below a certain power threshold. The carrier frequency is generated by the transmitter with the help of a 27.145 MHz crystal. The signal is picked up by the receiver which uses a hand-wrapped inductor made using an AL=25 Toroid Core. We’d say these are the parts that will be the hardest to find without putting in an order from a distributor. But the rest of the build just uses a couple 555 timer chips and passive components, all of which will be easy to find. The video after the break shows the project used to receive a Morse-code-style message entered with a push button. It would be fun to interface this with your microcontroller of choice and implement your own one-way error correction scheme.

Garage door opener now a bedroom door closer

[Roy] had an extra garage door opener on hand and decided to put it to use as a remote control closing mechanism for his bedroom door. We gather he has some noisy housemates as the inspiration for the project came from not wanting to get out of bed to close the door when the ruckus interrupts his TV watching.

The image above shows the hinged system which translates the linear motion from the garage opener track to the rotational force necessary to swing the door closed. We’d say he really nailed it because the system matches the angle of the door jamb perfectly, and when the door is fully open the angle bracket is almost flat against the wall. We certainly don’t have the same need for closing doors, but the mechanism is something to keep in mind.

The motor for the opener is hidden beneath his desk. You won’t be able to see it in the video after the break because he built a matching enclosure around it. Now he just needs to add some WiFi connectivity and he can ditch the uni-tasking RF remote for a smart phone app.

Continue reading “Garage door opener now a bedroom door closer”

Decoding RF link using a PC soundcard

[Ray] wanted to use a microcontroller to send signals to some wireless power outlets. Instead of tapping into the buttons on the remote control he is using an RF board to mimic the signals. There are two hurdles to overcome with this method. The first is to make sure your RF module operates on the proper frequency. The second is to get your hands on the codes that are being sent from the remote control unit.

Now you could just hook your oscilloscope up to the transmitter and take a look at the timing of the signals. But most hobbyists don’t have that kind of high-end test equipment in their basement or garage shops. [Ray’s] approach uses something we all have available to us: a sound card and some open source software. He connected the data pin from his RF receiver to an audio plug and inserted it in the line-in jack of his computer. Using Audacity he recorded the signal as he pressed buttons on the transmitter.  This method not only captures the data, but the time stamps native to the audio editing program let him easily work out the timing for each signal.

It’s kind of amazing what you can do with this audio analyation technique. Earlier this year we saw it used to measure response time for DSLR cameras.

Continue reading “Decoding RF link using a PC soundcard”

Home automation with RC wall plugs and Raspberry Pi

[Jake] took some cheap hardware and figured out a way to use it as a huge home automation network. He’s chose a Raspberry Pi board to connect the radio controlled power outlets to his network. He wrote about his project in two parts, the first is hacking the RC outlet controller and the second is using the Raspberry Pi to manipulate it.

These RC outlets are a pass-through for appliances that connect to mains (lamps, consumer electronics, christmas trees, etc). Often the protocol used by the cheap-as-dirt remote is difficult to work with, but [Jake] really hit it out of the part on this one. In addition to simulating button presses for up to fifteen devices on the remote, he replaced the DIP switch package. This lets him change the encoding, essentially allowing the one device to control up to 32 sets of outlets. Theoretically this lets him command 480 devices from the Raspberry Pi. Since that board is a web server it’s just a matter of coding an interface.

Some of the inspiration for this hack came from the whistle-controlled appliance hack.

Kilonode: how to test a huge Xbee mesh network

So let’s say that you’re a developer on the Xbee team. You need to test the extremes of what the RF radio modules can do when in a large network. But in addition to numerous nodes, you also need to test the effects of distance on the radios. Since it’s not reasonable to distribute hundreds of the devices (each with their own power source) throughout town, you build a test setup like the 1 kilonode Xbee rig which the project manager, [Jared Hofhiens] is showing off.

He’s holding one blade from the rack-mounted system. Each of those squares is an Xbee module, there’s 32 etched onto the board. On the edge furthest from him there are a set of connectors which mate with the rack connectors, hooking the blade up to a set of terminal servers. These servers allow developers to ssh into individual modules. On the near side of the blade there’s a set of attenuation adjustment circuits. They allow adjustments of 0-40 dB of attenuation in 10 dB increments to adjust how strong the RF signals are, simulating distance between modules.

Thirty-two of these cards are mounted in the three racks seen above to make up the 1024 module node. We really appreciate this look behind the scenes and think you’ll enjoy the video tour after the break. If it leaves you wanting more check out how one company builds cloud storage. Continue reading “Kilonode: how to test a huge Xbee mesh network”