This commit is contained in:
grizzly 2024-07-10 19:04:35 -04:00
parent dc0dcfe6e8
commit a242dd2b46

View file

@ -69,10 +69,11 @@ To get these information, you first need to register the new box in Palitronica
The frontend \footnote[https://steetdev001.z27.web.core.windows.net/] lists all boxes across all tenants and can be used for some operations but we will mainly use it to register a new box. The frontend \footnote[https://steetdev001.z27.web.core.windows.net/] lists all boxes across all tenants and can be used for some operations but we will mainly use it to register a new box.
In order to register a new device, you need some information including the `MCU Serial` and the `MAC Address` of the box. In order to register a new device, you need some information including the `MCU Serial` and the `MAC Address` of the box.
These two info are not directly readable on the box and require to use the calibration Raspberry Pi. These two info are not directly readable on the box and require to use a script on the machine.
+ After flashing the FPGA and the base firmware, connect the ethernet cable of the box to a PoE switch on the same network as the Raspberry Pi. + After flashing the FPGA and the base firmware, connect the ethernet cable of the box to a PoE switch on the same network as the PC.
+ On the Pi, run the `UDP server` script (on the desktop) in the terminal. + Get into the virtual environment of the script with `source .venv/bin/activate`.
+ Run `python3 udp_server.py`.
+ After a few seconds, the script should output the `MCU Serial` and `MAC Address` of the box. + After a few seconds, the script should output the `MCU Serial` and `MAC Address` of the box.
Now in the frontend, follow these steps: Now in the frontend, follow these steps: