2. Voltage supply of the serial interface
The RC Computer Clock is a battery operated RC clock which is powered by two 1.5V cells. This ensures a battery life of approximately two years. The voltage supply of the serial interface is independent of these batteries.
The RS232 serial standard interface consists not only of the serial input (RxD) and output (TxD) lines but also some additional lines which are used in some applications for handshaking purposes, the RC Computer Clock uses these additional lines to supply its internal serial interface circuit with the required electrical voltage. These additional lines are not needed for data exchange.
The RC Computer Clock requires both a positive and a negative voltage out of the PC's serial interface. The positive voltage is supplied by the DTR line.
There are two ways of providing the negative voltage:
a) The PC "communicates" with the RC Computer Clock by sending ASCII characters to the RC Computer Clock as described below (see 5.). This allows the negative voltage to be provided by the TxD line. When the PC sends characters this line is toggled between a positive and negative voltage level. If the PC is waiting for the RC Computer Clock to reply the TxD line is always low at a negative voltage. The RC Computer Clock does not need the TxD negative voltage while receiving characters only while sending.
b) The RC Computer Clock can be triggered to transmit the time/date information by pulling the data input line to high voltage level as described below (see 3.3). This line must be held high until the data transmission out of the RC Computer Clock has begun. Therefore it cannot supply the negative voltage. The possibility exists to supply the negative voltage out of the RTS line. This line must be set to low level by the programmer who wants to cause the RC Computer Clock to transmit the time/date information by holding TxD at high voltage level.
|