AvrUsb500 - an open source Atmel AVR Programmer, stk500 V2 compatible, with USB interface

The author spend 4 months coding everything from scratch. The result was however worth the effort. This new programmer works flawless and it’s a diy project. The programmer firmware has no device dependent data. Therefore it works for almost any AVR microcontroller on the market and possible future microcontrollers.

This USB programmer can be build from scratch without the need of another programmer to load the initial firmware.  The firmware is open source and programmed in C according to the AVR068 specification from Atmel.

AvrUsb500 - an open source Atmel AVR Programmer: [Link]

USB interface adaptor for R/C simulator

This is an USB interface cable for R/C simulator. The device looks like a standard HID joystick for operating system and converts up to 8 PPM channels from transmitter into joystick axes and optionally - buttons. If you know about radio controlled models and their PC simulators like FMS, Aerofly Pro Deluxe, RealFlight G2/G3 and Reflex XTR, and if you are an owner of PPM transmitter box then you definitely know how to use this device.

Basically this is a project for R/C models enthusiasts and it’s helping them simulating the control of their device.

USB interface adaptor for R/C simulator: [Link]

U-Disp - USB controlled display

The u-disp is an Open Source project consisting of two parts. The first part is a circuit board with eight seven-segment displays,a micro controller and an USB interface to connect it to your computer. The second part is a software that runs in the background as a Windows Service on the computer.

The software collects information from your computer and/or external sources like Digg.com, your web sites hit counter or some stock values. This information is then shown on the display(s).

At the moment this looks a bit more advanced than Bob’s Display that i was intending to build, so I’m not sure which of them I’m gonna build, but I’m gonna make one for sure. I just need to study a bit more their projects.

U-Disp - USB controlled display: [Link]

USBTenki: Versatile USB Sensor

USBTenki is an electronic project to interface sensors to an USB port for collecting weather related data such as temperature. The firmware supports many different sensors and interfaces. It is up to you to decide what your USBTenki will support.

I consider the project useful but i don’t seem to have any practical application around me. i really looked for one, because the project is easy to build and i would of liked to make on, but since i cannot find an application for it, I’m gonna skip it.

USBTenki: Versatile USB Sensor: [Link] - [Via]

AVR Butterfly is an evaluation tool demonstrating the capabilities of the latest AVR Technology. The tool is shipped with preloaded firmware supporting temperature sensing, light measurement, voltage readings and music playback. The AVR Butterfly is controlled by an ATmega169.

It’s basically the cheapest development board on the market, $21.28 as we’re speaking at Digikey. I choose to start with the AVR Butterfly because it is also featured in all examples in the tutorial I’m reading. The tutorial is easy to follow and i recommend it if you want to start programming AVR’s in C language. You can find it at SmileyMicros.

The tutorial contains all you need to now, but some things are not entirely covered, and other things present incompatibility issues.

When ordering the Butterfly its also a good idea to order some pin headers because they are not included. When you take the Butterfly out of the box it should look like this:

avr-butterfly-out-of-the-box

Now it would be nicer if they would of included those pin headers in the package. And here is my Butterfly after i soldered the pin headers.

avr-butterfly-with-pin-headers-soldered

Another thing that i noticed about this step, is that my Butterfly doesn’t have the LDR, it seems that this version only comes with the NTC soldered on the back, which is also an analog sensor and it should be enough for developing code with analog sensors.

The next important thing that you need to solder is the RS232 cable, because the communication between the computer and the Butterfly is done via RS232.

Hers is a picture of my cable, and how it should be done. (disregard the connector i used, its taken from an old computer case, that’s why its saying turbo sw).

avr-butterfly-with-pin-headers-soldered1

Notice how the RXD and TXD from Butterfly are reversed on the RS232 connector ? That’s because what you transmit here has to be received there. Pay attention on soldering this connector, you will avoid future headaches. But what if you don’t have an RS232 connector on your computer ? the answer is simple you buy a RS232 to USB converter cable, like i did:

usb-to-rs232-converter-cable

I could of done myself the cable using the schematic from this article, but the parts cost more than a commercial cable, not to mention the hours you put in fabricating.

Now about the battery, the onboard CR2450 isn’t gonna last too long with the projects that you’re gonna work with. So its best to build an external power supply. I build mine with 2 x AA-R6 battery holder.

2xaa-battery-external-power-supply-for-avr-butterfly avr-butterfly-with-pin-headers-soldered-and-power avr-butterfly-with-external-power-connected

From this step on, you can approach things two ways, either use a breadboard or fabricate PCB’s. I don’t have a breadboard so i had to make pcb’s. Basically its just a board with 8 LED’s, 8 current limiting resistors and some headers for linking it to the Butterfly.

here is the Eagle schematic and board file.

details on how to fabricate the PCB are covered in my DIY PCB Tutorial.

Here are a couple of pictures with the board after being etched and after being assembled. The 8 LED board is going to be used with the Blinky Project.

boards-after-beeing-etched 8-led-board-after-beeing-assembled

I also did two small PCB’s for driving an RGB LED, one for a CA version and one for CC version.(Common Anode and Common Cathode). I will use this boards later when i will be experimenting with PWM control.

Here are the RGB LED boards assembled.

rgb-led-with-current-limitting-resistor

And to end this article here is a picture with the USB to RS232 cable connected to the AVR. Now all i have to do is read and learn the next 300 pages from the tutorial.

usb-to-rs232-cable-connected-to-the-avr-butterfly-running-from-external-power-source

Now i started working on a lab power supply, i could of just buy one but its more fun to build it. Here is a picture where i just started the assembly. The project should be up soon at my personal projects page.



© 2008 YourITronics | Any logo, trademark and project represented here are property of their respective owners | Wordpress                                       RSS