12 years ago.

RS232 interfacing

Hello mbed pros. I have a problem in connecting a RS232 interfacing to LPC1768. I want to transmit commands and video through RS232 to the microprocessor. Can I just solder an interfacing in serial with p28 & p27? Do I need a MAX3232 kind of things?

Best regards!

3 Answers

12 years ago.

I think that most PTZ controlled ( security ) cameras have usually 2 wire RS485 interfaces . So , I suppose you should go this way

mbed TX > ttl to 232 stuff > 232 to 485 stuff > PTZ controller or mbed TX > ttl to 485 stuff > PTZ controller

mbed TX output is 3.3 V level

check this out as well

http://mbed.org/questions/34/RS485-Are-pins-9-and-10-5V-tolerant-when/

Accepted Answer
12 years ago.

I assume that isnt too/from a computer? Because then you can simply use the USB interface.

Assuming it is another device: it depends. If it is real RS232 you will indeed require a MAX232 or similar. Sometimes however it is RS232 with TTL signal levels (UART), in which case you can directly connect it to the mbed.

It is a RS232 wire used to connect PTZ camera. I will program the mbed to convert from one portocol to another. So, I have to connect mbed to PTZ camera and controller with RS232.

posted by Neil Powell 07 Nov 2012
Neil Powell
poster
12 years ago.

It is a RS232 wire used to connect PTZ camera. I will program the mbed to convert from one portocol to another. So, I have to connect mbed to PTZ camera and controller with RS232. - Neil Powell posted about 13 hours ago