Wireless AC Control With The Raspberry Pi

We’ve seen some of [Connor]’s work before, and it looks like he’s now turning to product design. He’s come up with an adapter for the Raspberry Pi to control a few wireless wall socket relays, allowing anyone with a Pi to control lights, coffee makers, TVs, and anything else that falls under the very broad home automation banner.

The system uses a 315MHz radio breakout board for a Raspberry Pi to control the relays in one of three wall socket adapters. There’s a script running on the Pi with a very nice GUI to turn the lights on and off.

[Connor]’s product is extremely similar to a certain WiFi-enabled wall-plug relay system controlled by a smartphone, and to that end, he’s decided to call his device the Belchin’ Emo Switch. The name might need work, but he’s selling three Raspberry Pi-controlled wall plugs for the same price of one wall plug from Brand A.

Below you’ll find [Connor]’s videos for his device. You can also check out this reddit thread where he shows off just how open source he can be; there are part suppliers and even how he’s packaging this system for shipment.

Continue reading “Wireless AC Control With The Raspberry Pi”

Get Your Hackerspace A 3D Printer

logo

LulzBot is yet again giving away a few of their very fancy and well-reviewed 3D printers away to a few hackerspaces.

This isn’t the first time LulzBot has given away a few of their printers; a year and a half ago, they gave away eight AO-100 printers and they also donated one to our ‘ol buddy [Caleb] for TheControllerProject, a forum to connect disabled gamers to people who have the means and ability to make custom gaming controllers.

The rules for this giveaway are simple: Be a hackerspace, and display, “creativity and contributions to the free software and open hardware community.” It’s as simple as that. If you’re a hackerspace without a 3D printer – which would be somewhat astounding at this point – here’s your chance to get one of the best 3D printers around.

The contest will be open starting March 1 and ends on March 14, with entry requiring a hackerspace fill out a form somewhere on the LulzBot servers.

Confuse The Birds With This Daylight Simulation System

F7WW1DAHQP02H5D.LARGE

Hackers love a challenge. So when [Patrick’s] father-in-law asked him to look into a daylight simulation system for his bird breeding cages, [Patrick] quickly discovered the ridiculous prices for commercial systems… so he convinced his father-in-law to let him design and build one instead.

Like any project, [Patrick] quickly listed the requirements of the system before starting anything.

  • It must brighten gradually in the morning
  • Stay constant throughout the day
  • Dim in the evening to a very low intensity

In addition to this, the lighting transition should be smooth, and the lights cannot flicker, as this can be stressful for the birds — oh, and it needs to be reliable.

To build the system, [Patrick] has chosen an Arduino Duemillenova, an RTC, a small LCD screen, some cheap LEDs from eBay and a handful of N-channel NPN transistors to provide the PWM for the LEDs. The entire system cost less than $100 — a much cheaper alternative to commercial systems.

We think the system looks great, but as a big fan of the Hack a Day community, [Patrick] would love to hear your feedback!

Robot Foosball Will Kick Your Butt If You Play Slowly

foosball_pt3_1

Sometimes we find a project that is so far outside of our realm of experience, it just makes us sit back and think “wow”. This is definitely one of those projects. [Saba] has created a Robotic Foosball set that learns.

[Saba Khalilnaji] is a recent engineering graduate from UC Berkeley, and his passion is robotics. After taking an Artificial Intelligence class during his degree (you can take it online through edX!), he has decided to dabble in AI by building this awesome robot Foosball set.

His “basic” understanding of machine learning includes a few topics such as Supervised Learning, Unsupervised Learning and Reinforcement Learning. For this project he’s testing out a real-world application of Reinforcement Learning using the Markov Decision Process or MDP for short. At an extremely top level description it works by programming an agent to learn from the consequences of its actions in a given environment. There are a set of states, actions, probabilities for given state and action, and rewards for specific state and action sets.

Before we butcher the explanation anymore, check out his blog for more information — and watch the following video.

Continue reading “Robot Foosball Will Kick Your Butt If You Play Slowly”

