Discussion in "New Ideas regarding projects" started by    sandeepsasi    Feb 17, 2010.
Wed Feb 17 2010, 09:12 pm
#1
Hello Friends,

RS232 was a soft option for serial communication with the PC until the dawn of new laptops with no serial ports. Of course, we are aware of USB to serial converters. I feel they are not very reliable. They are still used to support those legacy projects. But when it comes to new designs; I say we better move on to USB.

Have a feeling that USB programming is hard? I too had the same feeling until I came across the VUSB project. If you are already aware of this one, then you may skip this thread. VUSB is a magic that transforms ordinary AVRs (ATTINY2313, ATMEGA8, etc) into a USB plug and play device. You need no additional hardware apart from a few zenner diodes and resistors. You can download and use the VUSB libraries for free!

Check this link: http://www.obdev.at/products/vusb/index.html

Now for the PC side programming, there is another project: libusb. A windows port of libusb is available at: http://libusb-win32.sourceforge.net.

Now I am back building PC powered projects. My first USB project: an RGB LED that can be controlled via PC. The PC application displays a color chooser window. The LED is set to the chosen color. It is built around ATTINY2313. I am attaching a few images and also a video. Please check them out.









Video:
Attachment


So, what are you waiting for? Go USB...!

Sandeep Sasi
([email protected])
 Ûž TPS Ûž like this.
Thu Feb 18 2010, 05:40 pm
#2
Hi Sandeep,

Very impressive this one..

should i add this to download section?
Tue Jun 01 2010, 12:32 am
#3
ultimate buddy... i would like to try code for it... i can write the code for avr.. but didn understood how u interfaced it with the paint(color selection )...
Tue Jun 01 2010, 07:01 pm
#4
its not paint. its a custom designed software what sends color code to AVR via serial.
Tue Jun 01 2010, 07:59 pm
#5
As Ajay said it is not paint.

Instead it is a simple java application. The color chooser you see
is the JColorChooser class of javax.swing package. The application interacts with
the WinUSB driver via JNI (Java Native Interfacing).

Anyway, thanks buddy. I almost forgot. I promised that I shall upload the code nearly six
months ago.
Tue Jun 01 2010, 08:11 pm
#6
Hi Sandeep,

welcome back again!

Well atleast you remind that you promised. many have forgot

Keep in touch!
Mon Jun 28 2010, 10:36 pm
#7
Nice A+++

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

JewelAmuck
Sun May 19 2024, 03:06 pm
Minniemus
Sun May 19 2024, 07:39 am
Andyhet
Sat May 18 2024, 07:28 am
BrettTibre
Fri May 17 2024, 06:14 pm
Gordonfax
Fri May 17 2024, 10:28 am
Davidspils
Fri May 17 2024, 10:19 am
Patricknoind
Fri May 17 2024, 09:53 am
JeremyCycle
Fri May 17 2024, 09:46 am