Android And Arduino RF Outlet Selector

ardAndRFoutlets

Cyber Monday may be behind us, but there are always some hackable, inexpensive electronics to be had. [Stephen’s] wireless Android/Arduino outlet hack may be the perfect holiday project on the cheap, especially considering you can once again snag the right remote controlled outlets from Home Depot. This project is similar to other remote control outlet builds we’ve seen here, but for around $6 per outlet: a tough price to beat.

[Stephen] Frankenstein’d an inexpensive RF device from Amazon into his build, hooking the Arduino up to the 4 pins on the transmitter. The first step was to reverse engineer the communication for the outlet, which was accomplished through some down and dirty Arduino logic analyzing. The final circuit included a standard Arduino Ethernet shield, which [Stephen] hooked up to his router and configured to run as a web server. Most of the code was borrowed from the RC-Switch outlet project, but the protocols from that build are based on US standards and did not quite fit [Stephen’s] needs, so he turned to a similar Instructables project to work out the finer details.

Stick around after the break for a quick video demonstration, then check out another wireless outlet hack for inspiration.

Continue reading “Android And Arduino RF Outlet Selector”

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”

Data Confirmation With RF Communications

[Rafael] built a system that uses radio frequency for communications. The code he was using with the inexpensive receiver/transmitter pairs already had some error correction but from time to time an entire message would be missed by the receiver. He set out to make these RF communications more robust.

A little more than a year ago we looked at using these same transmitters with an Arduino. [Rafael] has a similar setup but since they are unidirectional he chose to use two pairs for bidirectional communication (each operating at a different frequency to avoid interference). On one end, a computer transmits data to the Arduino which is in a remote location. His confirmation protocol relies on a randomly generated message identifier. The computer will continually transmit the same message. The Arduino continually receives these messages, comparing them with the last successfully received message. If they match, it is considered a successful data transfer and the Arduino transmits a confirmation back to the computer which then starts transmitting the next message.

This isn’t an application-specific protocol. For demonstration purposes [Rafael] built a quick home automation setup that uses it to operate a house lamp.