background image

www.geolink.io 

8

 

OpenTracker 2.4 

User Manual (1.4.0) 

Connect USB Cable 

Use a micro USB Type B cable and plug it into the board as shown in the picture below. 
This is an optional step. Only necessary if new software has to be installed or developed.  
 

 

Connect MOLEX Cable 

Ensure the Latch on the connector is faced up as shown in the picture below.  
Push the connector until it clicks. 
 

 

 

 

Summary of Contents for OpenTracker 2.4

Page 1: ...OpenTracker 2 4 User Manual Release 1 4 0 ...

Page 2: ...r 10 External I O 11 Main Connector 11 Pin assignment 11 CAN BUS Interface 11 Using CAN 11 Digital Outputs 12 Example Relay connections 12 Hands on recommendation for Relay usage 13 Using the Relay outputs OUT1 OUT2 13 Analog Inputs 14 Using the Inputs IN1 IN2 15 Voltage detection VDET ignition detection 16 Using Ignition detection VDET 16 Battery monitoring AIN_S_INLEVEL 17 Using Battery Monitori...

Page 3: ...terface 23 Schematic 23 Software 24 Arduino IDE 24 Adding OpenTracker 2 as Board to Arduino IDE 24 Using Arduino IDE with OpenTracker 24 Troubleshooting 25 Reset Soft bricked board Flash locked 25 How to Reset a Soft bricked board 25 Electrical Characteristics 26 Absolute Maximum Ratings 26 Recommended Operating Conditions 26 How to get support 27 ...

Page 4: ...re includes the same powerful 32 bit ARM controller as the Arduino DUE a GSM GPRS modem for wireless connectivity a GPS GLONASS module with Assisted GPS CAN BUS plenty of I O and a wide operating temperature range of 35 C to 80 C The hardware is pre programmed and able to send tracking data right out of the box you will only need the SIM card and to register the device on our on line tracking soft...

Page 5: ... audio and a micro USB interface to develop additional features Design files firmware and Arduino board support packages can be found on GitHub https github com geolink opentracker hardware https github com geolink opentracker https github com geolink opentracker arduino board Processor The Atmel SAM3A4C microcontroller is a 84MHz 32 bit ARM Cortex M3 core with 256KB embedded Flash 2 x 128 KB and ...

Page 6: ...device on the Geolink website GPS Module Quectel L76 GPS GLONASS Receiver Multi MGSS engine for combined GPS GLONASS and QZSS Easy self generated orbit prediction for instant positioning fix Assisted GPS to enable fast Time To First Fix TTFF Ultra low tracking power consumption 18mA Always Locate an intelligent algorithm for power saving 99 acquisition 33 tracking channels up to 210 PRN channels S...

Page 7: ...ttp arduino cc en Main Software Insert SIM Card OpenTracker has got one Micro SIM slot Larger SIM cards can be cut into micro SIM in any Store that sells SIM Cards or Mobile phones 1 Unlock slot 2 Open cover 3 Insert SIM 4 Close slot and lock it For your convenience the SIM PIN should be deactivated If this is not an option the SIM PIN has to be entered into the tracker h and flashed into the Trac...

Page 8: ...ype B cable and plug it into the board as shown in the picture below This is an optional step Only necessary if new software has to be installed or developed Connect MOLEX Cable Ensure the Latch on the connector is faced up as shown in the picture below Push the connector until it clicks ...

Page 9: ...igher costs on your SIM bills or be a source of connection problems Setup APN Send SMS message to the inserted SIM card number to configure APN for your GSM provider WAP APN are not supported pass apn APN_NAME Example pass apn internet The module will reply with the following response APN saved Send 2 SMS messages to the inserted SIM card number to configure APN username and password optional for ...

Page 10: ...ommand Syntax Example Reply Set APN PASS apn NEWAPN pass apn internet APN saved Set APN Username PASS gprsuser NEWUSERN pass gprsuser guest APN username saved Set APN Password PASS gprspass NEWPASS pass gprspass guest APN password saved Set SMS Password PASS smspass NEWSMSPASS pass smspass newpass SMS password saved Set Sending Interval sec PASS int INTERVAL_SECONDS pass int 60 Interval saved Set ...

Page 11: ...ting 250V AC DC UL 94V 0 Pin assignment CAN BUS Interface OpenTracker features a standard CAN Bus interface on the main connector The CAN bus needs a termination resistor typical 120 Ohm which is not on board but usually present on the vehicle bus The transceiver used is SN65HVD230 For more info and electrical specifications refer to the component datasheet at http www ti com product sn65hvd230 Us...

Page 12: ...st voltage transients and short circuits Hardware versions earlier than rev2 4 do not have short circuit protection if that is required insert an external fuse in series with each output Example Relay connections In this example we are using relays with a rated coil voltage of 12V DC The same voltage is used for switching contacts to power 12V rated devices like Lights Motors Horns etc When the so...

Page 13: ...rate NEVER work on circuitries under voltage ALWAYS remain within the manufacturers specifications Using the Relay outputs OUT1 OUT2 This example shows how to initialize the outputs and switch them on and off 1 void setup 2 Relay output 3 pinMode PIN_C_OUT_1 OUTPUT Initialize pin as output 4 digitalWrite PIN_C_OUT_1 LOW Set PIN LOW 5 pinMode PIN_C_OUT_2 OUTPUT Initialize pin as output 6 digitalWri...

