Do You Know What You’re Doing When Integrating PC-side Apps With USB Microcontrollers?

The advent of integrated USB peripherals in microprocessors (PIC, AVR, etc.) has certainly taken a lot of the work out of developing USB devices, not to mention reducing the silicon parts in these designs. But do you know what you’re doing when it comes to controlling them with user-friendly applications? [Simon Inns] is lending a hand with this in his recent tutorial. He shows how to use USB capable AVR chips along with your own Windows applications.

After the break you can see the video from which the above screenshot was captured. That’s a development board of his own making which hosts an ATmega32U4, as well as a USB-B port, LEDs, potentiometer, and a few switches. Taking a closer look, we love the breadboard friendly headers he used on the bottom of the board to break out all of the pins.

His demo shows the Windows app turning LEDs on the board on and off, as well as ADC data displaying the current potentiometer position with the onscreen dial. His code package includes the hardware design, firmware, and app software needed to follow along with what he’s doing.

Continue reading “Do You Know What You’re Doing When Integrating PC-side Apps With USB Microcontrollers?”

3G Connected Hotspot Hangs Out At Your House

[Drug123] made the most out of this inconspicuous gray box on the gable end of his father’s home. It serves up a 3G Internet connection that was otherwise unavailable..

The project idea was sparked by the absence of wired or fiber optic broadband in the community where his dad lives. He knew some neighbors were using 3G connections, but he couldn’t get it to work inside the house. So he set about developing an external installation that would both communicate with the cellular network, and provide a WiFi connect to it. Hardware for that is relatively expensive; a USB 3G modem and a WiFi router with a USB port.

The box itself is made of plastic, but even without the Faraday cage effect that would have been formed by using a metal housing, the 3G modem’s internal antenna just doesn’t do the job. You can see that [Drug123’s] solution was an external antenna which is mounted at the peak of the roofline. Inside the box there’s an exhaust fan to cool things off when they get too hot, as well as some power resistors which provide a heat source on the coldest nights. The low-cost build certainly fits the bill, and it’s not too hard on the eyes either.

Automated CD Ripper Build From Lego And Other Parts

[Paul Rea] decided it was finally time to get rid his CD and DVD library by ripping the data onto a hard drive. He has a rather extensive collection of discs and didn’t relish the thought of ripping them one at a time. So he set to work building his own automatic CD ripper/duplicator.

Right off the bat he had several specifications for the build. He wanted it to be platform independent, reliable, and cheap to build. We think he really hit the mark, but he does mention that he’s got a second duplicator build in mind already. This version makes heavy use of Lego parts for the arm and gearing. The base has a stepper motor which swings the arm in an arc which reaches the input pile, the optical drive try, and the output bin. The arm itself has a two-part wooden gripper that is positioned over a CD and uses a limiting switch to sense when the vertical orientation is at the proper point for gripping a disc. We enjoyed reading his log as he discusses the various building challenges he encountered and how each was overcome.

We’ve seen a few other builds like this before. One of our favorites is from way back.

Continue reading “Automated CD Ripper Build From Lego And Other Parts”

Cellphone Battery Booster Built At The Checkout Counter

When you’re away from home and your cellphone runs out of juice it can be a real downer. Sure, you could find a store and buy a wall charger, but wouldn’t it be more fun to build your own battery booster without using tools? [Spiritplumber] did just that, popping into a Radio Shack for the parts, then making his how-to video (embedded after the break) while standing at the checkout counter. You can see he hust set his camera on top of the battery display case and got to work.

He’s using four D cell batteries to provide 6 volts of power. Assuming your phone charges at 5 volts this is going to be just a bit too high, even though there’s some tolerance with most phones. To overcome that obstacle he added a diode to the circuit, taking advantage of the 0.7 volt drop that it brings to the mix. Grab a plug adapter for your model and then just hand twist the connections. [Spiritplumber] admits it would be better to solder these, but in a bind you can get away with it. We looked up some prices for this method and we figure this would cost around $18 (batteries included) depending on the price of the plug adapter for your phone.

Of course if you’re just looking for a way to charge your phone without paying consumer prices there are ways of accomplishing that as well.

Continue reading “Cellphone Battery Booster Built At The Checkout Counter”

Synthesizing Sound With A Light Sensitive Pen And CRT Television

Here’s the latest project from [Niklas Roy’s] workshop. Lumenoise is an audio synthesizer controlled by drawing with a light-sensitive pen on a CRT television.

The pen is a self-contained module which connects to the TV via audio and composite video RCA plugs. Inside the clear pen housing you’ll find a microcontroller which generates the audio and video. The business end of the pen contains a phototransistor which lets the ATmega8 take a reading from the video screen. Since the chip is generating that video signal, it’s possible to calculate the pen tip’s position on the screen and modulate the sound output based on that data. You can watch a recording of the results in the video after the break.

This is a very simple circuit to build, and [Niklas] makes the point that most of us have a CRT hanging around in a dark corner somewhere. We think this would be a fantastic soldering project to do with the kids, and that this would be right at home as a children’s museum piece because of the wow factor involved in playing around with it.

We can really tell from this and some of his past projects that [Niklas] just loves the 8-bit audio.

Continue reading “Synthesizing Sound With A Light Sensitive Pen And CRT Television”

Wii Remote Controling The Vehicle You’re Riding In

Make sure your health insurance premiums are all paid up; if you decide to replicate this project you may need it. [Corey], [Kris], and [Jess] built their own go cart which is controlled with a Wii remote. The website has a poor navigation scheme, but if you hover over the horizontal menu bar you can get quite a bit of information about the build.

The cart has two motors which use a chain to drive each of the rear wheels. A pair of H-bridge controllers let the Arduino interface with them. It’s also has a Bluetooth module that makes it a snap to pull accelerometer data from the Wii remote. The front end looks like it uses rack and pinion steering, but you won’t find a pinion or a steering column. Instead, a linear actuator is mounted parallel to the rack, moving it back and forth at the command of the Arduino.

We can’t help but think back to silent movies where the steering wheel comes loose in the middle of a car chase. See if you get the same image while watching the demo after the break. This doesn’t seem quite as dangerous as adding remote control to a full-sized automobile, but we’ve played MarioKart Wii before and know how lousy the accelerator performance can be. Hopefully the firmware kills the motors if the batteries in the controller die.

Continue reading “Wii Remote Controling The Vehicle You’re Riding In”

Ants Duke It Out In The AI Challenge

All of those orange, cyan, and yellow dots represent digital ants fighting for supremacy. This is a match to see who’s AI code is better in the Google backed programming competition: The AI Challenge. Before you go on to the next story, take a hard look at giving this a try for yourself. It’s set up as a way to get more people interested in AI programming, and they claim you can be up and running in just five minutes.

Possibly the best part of the AI Challenge is the resources they provide. The starter kits offer example code as a jumping off point in 22 different programming languages. And a quick start tutorial will help to get you thinking about the main components involved with Artificial Intelligence coding.

The game consists of ant hills for each team, water as an obstacle, and food collection as a goal. The winner is determined by who destroyed more enemy ant hills, and gathered more resources. It provides some interesting challenges, like how to search for food and enemy ant hills, how to plot a path from one point to another, etc. But if you’re interested in video game programming or robotics, the skills you learn in the process will be of great help later in your hacking exploits.