Go Down

Topic: Using the USB bit of the NG for another project... (Read 1 time) previous topic - next topic

c0die

Jun 04, 2007, 02:07 am Last Edit: Jun 04, 2007, 06:56 pm by c0die Reason: 1
Hi,

I would like to add USB functionality to one of my PIC projects and I thought the best way of doing that would be to 'borrow' the USB bits of the NG circuit diagram  ::) I do have a few questions..

1- Am I missing out anything in the following circuit diagram? I tried to seperate the FT232 from the rest of the circuit, did I forget anything?

2- Can I just connect RTS# and DTS# to +5v (with the resistors)? Previously they connected to the RESET bit on the avr. What are these for?

3- What exactly is X3 (magenta circle)? is it just a wire link between CTS#, DSR#, DCD#, and RI# ?

circuit diagram:



I would appreciate any tips/suggestions/corrections.


Thanks  ::)

mellis

RTS and DTR are two of the hardware handshaking lines for the serial communication.  We've been trying to figure out a way to use them to automatically reset the Arduino board when you upload a new sketch (so you don't to press the reset button), which is why the resistors are shown on the schematic.  In fact, those resistors aren't mounted and you probably don't want to include them (you don't want those lines connected to reset).  The X3 that you've circled is just a group of 4 unused pads on the Arduino board - those signals aren't used for anything (and aren't connected together), but we wanted to break them out in case someone found a use for them.

c0die

Sorry I've neglected this thread, been a bit busy  ::)

Thanks for the clarification mellis, I'll make a prototype and see if I can get it working.



Cheers.

mrmeval

If you get it working you can use the
http://www.sparkfun.com/commerce/product_info.php?products_id=8165

Arduino serial USB board that has all those parts on it in a nice package

You could even use Processing to talk to the device or let the device talk to Processing.

It needs power ground TX and RX

http://www.arduino.cc/en/Guide/ArduinoMini


Quote
Hi,

I would like to add USB functionality to one of my PIC projects and I thought the best way of doing that would be to 'borrow' the USB bits of the NG circuit diagram  ::) I do have a few questions..

If it was designed by man it can be repaired by man.

mrmeval

#4
Jul 06, 2007, 10:10 am Last Edit: Jul 06, 2007, 10:11 am by mrmeval Reason: 1
Hrm. You could steal one of the digital pins and upon getting a magic number over the serial port the Arduino reboots itself. ;) It does eat up a smidge of code.

You'd have to alter the upload code of the arduino to send that string which is beyond my skills just now.

Quote
RTS and DTR are two of the hardware handshaking lines for the serial communication.  We've been trying to figure out a way to use them to automatically reset the Arduino board when you upload a new sketch (so you don't to press the reset button), which is why the resistors are shown on the schematic.  In fact, those resistors aren't mounted and you probably don't want to include them (you don't want those lines connected to reset).  The X3 that you've circled is just a group of 4 unused pads on the Arduino board - those signals aren't used for anything (and aren't connected together), but we wanted to break them out in case someone found a use for them.

If it was designed by man it can be repaired by man.

josheeg

I am making it into a surface mount pic 18 that can work with the open source great cows basic I like the avr but my dad argues for basic soo much I folded.

josheeg

UBW bit wacker I am looking at the eagle cad files and merging it and the Monolith eeg and the Arduno together to make a pic18 arduno kinda thing that runs great cows basic. Open source of course.

josheeg

Spark fun has a eagle cad tutorial making a USB FT232 board grab the eagle schematics and hook it to your UBW Bit wacker eagle files you can get from the website.  8-) ;D

Go Up