Max232 potoboard interface
Ole Man Earl
Posts: 262
Here is a how-to for interfacing a Parallax PROTO board to a PC's serial port.
Parts:
1 - MAX232
4 - 10 uf Electrolitic Caps 5vdc or larger
1 - Parallax proto board
1 - 9 vdc wall wart for powering protoboard
Pinouts:
Max232 and DB9 Pins:
16 > Protoboard 3.3 vdc
15 > Protoboard VSS (Ground)
14 > Pin 2 of DB-9 Female Connector· for PC serial port
13 > Pin·3 of DB-9 Female Connector· for PC serial port
12·> Protoboard P31 TTl TX
11 > Protoboard P30 TTL RX
9··> Protoboard·USB2SER pin 4 (reset pin)
8· > Pin 4 of DB-9 Female Connector· for PC serial port
1 <> 3·· 10 uf Cap + on pin 1
2 <> 16· 10 uf Cap + on pin 2 .... neg of Cap on Pin 16 (3.3 vdc vcc)
4 <> 5··· 10 uf Cap + on pin 4
6 <> 15·· 10 uf Cap + on pin 15
Pin·5 of DB-9 Female Connector· for PC serial port <> Pin 15 of MAX232 (Ground)
Thats it ! Simple aint it !
The max232 level converter chip normally runs on 5 VDC but is quite happy with the 3.3 vdc cmos levels.
Parts:
1 - MAX232
4 - 10 uf Electrolitic Caps 5vdc or larger
1 - Parallax proto board
1 - 9 vdc wall wart for powering protoboard
Pinouts:
Max232 and DB9 Pins:
16 > Protoboard 3.3 vdc
15 > Protoboard VSS (Ground)
14 > Pin 2 of DB-9 Female Connector· for PC serial port
13 > Pin·3 of DB-9 Female Connector· for PC serial port
12·> Protoboard P31 TTl TX
11 > Protoboard P30 TTL RX
9··> Protoboard·USB2SER pin 4 (reset pin)
8· > Pin 4 of DB-9 Female Connector· for PC serial port
1 <> 3·· 10 uf Cap + on pin 1
2 <> 16· 10 uf Cap + on pin 2 .... neg of Cap on Pin 16 (3.3 vdc vcc)
4 <> 5··· 10 uf Cap + on pin 4
6 <> 15·· 10 uf Cap + on pin 15
Pin·5 of DB-9 Female Connector· for PC serial port <> Pin 15 of MAX232 (Ground)
Thats it ! Simple aint it !
The max232 level converter chip normally runs on 5 VDC but is quite happy with the 3.3 vdc cmos levels.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
for the "charge-pump" connections on the Max232?
I would have figured something like .1uf ceramic would have been used there.
Good post, needs a good diagram.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 7/1/2008 4:31:35 PM GMT
The MAX232 does require 10uF "monsters" - the MAX3232 on the other hand specifies .01 uf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
By freehand...I mean with a non-function specific computer drawing program
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
I used schematic drafting software to do the circuit.
Praxis
100 nF (0.1 uF) actually!
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Beautiful. Thanks.
opps, good catch.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
First of all, I believe in the serial (vs USB) type of interface. P30 should be pulled high. A resistor value of around 4.7k to 10k should suffice.
Second. Here's an excerpt from a thread I participated in back from 2006. It describes the requirements for the DTR signal.
and the reply from Chip....
Hope that helps!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board