> For the complete documentation index, see [llms.txt](https://irnas.gitbook.io/opencollar/-MDJCI9OmpOqWrQzjNIR/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://irnas.gitbook.io/opencollar/-MDJCI9OmpOqWrQzjNIR/manufacturing/fence-monitor.md).

# Fence monitor

## Electronics

### Fence monitor - specific steps

1. GPS antenna tuning (1590 MHz in air for resin encapsulation)
2. add PCB spacers
3. add tag extension 33,6 mm + tag (don't connect "batt" pins)
4. add fence addon with 26,6 mm tag extension - for initial fence test, connect the fence addon with wires
5. add tape underneath the tag to protect holes for programming from the resin
6. add EMI shield (temporarily attached in one corner)
7. puncturing of batteries
8. add battery
9. fence testing
10. charging testing
11. final GPS testing
12. put the tracker in deep sleep
13. seal the EMI shield all around with hot glue (the battery should be attached before the glue and the foam protection afterwards)
14. tape foam protection on the antenova (12x12x17mm)

## Electronics assembly

{% hint style="danger" %}
Januar 2021 batch - disconnect 2.5V / remove resistor
{% endhint %}

For initial fence test, connect the fence addon with wires. (Jan 2021 - only GPIO1 and GND on lion board)

{% hint style="danger" %}
Do NOT perform the fence test when completely assembled without the resin.
{% endhint %}

![](https://264302523-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAfxKpHe9the60UYjxl%2F-MMz2v8bReY2Cl6Y7HUs%2F-MMz6PPlwLpXK7cH1_1J%2FIMG_20201111_111308.jpg?alt=media\&token=5934c212-0e86-47a0-a966-d8c0b5c5d62f)

![](https://264302523-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAfxKpHe9the60UYjxl%2F-MMz2v8bReY2Cl6Y7HUs%2F-MMz6YPUFrKdi3dprUwu%2FIMG_20201111_111226.jpg?alt=media\&token=748cbabe-587b-43bf-a569-45f8f3905618)

![](https://264302523-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAfxKpHe9the60UYjxl%2F-MMz2v8bReY2Cl6Y7HUs%2F-MMz6YPVbR-xSuON6kFJ%2FIMG_20201111_111239.jpg?alt=media\&token=b5fb6767-0caf-4108-b10d-83cac8c13ab2)

![](https://264302523-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAfxKpHe9the60UYjxl%2F-MMz2v8bReY2Cl6Y7HUs%2F-MMz6YPYvvAzsIb-fKF1%2FIMG_20201111_111257.jpg?alt=media\&token=8aa803eb-4486-4d08-a18d-3f42646dce13)

![](https://264302523-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAfxKpHe9the60UYjxl%2F-MSS3LErNHmBhUbDMabD%2F-MSS4WqEjBlFeV052c-H%2FIMG_20201221_073552.jpg?alt=media\&token=6b5add33-c4c1-4da5-8e02-63c2a6b33b82)

#### Calibration

Each fence sensor is calibrated to output the same energy level on a reference source. These measurements do not represent measurements in kV and must be scaled to that range in the decoder.

Send to port 93 a 2 byte value with the calibration factor multiplied by 10000; For example, the sensor is returning 1300 (pulse\_voltage), we wish to calibrate this to 1800. Calculating from this 1.3846 factor, multiplied is 13856, convert this to hex 0x3616. Send this via downlink. To reset the values send 2 byte value 2710 (hex 0x2710) to port 93.

![assembled fence monitor](https://264302523-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAfxKpHe9the60UYjxl%2F-MMz2v8bReY2Cl6Y7HUs%2F-MMz6pxs2Vu1SEeFYsdQ%2FIMG_20201123_161345.jpg?alt=media\&token=47d21fff-2096-407f-a86c-2786ce91643e)

## Mechanics

1. aluminium casting mould production
2. resin casting in the mould
3. engraving of serial numbers (ProductDeliverySerial-SmartParks Excel Worksheet, use ranger .rld file) and high voltage inscription (power 30%, speed 150 mm/s)
4. manufacturing of fence monitor cover
5. engraving of inscription on the plastic cover (laser parameters: power 30%, speed 250 mm/s)
6. Assembly

### Resin casting

1. Electrolube PU resin UR5528
2. cca. 75g/piece

### Engraving

{% file src="/files/-MFeTgYfCosrr61Q9JWU" %}

{% file src="/files/-MFeTi3op\_AI48lln478" %}

{% file src="/files/-MG2HnlJaV3oFjf68qAn" %}

### Final checks

1. Final test
2. Fence test
3. Provisioning
4. Calibrating
5. Charging