Sound Card Tachometer Rises From The Junkbox

We love writing up projects that re-use lots of old parts. In fact, we save the links and use them as defense when our significant other complains about the “junk” in the basement. No, that tactic hasn’t ever worked, but we’re going to keep trying. Case in point, [Wotboa] needed a non-contact tachometer. There are plenty of commercial products which do just that. After consulting his parts bin, [wotboa] realized he had everything he needed to hack out his own. An IR break beam sensor from an old printer was a perfect fit in an aluminum tube. With the outer shell removed, the emitter and detector were mounted in the nylon shell of an old PC power supply connector, effectively turning them pair into a reflective sensor. To amplify the circuit, [wotboa] used a simple 2n2222 transistor circuit. The key is to keep the voltage seen by the sound card the range of a line level signal. This was accomplished by adding a 2.2 Megohm resistor in line with the output. [wotboa] drew his schematic in eagle, and etched his own PCB for the project. Even the tachometer’s case came from the parts bin. An old wall wart power supply gave up its shell for the cause, though [wotboa] is saving the transformer for another project.

For sensing, [wotba] used [Christian Zeitnitz’s] Soundcard Oscilloscope software.  Measuring the RPM of the device under test is simply a matter of determining the frequency of the signal and multiplying by 60. A 400 Hz signal would correspond to a shaft turning at 24,000 RPM. The circuit performs well in the range of RPM [wotboa] needs, but using a sound card does have its limits. The signals on the scope look a bit distorted from the square waves one would expect. This is due to the AC coupled nature of sound cards. As the signal approaches DC, the waveform will become more distorted. One possible fix for this would be to remove the AC coupling capacitor on the sound card’s input. With the capacitor removed, an op amp buffer would be a good idea to prevent damage to the sound card.

[Via Instructables]

Using SDR To Read Your Smart Meter

[BeMasher] was dissatisfied with the cost of other solutions to read his smart meter, so he made a project to read it himself using an rtl-sdr dongle.

Using his hacking and reverse engineering skills along with a $20 RTL-SDR dongle, [BeMasher] wrote rtlamr to automatically detect and report the consumption information reported by smart meters within range. Though designed for his Itron C1SR, [BeMasher] claims that any electronic receiver transmitter (ERT) capable smart meter should work.

[BeMasher]’s Itron C1SR smart meter broadcasts both interval data and standard consumption in the 915MHz ISM band using a Manchester encoded, frequency hopping spread spectrum protocol. [BeMasher] used the RTL-SDR dongle to do the signal capture and analysed the resulting signal in software afterwards. [BeMasher] did a great job of going through the theory and implementation of analysing the resulting data capture, so be sure to check it for an in-depth analysis.

If the RTL-SDR dongles are too limited for you taste, you might want to check out some hacker friendly SDRs with a little more punch.

Hackaday Meetup With [Chris Gammell]

hackaday-meetup-with-chris-gammell

Update: We have it figured out. We’re bringing the awesome at The Blind Donkey in Pasadena, CA at 6pm this evening. Stop in with your hardware and your war stories. Chris Gammell, Mathieu Stephan, and I can’t wait to talk Arduino hardware hacking with you!

I’m getting to meet all kinds of cool people in person this year, and so can you! Well… if you happen to be in Pasadena, California on Wednesday after work and have nothing better to do. [Chris Gammell] — well-known for The Amp Hour and Contextual Electronics — and I are both going to be in town. We’re meeting up for a beer and thought we’d invite you along for the fun.

Details are scarce right now. I’m not sure of time or place (other than Pasadena area) so make sure you follow @Hackaday on Twitter and watch for the #HaD_meetup tag Wednesday afternoon for the details. We’ll also update the Hackaday Projects event page at the time. I’ll bring along some swag; you’d better cart along a piece of hardware to show off in return for a t-shirt or stickers. You’re on your own for food and beverages at this one.

Wondering what I meant about meeting lots of cool people? In addition to the nearly 500 awesome readers who showed up at The Gathering, I met [Brian] and [Eliot] for the first time.