RS 232 communication on propellor
faizzz
Posts: 7
Hi
i intend to connect three RS 232 links to my propellor for an application im developing. Could anyone please assist me regarding the possible circuitry and the programming involved. How many pins do i need to allocate on the propellor. Would using just two pins for RX and TX suffice?
Regards
faizzz
i intend to connect three RS 232 links to my propellor for an application im developing. Could anyone please assist me regarding the possible circuitry and the programming involved. How many pins do i need to allocate on the propellor. Would using just two pins for RX and TX suffice?
Regards
faizzz
Comments
You can use a max232 and put 1k resistors in series between it and the prop. These are because the max232 is run on 5V. The resistors go on pins 9 and 12 of the max232.
OR you can use a max3232 which runs on 3V, doesn't need those resistors (but is a bit harder to get and costs a little more).
Each max232 will give you two serial ports. Three serial ports will need a couple of max232 chips.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
Unless you need flow control, you only need two pins for each link.
UART software is in the Object Exchange.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
btw, one more thing i wanted to ask:
would it be better in your view to use the prop plug and convert USB to RS 232, to connect to the computer for code transfer, or interfacing an RS232 to have a simple RS232 transfer?
Regards
And thank you once again! [noparse]:)[/noparse]
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM