newbie need some light :) ...
darko
Posts: 5
Hi , I just start on your world [noparse]:)[/noparse]
I have buy an LCD Parallax SERIAL (27977).
i need to use this LCD with the COM1 for C++ application .
But evrywhere i look the wiring is not the same ...
I have 2 x 5V and 2 x RX so i dont know the one i need ...
I have plug the 5v and the ground . and i use the PIN 3 of my DB9 to one RX but when i send some Data i have kind of : 2$^m
I have buy an LCD Parallax SERIAL (27977).
i need to use this LCD with the COM1 for C++ application .
But evrywhere i look the wiring is not the same ...
I have 2 x 5V and 2 x RX so i dont know the one i need ...
I have plug the 5v and the ground . and i use the PIN 3 of my DB9 to one RX but when i send some Data i have kind of : 2$^m
Comments
2) You may need an RS232 to +5V level converter. A MAX232 or equivalent chip will do this for you. If you choose this method, you should follow the manufacturer's examples and sample circuits.
3) In this simple case, you may be able to use just a 22K resistor between the LCD display's serial input and the DB9 pin 3. This resistor will protect the LCD display and reduce the voltage.
4) You still have to properly initialize the C++ serial port for the Baud needed by the serial LCD (set by switches - read the documentation).
I thought i had 1 RX for TTL and 1 for RS232 ...
The only way to test the input circuitry is to try it in a proper circuit.
2) The two RX connections are the same. They're connected together.
So you think is Dead ? ...
You could test it with either a MAX232 or the series resistor I mentioned. If you use the series resistor rather than the MAX232, you'll need to invert the comm port signal when you configure it. RS232 uses a negative voltage for 1 and a positive voltage for 0. The display uses +5V for 1 and 0V for 0. The resistor (and the protective diodes internal to the microprocessor on the display) will limit the negative voltage to 0V and the positive voltage to +5V so the logic will be inverted. The MAX232 includes the necessary inverter.
the online shop says
"This device can be connected to a PC serial port using a MAX232 line driver.
The circuit isn't supported by Parallax, but it's possible to make this connection with a few dollars of parts."
@Parallax: I think it would be very good to revise the manual and add a specification of the serial interface
that it expects TTL-voltage-level
AND add even a small circuit showing a standard MAX232-cicrcuit how to interface to PC-voltage-level +-12V
best regards
Stefan
so i think the best is to use a MAX232 [noparse]:)[/noparse]
Thx for all your reply.