TK-102 Traker pinout
Pin | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
---|---|---|---|---|---|---|---|---|
GSM modem | +5V | +5V | +5V | TTL RxD | TTL TxD | TTL serial GPS output | GND | GND |
PROGRAMMING | +5V | +5V | +5V | TTL TxD | TTL RxD | TTL serial GPS output | GND | GND |
Pin count starts from the left side.
PC Connection
Using a USB 2.0 to UART TTL converter i was able to communicate with my TK-102.
This TK-102 is based on 89LE58RD MCU
GSM Modem
When i connected pins 4&5 i was able to communicate with the GSM modem and send AT commands.
Speed: 19200bps
Here is the serial terminal output, i tried some at commands.
RDY +CFUN: 1 +CPIN: READY Call Ready ati0 SIM900B R11.0 OK ati4 SIMCOM_Ltd SIMCOM_SIM900B OK ati5 SIMCOM_Ltd
Having pin 4 disconnected , allows for monitoring communication between GSM modem and MCU.
AT+CREG? +CREG: 0,5 OK TRACKER102_AOHANG_AMERICA_2.1AT+CIPCSGP=1 OK AT+CIPMUX=0 OK AT+CIPSPRT=0 OK AT+CPMS? +CPMS: "SM",0,30,"SM",0,30,"SM",0,30 OK AT+CIPSTATUS OK STATE: IP INITIAL AT+CSTT="globaldata","","" OK AT+CBC +CBC: 0,93,4105 OK AT+CIPSTATUS OK STATE: IP START AT+CIICR OK AT+CIFSR 172.29.17.204 AT+CIPSTART="TCP","tracking.stadar.org","5001" OK CONNECT OK AT+CIPSEND imei:353451042852408,tracker,0000000000,user pass,L,; SEND OK
GPS Data
Pin 6 outputs GPS data.
Speed: 4800bps
$GPRMC,235950.029,V,,,,,,,310307,,,N*48 $GPGGA,235951.029,,,,,0,00,,,M,0.0,M,,0000*54 $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGSV,3,1,12,20,00,000,,10,00,000,,31,00,000,,27,00,000,*7C $GPGSV,3,2,12,19,00,000,,07,00,000,,04,00,000,,24,00,000,*76 $GPGSV,3,3,12,16,00,000,,28,00,000,,26,00,000,,29,00,000,*78