Motion Detecting Window Closers Keep Train Noise At Bay

motion_detecting_window_closers

[Ed Rogers] has the unfortunate privilege of living right next to a set of train tracks, and as a man who holds his sleep in high regard, he needed to find a way to keep the noise in his bedroom to a minimum. To combat the sound of passing trains, he built himself a system that automatically closes his windows when a train passes by his apartment.

The setup relies on a web cam, which uses motion-sensing software to detect a passing train. The video is analyzed by a computer in his room which passes a message to an Arduino when a train is near. The Arduino then sends a pair of window mounted linear actuators into action, slowly (and quietly) shutting his windows.

The linear actuators move pretty slowly as you can see in the video below, but we doubt that matters. Since it looks like [Ed] lives in a slow zone, it likely takes quite a bit of time for a freight train to pass, making the 40-second closing period more than reasonable.

Continue reading “Motion Detecting Window Closers Keep Train Noise At Bay”

Transformer-based PSU Repair

Repairing someone else’s design mistakes is much more difficult than starting from scratch. So whenever we come across someone who’s good at this type of trouble-shooting we pay attention. [Jim] had a Sangean HDR-1 in his home. It’s a tabletop HD radio that stopped powering up for some reason. He cracked it open and got to the bottom of the problem.

The first order of business is disassembly, which isn’t too hard with this model. With multimeter in hand he started probing the transformer and found that the contacts for the primary are an open circuit; signaling a problem. There’s no inline fuse for protection, and further study of the secondary winding let him to discover the use of 1N5817 diodes. These are underrated parts for this particular transformer. He replaced them with 1N4003 diodes to bring the device in spec. But there was still the issue of fuse protections. A bit of circuit free-forming allowed him add a fuse and varistor  by soldering the directly to the transformer’s contacts.

Why stop there? While [Jim] had the case open he also swapped out the low-end op-amp and a few electrolytic capacitors to improve the sound quality of the radio. Op-amp replacement seems to be a popular way to improve the sound from HD radios.

Get The Lead Out Of The Arduino Compile Process

Relief is here from long compile times when developing firmware for your Arduino project. [Paul] was puzzled by the fact that every file used in a sketch is fully recompiled every time you hit upload–even if that file didn’t change. To make things more confusing, this behavior isn’t consistent across all Arduino compatible hardware. The Teensy has an additional feature not seen when working with other hardware boards in that it reuses previously compiled code if nothing has changed. It even tells you which files are being reused, as shown in the image above.

After the break we’ve embedded [Paul’s] video that walks us through the process of editing the Arduino IDE to reuse previously compiled files. It’s a one-liner addition to the boards.txt file. For example, if you’re working with the Arduino Uno all that needs to be added is ‘uno.build.dependency=true’. [Paul] had previously submitted a patch to roll this into the Arduino IDE source code, but it was not accepted citing a need for more testing. He’s asking for help with that testing and wants you to post your thoughts, or any bug information, on the new issue he’s opened regarding this feature. Continue reading “Get The Lead Out Of The Arduino Compile Process”

Android Phone Serves As Arduino Terminal

Looking to use his Arduino when on-the-go, [Oleg] has been working on a way to use the Android ADK terminal emulator with the Arduino. The Android side uses ADK features along with a custom application. [Oleg] received help from his friend [Victor] when developing the program for Android (you can check out our own Android Development tutorials if you’re interested in learning how this is done). The .apk file is available for download, but they’re waiting to release the source code until they can clean it up and get some of the gnarly bugs out of the beta version.

A USB host shield for the Arduino is needed to connect to an Android hand set. You’ll be able to send and receive strings via the terminal, with support for carriage return and life feed characters. Unfortunately this doesn’t allow you to change, compile, or write sketches to the Arduino. But it might come in very handy when trouble shooting a project when a computer is not around, or just for using an Android phone as an output.

Upload Firmware Over Ethernet

The team at Wicked Device has been working on working on a way to upload Arduino sketches over Ethernet for the Nanode and Arduino Ethernet boards. The team has gotten far enough along to show the world, and the new boot loader shows a lot of promise.

A new boot loader was needed to perform this magic. The boot loader sets up a TFTP with a server over DHCP or a static IP. An unmodified .hex file is downloaded from the server and the sketch starts up. The team is still working on a way to push new apps to the board over Ethernet, but that feature is expected to be completed sometime soon.

Booting over Ethernet isn’t a new idea – TFTP was proposed for this very purpose. Because Wicked Device’s Ethernet-enabled boot loader only works over a local connection and requires a press of the reset button, it should be considered an alpha build. That being said, the boot loader works as advertised, so check out the demo video after the break.

Continue reading “Upload Firmware Over Ethernet”

Recycled Clock Spins Round And Round To Tell Time

pop_bottle_recycled_clock

[duckcrazy] recently shared the details on a clock he built, using recycled components to tell time.

He began his project by dismantling a handful of carefully selected pop bottles and an old clock. The bottom and midsection of the bottles were saved, and he verified that they could be easily inserted within one another. The base of the clock is made up of a CD, on which the clock’s motor components were mounted.

He constructed two open paper cylinders bearing hour and minute designations, then glued the respective clock hands inside. The cylinders and clock hands were re-mounted onto the clock’s motor, and the entire thing was enclosed within the pop bottles.

It’s a novel way to build a clock, and moving beyond the plastic bottles and paper for a moment, there’s a lot of potential for some even cooler designs based on his work. We imagine that laser-etched cylinders powered by a micro and a continuous rotation servo would be pretty sweet, though that’s just the tip of the iceberg.

Use Droid Bionic As A Mobile Hotspot Without Paying Extra

Apparently Verizon customers are expected to pay for a second data plan if they want to be allowed to use a cellphone as a mobile hotspot. This means one data plan for the phone, and a second for the tethering. [DroidBionicRoot] thinks this is a little silly since there is already a data cap on the phone’s plan. But he’s found a way around it if you don’t mind rooting the phone to enable free tethering.

Not surprisingly it’s a very simple alteration. The phone is already capable of tethering, to enable the feature without Verizon’s permission just edit one database value. In the video after the break, [DroidBionicRoot] starts the process with a rooted Droid Bionic handset. He purchases an app for $2.99 which allows him to edit SQL databases on the handset. From there he navigates to the ‘Settings Storage’ database and changes the ‘entitlement_check’ key value to 0. Reboot the phone and tethering is now unlocked.

Continue reading “Use Droid Bionic As A Mobile Hotspot Without Paying Extra”