by winfai » Tue Mar 22, 2011 2:52 pm
Hi Allen,
Thanks for your reply again... Let me double check with you, there are two RS232 to TTL convertor in MAX232 such as
1. Pin 11 dan 10 are input UART atau UART Transmit,
2. pin 14 dan 7 are output RS232 atau RS232 Receive.
3. Pin 12 dan 9 are output UART atau UART Receive.
3. pin 13 dan 8 are input RS232 atau RS232 Transmit.
If i want to convert from RS232 to TTL (in order to interface with SKXBEE), I must have (UART TX, RS232 RX, UART RX, RS232 TX)
I have RS232 signal to convert to TTL, following is the pin that related to MAX232 connection...
RS232 (DB9) = pin 2 and pin 3 (RX, TX) , pin 5 ground
TTL (SKXBEE) = TX, RX, 5V and ground
My idea now (to convert from RS232 to TTL, so pin 11,12,13,14 on MAX232 has to be chosen)
RS232 (DB9, pin 2, RX)>>>> pin 14 on MAX232 >>> pin 11 on MAX232>>> TTL, 5V, TX
Note: less important, as there are no receive data at RS232 as UART,TX will not output any signal, more appropritae to write in following way
RS232 (DB9, pin 2, RX)<<<< pin 14 on MAX232<<<<pin 11 on MAX232<<<TTL, 5V, TX
RS232 (DB9, pin3, TX)>>>> pin 13 on MAX232>>> pin 12 on MAX232>>> TTL, 5V, RX
Note: Most important , as the data will be transmitted from this pin and it will go to RX of SKXBEE...This is what i cater for as the received data will be transmit out via SKXBEE....
What i know is for connection of RS232 and UART must be "terbalik" that mean RX, UART to TX, RS232 and TX,UART to RX, RS232.... If i am wrong in the connection above, can someone help me to correct it??? I am really appreciate it.... I am confusing with the connection....
Another important question is, will the LED on the RX will be light on for SKXBEE if there are data been received??? I read the manual and it say that only USB data received will light the LED..... As i am interface using UART pin on SKXBEE...???
thanks in advance