Automated Faucet Keeps Your Cat Watered

Like many of us [Chris Dillon]’s cat prefers to drink cold fresh water directly from the tap. However, unlike us, [Chris]’s feline buddy is too preoccupied with cat stuff to bother flipping off the faucet after its use. As it turns out, this was an excellent opportunity not only for [Chris] to flex his project muscles, but also to lay the groundwork for future home automation projects.  While most of us may go for a simple solenoid [Chris] had to make the rig completely reversible. The result is an automated  faucet control which involves an infrared sensor, Arduino,  and tight fitting rail system with a servo to operate the sink handle.

After getting all of the hardware and the sensor sorted [Chris] went on to add a data logging PC to the mix. The faucet setup communicates with a Linux server via Xbee modules, and populates a MongoDB database. The setup even allows [Chris] to flag false positives (human sink use for example) and produce charts of his feline friend’s water usage. We suspect the cat will be none too pleased when it gets its water bill.

Don’t forget to check out [Chris Dillon]’s site for details on the project including code and a list of lessons learned. Also, since this is the internet after all, we have several other cat related projects for your viewing pleasure.

[Thanks Chris Burrows (and nephew)]

Check out a video of the setup in action after the jump.

Continue reading “Automated Faucet Keeps Your Cat Watered”

RF Robot Controlled From A Terminal Window

This robot can be controlled from the terminal window of your computer. You can see a manilla-colored board mounted between the wheels. This is the RF receiver which has quite a long antenna that we’ve cropped out to get a better look at the bot itself. [Ashish] picked up an RF transmitter/receiver pair for about $4 and after the break you can watch him walk us through the method he’s using for control.

First off, he had to find a way to interface the transmitter with his computer. He decided to use an Arduino because sending data to it from the computer is as simple as writing to /dev/ttyUSB0. The Arduino sketch just listens for incoming characters on the serial connection and pushes them over the RF transmitter.

We like his development methods. In the video he shows the command syntax used to drive and stop the robot. Once he figured that out he wrote a shell script to send the bot on a preprogrammed square path. From there a bit more coding would give him real-time control which could be extended to something like a web-based interface for smartphone control.

Oh, and if you’re wondering about the bot itself it’s a kit robot which normally uses IR control. [Ashish] upgraded to RF since it doesn’t require line-of-sight to work.

Continue reading “RF Robot Controlled From A Terminal Window”

Turn A Logic Analyzer Into A Signal Generator Using Only Software

One thing we learned by watching [Alton Brown] on all of those Good Eats episodes is that a multitasker is way better than a unitasker. [Joost] is thinking along the same lines by taking a fantastic tool and adding a useful function to it. His software project turns a USB Saleae Logic Analyzer into a signal generator.

There are already a multitude of reasons to own one of these fantastic tools. But the ability to use it to generate up to 8 channels of PWM signals is a welcome addition. It is capable of producing frequencies from 1Hz up to 1MHz at a sample rate of 4 MHz. It uses the original SDK and doesn’t require any changes to the hardware (we would’ve thought new firmware was necessary, but happily that’s not the case). The one caveat is that right now this only works with Windows machines running the .NET version 3.5 or higher. It looks like an MSI installer package is all that’s available for download so the thoughts of easily porting this to other operating systems have been dashed unless [Joost] decides to share his source code.

Edit 7/12/2016: [Joost]’s webpage is down, but he moved it to Github.

Facebook Notifier Uses Some Papercraft And Simple Electronics

This weekend project will tell you when you’ve got something new to look at on your Facebook page (translated). The yellow flag on the side of the mini-mailbox automatically goes up, alerting you to your recent online popularity.

[Rocco’s] craftwork on this project is fantastic. We love the scale, the colors, and especially the artificial grass that adorns the base. Inside the mailbox an Arduino controls a small servo motor attached to the new mail flag. As with other Arduino-based notifiers (be it the Internet Furby, or our own troll sniffing rat) the USB connection makes it incredibly easy to convert online information to real-world signals. The client side of this is a Python script. It uses a package that we were previously unfamiliar with called mechanize. We’ve just made a cursory examination of how that package is used, but we’re going to keep it in mind as an alternative to our usual go-to package, BeautifulSoup, which tends to be a bit hairy when you’re just looking for some basic data.

Generating Pink Noise

[Miceuz] just finished his first surface mount electronics project. It’s a pink noise generator that is used for testing audio equipment (scroll down that link for the English version of his writeup).

Pink noise is somewhere in between red noise and white noise. Didn’t realize there were more colors than just white when it comes to noise? The benefit of testing with pink noise is that it the power of the audio signal is stable through each octave of sound – white noise increases in power with each additional octave which can damage the tweeters in a sound system.

The goal in this design was to build a noise generator that fit into an XLR connector. [Miceuz] started with an existing design, and altered it to suit his needs. Much like a condenser microphone, the pink noise generator uses phantom power instead of a standalone power source. For instance, the design he based this on required two 9v batteries. The size, the choice of case, and the absence of a battery all spell WIN for this project.

Simple Bench Power

When dealing with electronics you need 1 key thing, electricity. For quite a while now if I needed 5 volts I would just grab my homebrew arduino, but that is not always handy and its tethered to the pc and it does not have 3v. If I wanted 3 volts, now I am digging around looking for my UBW32 which does have 3v3 but now I have a 50$ microncontroller with very small regulators (so therefore only small loads) dangling around just for power, and its a mess.

So I need just a board that takes some DC from a wall wart and regulates it to usable voltages, and I set about to make it. This regulator board puts out +5, +3.3, variable and negative variable voltages, is pretty easy to make, and make a nice addition to the bench. (until I can get a real bench supply someday)

Now I know this is not ground breaking hackery, but I hope it helps someone out there, join us after the break to see what’s going on.

Continue reading “Simple Bench Power”

Sound Localization And A Treaded Rover

soundlocalization_and_a_robot

[Jad] recently wrote in to share a pair of projects that have been keeping him busy as of late.

The first is a sound localization system not unlike one we showed you a few weeks ago. The difference is that his system displays the sound source via a set of LEDs rather than by motion, making it far less prone to interference by things like servo noise. His system uses four identical circuits, each of which are wired to a separate analog input on the Arduino. Each channel is adjustable, making it easy to tweak how the system responds to a particular sound.

His second project is a sizable robot built on the Motoruino platform. His contraption features several stacked control boards that handle the bots locomotion as well as camera control. It connects to his computer via a Bluetooth module that boasts a 1 mile range, allowing him to control everything from his PC. [Jad] is using the robot as a prototype for a much larger scale creation, and he says that his current focus is getting the robot to track and follow objects automatically using the on-board camera.

Continue reading to see a small preview of his bot’s progress so far.

Continue reading “Sound Localization And A Treaded Rover”