Go Down

Topic: Serial to USB with standalone Atmega (Read 1 time) previous topic - next topic

gnusmas

Hey

I want to create a serial to USB converter board that will work with my temperature sensor. Now I have programmed my arduino UNO board and the temp sensor works perfect. I use processing with the serial output data from the arduino board. Now I want to program a blank Atmega IC with my sketch so I dont have to use the dev kit the while time, that is not my issue, the issue I have is to take the serial data out from the atmega to the computer. my plan is to take TXD and RXD pins (Which is the serial output pins) to a FTDI chip and from the FTDI chip to a USB shield and the BAM I got myself a complete unit. Obviously it wont be as easy as I just said but I just want feedback on my idea.

What do you guys/girls think???

Any suggestions/comments are welcome

Thanks :)

johnwasser

How would your "Serial to USB Converter Board" work differently from a $3 USB to Serial cable?

http://www.ebay.com/sch/i.html?_nkw=usb+uart+ttl&_sacat=0&_odkw=usb+to+serial+converter&_stpos=01754&LH_BIN=1&_sop=15&gbr=1&_fcid=1&_osacat=0&_clu=2
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

GoForSmoke

http://www.obdev.at/products/vusb/index.html

If you can go from a tiny directly to USB HID, you should be able to do at least as much with a 328P.

Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

gnusmas


How would your "Serial to USB Converter Board" work differently from a $3 USB to Serial cable?

http://www.ebay.com/sch/i.html?_nkw=usb+uart+ttl&_sacat=0&_odkw=usb+to+serial+converter&_stpos=01754&LH_BIN=1&_sop=15&gbr=1&_fcid=1&_osacat=0&_clu=2


It would be all on one pcb :), i know there is already cables like that for serial to USB conversion, but i want a compact system and probably the biggest reason is, I like to design my own stuff :).


GoForSmoke

V-USB should give you the tools you need then.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

Erni

#5
Apr 16, 2012, 01:39 pm Last Edit: Apr 16, 2012, 01:41 pm by Erni Reason: 1
You could use the converter John refers to, and glue/solder an Attiny85 on top of it, that would be compact !

http://www.ebay.com/sch/i.html?_nkw=usb+uart+ttl&_sacat=0&_odkw=usb+to+serial+converter&_stpos=01754&LH_BIN=1&_sop=15&gbr=1&_fcid=1&_osacat=0&_clu=2

Go Up