Pages: [1]   Go Down
Author Topic: Newbie question: interfacing with external serial devices  (Read 1097 times)
0 Members and 1 Guest are viewing this topic.
Stockelsdorf, Germany
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
as I know, the serial pins 0 and 1 are connected to the usb to serial converter on the arduino board (duemilanove in my case).

Is it possible to use these pins to communicate with an external serial device (19200 to 57600 baud read and write, ttl level) when the arduino board is not connected to the pc, or does the usb/serial converter chip has to be disconnected somehow?

Thanks!
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Very well possible, you may even keep the PC connected, and keep an serial monitor open to see the messages in one direction! But note that opening the serial monitor will reset the Arduino. I have used this many times for debugging.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Sr. Member
****
Karma: 2
Posts: 360
I'm 15. I like making things. I like breaking things better.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Also, if you need more serial ports, or want the arduino to talk to the computer at the same time, check out NewSoftSerial: http://arduiniana.org/libraries/newsoftserial/ always works great for me...
Logged

Alice asked the Chesire Cat, who was sitting in a tree, "What road do I take?"
The cat asked, "Where do you want to go?"
"I don't know," Ali

Pages: [1]   Go Up
Jump to: