Pages: [1]   Go Down
Author Topic: Arduino "Standalone" Serial Issues  (Read 1065 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I built the "Standalone" version at:
http://www.arduino.cc/en/Main/StandaloneAssembly

I've been unable to get serial comms working at all. I took it to an experienced engineer and he said that the 7404N chip was inappropriate and that something like a MAX232N should work instead.

1) Should I dump the 7404 in favor of the MAX232N?
2) If not, any thoughts on what I might be doing wrong? I've triple checked pinouts, connections, etc.
3) If I should swap, what might the new schematic look like? He said I'd need several capacitors for the 232 but I'm not sure just where they'd go.

Thanks!
« Last Edit: April 05, 2007, 06:39:31 am by zvsmedia » Logged

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That schematic you linked to has a mistake - the inverter on RXD is hooked up backwards.

The 7404 is just an inverter.  RS232 uses both inverted levels and different voltages than TTL.  The 7404 takes care of the levels, but the MAX232 will take care of the voltages as well, producing the -12 and +12 levels needed by rs232.

There is a version of RS232 that will operate on 0V/+5V.  This circuit _could_ work depending on the particular serial port you connect to.

There is also a game you can play with some transistors and "steal" the RS232 levels from the device you're interfacing with (see http://www.arduino.cc/en/Main/ArduinoBoardSerialSingleSided).  This is cheap and usually works, but I have had occasional problems with that method.

To have some thing that will work well, get the MAX232.  There are other devices that do the same thing, but the MAX232 is the most common.  The MAX233 will let you dispense with the capacitors, but it costs a lot more than the MAX232.

-j
« Last Edit: April 05, 2007, 06:08:12 pm by kg4wsv » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I did catch the mistake on the transposed pins, but everything you've said confirms exactly what my helper said as well. I found this schematic:



Does this look about right?

Thanks!
Logged

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, I think that one will serve you well.  I've probably built more of those than any other circuit.  smiley

-j
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks much!
Logged

Pages: [1]   Go Up
Jump to: