Step
Operation
Location/Other
Result
Expected Result
1
Connect Otii output to tracker edge connector
J4
OK
OK
2
Set output voltage 4.2V
/
OK
OK
3
Otii enable output
/
OK
OK
4
Measure 2.8V power supply
C61
2,799V
2.8V±5%
5
Measure current consumption
/
4.5mA
2-6mA
Step
Operation
Location/Other
Result
Expected Result
6
Connect j-Link to edge connector
J4
OK
OK
7
Ask software dude to program device
SW dude
OK
OK
Step
Operation
Location/Other
Result
Expected Result
8
Enable GPS power (MCU – P0.29)
UART command
OK
OK
9
Measure ZOE-M8G power supply
C86
1.802
1.8V
10
Measure ZOE-M8G supply current
Otii
34.5mA
35mA±10%
11
Measure GPS LAN power supply
C38
2.799V
2.8V±5%
12
Check I2C communication to GPS
UART command
OK
OK
13
Scan for number of visible satiates*
UART command
OK
4 or more
14
Scan for max satellite signal strength*
UART command
OK
42dB or more
15
Disable GPS power (MCU – P0.29)
UART command
OK
OK
Step
Operation
Location/Other
Result
Expected Result
16
Check SPI communication to LR1110
UART command
OK
OK
17
Send test message over LORA
UART command
OK
OK
18
Receive test message over LORA
UART command
OK
OK
19
Perform Wi-Fi scan
UART command
OK
OK
20
Perform GPS satellite scan
UART command
OK
8 or more
21
Scan for max satellite signal strength*
UART command
OK
32dB or more
22
Disable LR1110 power supply (P0.05)
UART command
OK
OK
Step
Operation
Location/Other
Result
Expected Result
23
Measure reed sensor power supply
C82
2.799V
2.8V±5%
24
Put magnet over sensor for trigger
UART command
Detected
Detected
25
Measure accelerometer power supply
C84
2.799V
2.8V±5%
26
Read accelerometer values
UART command
OK
OK
27
Move device
/
OK
OK
28
Read accelerometer values
UART command
OK
OK
29
Enable mic power supply (P1.11)
UART command
??
OK
30
Make loud noise to trigger interrupt
UART command
??
OK
31
Read digital sound with MCU
UART command
??
OK
32
Disable mic power supply (P1.11)
UART command
??
OK
Step
Operation
Location/Other
Result
Expected Result
33
Enable BLE on MCU
UART command
OK
OK
34
Connect with phone to device
/
OK
OK
35
Send command to device
/
OK
OK
36
Disconnect phone from device
/
OK
OK
Step
Operation
Location/Other
Result
Expected Result
37
Measure Flash power supply
C68
2.799V
2.8V±5%
38
Read flash ID
UART command
OK
OK
39
Write data to flash
UART command
OK
OK
40
Read and verify data from flash
UART command
OK
OK
Step
Operation
Location/Other
Result
Expected Result
41
Enable battery monitor (P0.10)
UART command
OK
OK
42
Read analog value of pin P0.04
UART command
4219mV
4200mV±2%
43
Measure voltage on resistor divider
R39
2.693V
2.685V±2%
44
Disable battery monitor (P0.10)
UART command
OK
OK
Step
Operation
Location/Other
Result
Expected Result
45
Enable RED LED diode (P0.24)
UART command
OK
OK
46
Disable RED LED diode (P0.24)
UART command
OK
OK
47
Enable GREEN LED diode (P0.25)
UART command
OK
OK
48
Disable GREEN LED diode (P0.25)
UART command
OK
OK
49
Enable BLUE LED diode (P0.27)
UART command
OK
OK
50
Disable BLUE LED diode (P0.27)
UART command
OK
OK
Step
Operation
Location/Other
Result
Expected Result
51
Apply 24V to charging contacts
/
OK
OK
52
Measure 24V voltage
C72
22.7V
22.7V
53
Measure 24V over voltage divider
C77
1.3V
1.3V
54
Measure 5V from DC/DC converter
C74
4.92V
5V
55
Measure charging current
Power supply
0.125A
0.125A
56
Enable charge disable
UART command
OK
OK
57
Measure charging current
Power supply
0.5A
0.5A
Step
Operation
Location/Other
Result
Expected Result
58
Disable Flash power supply (P0.15)
UART command
OK
OK
59
Disable GPS power supply (P0.30)
UART command
OK
OK
60
Put accelerometer in low power mode
UART command
OK
OK
61
Put LR1110 in low power mode
UART command
OK
OK
62
Put mic to low power mode
UART command
OK
OK
63
Measure power supply current
Otii
??
5uA
Description of tuning potted LoRa antenna on lion tracker
Schematic on bottom picture shows how is antenna wired with Murata IC and digital tunable capacitor PE64102 (DTC). DTC is wired in parallel with C7 to add capacitance and with that lower the antenna resonating frequency.
With recommended component values from datasheet we have antenna frequency that is far below 868MHz.
Frequency response with component values from datasheet shows frequency center at 785MHz which is 83MHz to low.
After tuning with capacitor on antenna band select pin we managed to get right frequency curve. Below on picture you can see frequency curve with different capacitor values with the most suitable 3pF capacitor.
Because the capacity is so small we can't fully use the potential of DTC. DTC has 32 possible combinations of capacity and we are operating at the beginning of this scale (at decimal number 4 witch is 2,98pF.
Can we make efficiency of antenna better when potted?
This page is description how to disassemble partly potted Lion tracker for Antenna tuning.
Lion tracker comes with assembled PCB, soldered EMC shield and soldered battery.
LoRa_setTxContinuousWave_vswr
- Frequency scan from 800MHz to 900MHz
LoRa_setTxContinuousWave_vswr_tune
- DTC scan at 868MHz from 0 to 32 (1,4pF to 13,61)
LoRaWAN_DeepSleep
Every time battery is soldered to board a battery protection circuit needs to be activated.
Make contact from battery negative terminal to EMC shield to activate device.
Connect USB<->UART adapter to device pin as shown in picture above.
All design can be found on github https://github.com/IRNAS/smartparks-lion-tracker-hardware