Cheap cable reused to add USB to your project

Diablo

New member
usb-avr-connector.jpg


You get what you pay for. [Jkx] wanted to see how a USB to RS232 cable could be sold for just $1.70 and found out that it’s not actually RS232 compliant. The cable communicated as TTL levels, not the 12V expected of RS232 (although it can handle 12V incoming). He didn’t really want to use them for their intended purpose anyway. By betting rid of the DB9 plug and reusing the enclosed circuit board he now has a really cheap way to interface a microcontroller with the Universal Serial Bus. He worked out a couple of short subroutines that take care of receiving and sending data over the connection.


b.gif
 
Back
Top