GSM module and the GPS module. To wake it up again, just shake it for a couple of seconds and it will turn the GSM and GPS back on. If you prefer to change this, Round Solutions can provide you with the source code of the microcontroller.
Page 3
Python scripts to and on the Nano Tracker. AT#LSCRIPT: Lists the scripts inside the module AT#WSCRIPT: Opens a file browser and let you choose the file you want to write to the Nano Tracker AT#ESCRIPT=”xxx.pyc” : set the selected script as the main executing script AT#DSCRIPT=”xxx.pyc”...
A web server can be used as a listener if you plan to host your own server application. A page with server side code receives the HTTP post and parses the messages received from the device. Please contact Round Solutions for the source code. You would need to make changes to parse the data and save it in a database.
Page 5
SER.send('Reading Byte at location 1 = '+m_ee.ReadByte(1)+' ---\r\n') SER.send('Reading Byte at location 2 = '+m_ee.ReadByte(2)+' ---\r\n') StrInMem = m_ee.ReadString(0,3) #Read a string of 3 characters starting at location 0 Nano Tracker Product description Rev .01 – 16 - 06 -2016...
Page 6
After that click on Python on the Top menu, then click AT#WSCRIPT. Note that you cannot overwrite a script with the same name that already exists. You need to delete it first from the module and then download the new one. Nano Tracker Product description Rev .01 – 16 - 06 -2016...
Page 7
8- Click on AT#EXECSCR to execute the script immediately Microcontroller Programming: If you wish to change the power saving functionality of the device, Round Solutions can provide you with the source code of the Microcontroller on board. The Nano tracker has a PIC18LF46K22...
Page 8
TMR4_CallBack() can be found in file tmr4.c The call back function toggles on of the LEDs every one second and does some time calculations for the function CheckIfIdle() Nano Tracker Product description Rev .01 – 16 - 06 -2016...
Page 9
SSP2BUF = 0x99;//return a 0x99 to indicate that no valid register address is found RegisterAddress++;//to allow reading the next register Same applies here for registers addresses. You can add additional registers to send like accelerometer data, sleep time, etc…. Nano Tracker Product description Rev .01 – 16 - 06 -2016...
Page 10
I2C_ADDR = 0x08 bus = IIC.new(I2C_SDA, I2C_SCL, I2C_ADDR) status = bus.init() #Write 0x00 to register with address 0x01 res = bus.readwrite('\x01\x00', 0) #Read value from register 0x01 res = bus.readwrite('\x01', 0) Nano Tracker Product description Rev .01 – 16 - 06 -2016...
Need help?
Do you have a question about the Nano Tracker and is the answer not in the manual?
Questions and answers