Pages: [1]   Go Down
Author Topic: Using the USB bit of the NG for another project...  (Read 1699 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Newbie
*
Karma: 0
Posts: 2
hunny!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  :smiley 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  :smiley
« Last Edit: June 04, 2007, 11:56:12 am by c0die » Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

UK
Offline Offline
Newbie
*
Karma: 0
Posts: 2
hunny!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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



Cheers.
Logged

Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  :smiley I do have a few questions..
Logged

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

Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hrm. You could steal one of the digital pins and upon getting a magic number over the serial port the Arduino reboots itself. smiley-wink 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.
« Last Edit: July 06, 2007, 03:11:27 am by mrmeval » Logged

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

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
Arduino rocks but a Arduno bot can roll!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
Arduino rocks but a Arduno bot can roll!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
Arduino rocks but a Arduno bot can roll!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: