Pages: [1]   Go Down
Author Topic: TX/RX to Serial Port Interface  (Read 1880 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am new to Arduino development, so forgive me if this is very obvious, but is there documentation and/or a tutorial on creating an interface to a comm port. As I understand it there is a significant voltage difference between the two so there needs to be an circuit in between

thanks in advance  smiley
« Last Edit: August 01, 2006, 07:15:38 am by binarystar » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 16
Maker of BlinkM and blink(1), ScrewShield, Wiichuck adpater, and many other Arduino thingies
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, the USB port of the Arduino board looks just like a serial port to the OS, so if you're just hooking Arduino up to a computer, I'd recommend using its built-in functionality.

If you want to hook the Arduino up to something else that speaks RS-232 (the standard serial interace you're thinking of), then you do need a "level shifter" or "RS-232 transceiver" (pick your terminology).  The most common way to do this is with a MAX232 chip.  If you can breadboard circuits, you can whip up one using the MAX232 pretty quickly.

If you want something more robust, check out one of the various serial adapter boards like http://www.pololu.com/products/pololu/0126/

Note, if using a serial adapter board, you can't program the Arduino with anything hooked up to the RX/TX lines.  Be sure to disconnect your serial adapter before programming.
Logged

Pages: [1]   Go Up
Jump to: