arrow-left

All pages
gitbookPowered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

Hardware Features Test

List of hardware features

hashtag
1 Power up

Step

Operation

Location/Other

Result

Expected Result

hashtag
2 Programming

hashtag
3 UBLOX GPS test

hashtag
4 LORA LR1110 test

hashtag
5 Sensor test

hashtag
6 BLE connection test

hashtag
7 Flash test

hashtag
8 Battery measurements

hashtag
9 RGB LED blink

hashtag
10 Charging test

hashtag
11 Low power test

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

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

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

35

Send command to device

/

OK

OK

36

Disconnect phone from device

/

OK

OK

39

Write data to flash

UART command

OK

OK

40

Read and verify data from flash

UART command

OK

OK

43

Measure voltage on resistor divider

R39

2.693V

2.685V±2%

44

Disable battery monitor (P0.10)

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

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

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

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

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

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

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

Step

Operation

Location/Other

Result

Expected Result

33

Enable BLE on MCU

UART command

OK

OK

34

Connect with phone to device

/

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

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

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

Step

Operation

Location/Other

Result

Expected Result

51

Apply 24V to charging contacts

/

OK

OK

52

Measure 24V voltage

C72

22.7V

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

1.8V

OK

Detected

OK

OK

4200mV±2%

OK

22.7V

OK

LoRa antenna

Description of tuning potted LoRa antenna on lion tracker

Picture 1: Potted only part where LoRa antenna is. When finished whole device is potted.

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.

Picture 2: Schematic off LoRa transceiver and antenna

With recommended component values from datasheet we have antenna frequency that is far below 868MHz.

Picture 3: Component values from datasheet

Frequency response with component values from datasheet shows frequency center at 785MHz which is 83MHz to low.

Picture 4: Frequency response with component values from datasheet

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?

Preparations for LoRa antenna testing

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.

Lion tracker fully assembled (negative terminal of battery is aligned with end off EMC shield)

hashtag
How to get to antenna tuning circuit

hashtag
Step 1: Desolder battery positive terminal

hashtag
Step 2: Desolder battery negative terminal

hashtag
Step 3: Desolder EMC shield

hashtag
Preloaded SW on devices

  1. LoRa_setTxContinuousWave_vswr

    - Frequency scan from 800MHz to 900MHz

  2. LoRa_setTxContinuousWave_vswr_tune

    - DTC scan at 868MHz from 0 to 32 (1,4pF to 13,61)

hashtag
How to activate device after battery soldering to Lion tracker

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.

hashtag
How to read UART messages from device

Connect USB<->UART adapter to device pin as shown in picture above.

hashtag
Schematic and PCB design

All design can be found on github

RF system configuration

RF configuration scenarios with LR1110
LoRaWAN_DeepSleep
https://github.com/IRNAS/smartparks-lion-tracker-hardwarearrow-up-right
Desolder positive terminal off battery
Desolder negative terminal off battery
Lion tracker with removed EMC shield
Devices are marked with numbers
Picture 5: Antenna tuning process
Picture 6: Antenna efficiency over DTC range at 868MHz
Picture 7: Device position for best signal strenght
Picture 8: PCB with EMC shield
Picture 9: PCB without EMC shield

Hardware