Page 14: ...olts Parameter Min Typ Max Unit Analog Input Voltage2 Normal Range 0 36 V Analog Input Voltage2 Reduced Range 0 3 3 V Analog Input Accuracy 0 15 V Analog Input Impedance 200 230 260 kΩ Analog Input Bandwidth 7 79 Hz Notes 2 Analog inputs IN1 and IN2 can be configured by the software to accept a reduced input range to improve precision of analog readings in a low voltage range ...

Page 15: ...1 Value 23 read the analog in value 24 sensorValue analogRead AIN_EXT_IN1 25 map it to the range of the analog out 26 outputValue sensorValue 242 0f 22 0f ANALOG_VREF 1024 0f 27 28 print the results to the serial monitor 29 debug_print F IN1 30 debug_print outputValue 31 debug_print F V 32 debug_print sensorValue 33 debug_print F 34 debug_port println 35 36 Read IN2 Value 37 read the analog in val...

Page 16: ...MAX V input 0VDC 0 6VDC 1 5VDC 32VDC Using Ignition detection VDET The ignition detection is a simple Input to detect if the vehicle is started By adding code the user can define what to do when ignition is turned on off In this example the Tracker will print a string to the debug port 1 define DEBUG 1 enable debug msg sent to serial port 2 define debug_port SerialUSB 3 4 ifdef DEBUG 5 define debu...

Page 17: ...B 3 4 ifdef DEBUG 5 define debug_print x debug_port print x 6 else 7 define debug_print x 8 endif 9 10 Variables will change 11 int outputValue 12 int sensorValue 13 14 15 void setup 16 put your setup code here to run once 17 18 19 20 void loop 21 22 Read VIN Value 23 read the analog in value 24 sensorValue analogRead AIN_S_INLEVEL 25 map it to the range of the analog out 26 outputValue sensorValu...

Page 18: ...n or additional analog lines Simply connect the IO_TO_EXT Pin on the Internal I O pin header to your custom setup Please note When connecting any Internal I O Pin to the IO_TO_EXT that those have 3 3V levels and are directly connected to the MCU We recommend to protect the pin against overvoltage Example usage One Wire In this example four DS1820 Temperature sensors are driven in 1 wire parasite p...

Page 19: ...id setup 4 5 setup led pin 6 pinMode PIN_POWER_LED OUTPUT Set LED as Output 7 digitalWrite PIN_POWER_LED LOW Set LED initially off 8 9 10 void loop 11 12 Switch the Power LED 13 digitalWrite PIN_POWER_LED HIGH 14 delay 800 15 digitalWrite PIN_POWER_LED LOW 16 delay 800 17 18 NET LED green This LED is just used by the M95 modem for network feedback and directly connected to the M95 Pin NETLIGHT Sta...

Page 20: ...g Input ADC 2 x PWM 1 shared with UART TX GPIO shared with any other peripherals RESET open drain input output from main controller ERASE full chip erase request 3 3V 4V exact voltage may vary around 4 3V VIN GND PLEASE NOTE IMPORTANT NOTE The I O voltage levels are not 5V tolerant Only use 3 3V levels The internal I O is reserved for custom Expansion boards done by the user to add functionalities...

Page 21: ...e call features The 2G modem has analog audio support with direct connection to an electrect condenser microphone for input and to an 8 Ohm speaker for output max 500mW in a handsfree configuration Board variant with 3G modem has an optional digital audio interface for connection to an external PCM audio codec Connector schematic 2G modem only Optional connector 3G modem only ...

Page 22: ... workstation used 2 Use a micro USB Type B cable and plug it into the board 3 If the drivers have been installed correctly can be checked with the device manager Windows only When board is powered up and the USB cable is connected OpenTracker will be recognized as Arduino DUE in section Ports COM LPT as shown below Only the COM port number will vary Please note If you encounter troubles with the U...

Page 23: ...ulated 10 pin 050 inch pitch male header The recommended Debugger is the Atmel SAM ICE for Atmel SAMA5 SAM3 SAM4 SAM7 and SAM9 ARM core based microcontrollers in connection with ARM JTAG 20 10 connector Adapter from Olimex More info at Atmel SAM ICE http www atmel com tools atmelsam ice aspx tab overview ARM JTAG 20 10 https www olimex com Products ARM JTAG ARM JTAG 20 10 Schematic ...

Page 24: ...n the Preferences dialog from the File menu and add the following address to the Additional Boards Manager URLs text box https raw githubusercontent com geolink opentracker arduino board master package_opentracker_index json Open the Boards Manager window from the Tools menu write opentracker in the text box at the top choose OpenTracker Boards from the list below and click the Install button Usin...

Page 25: ...CU Flash This is accomplished by power ON short NRESET to GND and hold short ERASE to VDD and hold release NRESET wait a few seconds You can also power OFF short ERASE to VDD and hold power ON wait a few seconds We placed NRESET and ERASE on the expansion connector and near VDD and GND so that it s easy to just use a jumper or a clip to perform the above operations If the erase is successful you c...

Page 26: ...elow Parameter Min Typ Max Unit Power Supply Voltage VIN 8 32 V Power Supply Current 0 1 8 A Analog Input Voltage 0 36 V Relay Output Current 0 1 A Operating Temperature 40 85 C Recommended Operating Conditions Parameter Min Typ Max Unit Power Supply Voltage VIN 9 12 24 30 V Power Supply Current 0 25 0 12 1 65 A Internal Expansion I O Voltage VIO 0 3 3 V Ambient Temperature 26 35 25 80 C Notes 1 O...

Page 27: ... does not make any commitment to update the information contained herein Geolink products are not authorized for use as critical components in life support devices or systems OpenTracker is an open source development board for vehicle tracking applications and any kind of certification homologation for a final product based on this board is responsibility of the final developer manufacturer OpenTr...

Reviews: