Professional Documents
Culture Documents
Sms Ver 8
Sms Ver 8
Optional items
1) 1 x RS232 cable
2) 1 x Serial port (male) modular jack cable
Operation
When the incoming message is the same as Phonebook entry 1, output pin 5 would be
set to 0
When the incoming message is the same as Phonebook entry 2, output pin 5 would be
set to 1
When the incoming message is the same as Phonebook entry 3, output pin 6 would be
set to 0
When the incoming message is the same as Phonebook entry 4, output pin 6 would be
set to 1
When the incoming message is the same as Phonebook entry 5, output pin 7 would be
set to 0
When the incoming message is the same as Phonebook entry 6, output pin 7 would be
set to 1
When the incoming message is the same as Phonebook entry 7, output pin 8 would be
set to 0
When the incoming message is the same as Phonebook entry 8, output pin 8 would be
set to 1
Communication
Pins 1, 2, 3 and 4 of BX-24 are connected to the serial port of the computer.
Pins 9 and 10 are configured as Com3 at a baud rate of 19,200. They are connected to the
handphone. Since Pins 9 and 10 are TTL level serial interface, a MAX232 voltage
convertor is needed to convert them to RS232C level. See figure 1.
11 (TRin) 1 (Tx) 2
` 12 (REout) 2 (Rx) 3
2 13 (REin) 3 (ATN) 4
3 14 (TRout) 4 (Vss) 5
5 9 (input)
10 (output)
15 (Gnd) 23 (Vss)
16 (Vcc) Serial port
Serial port 21 (Vcc) (female)
(male) 24 (Vin) Connect to
Connect to computer
handphone MAX232CPE BasicX-24
Yellow
Green
Red
Black
Almost all digital devices which we use require either TTL or CMOS logic levels.
Therefore the first step to connecting a device to the RS-232 port is to transform the RS-
232 levels back into 0 and 5 Volts. As we have already covered, this is done by RS-232
Level Converters.
Figure 3 Pinouts for the MAX-232, RS- Figure 4 Typical MAX-232 Circuit
232 Driver/Receiver.
VCC (Pin 16) Power supply pin for the device, +5V (±10%).
T1IN, T2IN (Pins 11, 10) Driver input pins are TTL/CMOS compatible. Inputs of
unused drivers may be left open, an internal active pull-up
resistor (500 kW minimum, typically 5 MW) pulls input
HIGH. Output will be LOW for open inputs.
T1OUT, T2OUT (Pins 14, 7) Driver output pins conform to TIA/EIA-232-E levels.
R1IN, R2IN (Pins 13, 8) Receiver input pins accept TIA/EIA-232-E input voltages
(±25V). Receivers feature a noise filter and guaranteed
hysteresis of 100 mV. Unused receiver input pins may be
left open. Internal input resistor 4.7 kW pulls input low,
providing a failsafe high output.
R1OUT, R2OUT (Pins 12, 9) Receiver output pins are TTL/CMOS compatible. Receiver
output HIGH voltage is specified for both CMOS and TTL
load conditions.
General
Each pin on the BX-24 computer has a primary and alternate function as shown in the
table below. The primary function describes how the pin can be configured. The alternate
function describes how the pin is configured when BasicX built-in options are selected.
Note -- If regulated 5 V power is connected directly to VCC (pin 21), Vin (pin 24) can be
left unconnected.
Document History
Ver 8 13/04/2007 Page 3 Change pins 5 and 6 to pins 9 and 10
Add Serial port (male) modular jack cable diagram
01/05/2007 Page 1 Add SMS controller kit photo
Our goal is to provide information and parts. We test and investigate everything
we offer to make sure you have the knowledge you need to get your projects
working quickly and with the best possible results.