Still in progress of implementation
- Communication with host-computer for debugging (UART)
- Communication with LR1110 (SPI)
- Implement WiFi scanner
- Implement LoRaWAN
- Implement Satellite scanner
Currently using a NUCLEO-L476RG as the STM32-chip and LR1110 for scanning WiFi AP's and satellites.
LR1110
-
LoRa RF Transceiver
-
GNSS scanner (GPS and BeiDou)
- ~8s
- Satellite data and timing
- ~35 to 50 bytes
-
WiFi scanner (2.4 GHz)
- Access points and RSSI, # of AP
- ~28 to 112 bytes
-
GNSS and WiFi scan data is collected on the device and sent to a cloud-based solver to resolve into a position
-
Semtech provide a Cloud API (fees apply)
When using the Semtech LR1110 shield for STM32 Nucleo board is is also possible to use that shields with an Arduino Uno (see arduino.ino).
The setup can be done in either STM32CubeIDE og Visual Studio Code.
Install:
Install:
- Import the stm32-folder as a project
- Click on Debug
- Open the stm32-folder in VSC
- Click on Run and Debug and click on Launch
- Another window pops up, click continue in the debug-menu (You can close the ned window now)
To receive UART-messages for e.g. debugging use in Linux cu
Check which Serial port the STM32 is connected to with ls /dev/tty*
(should be something like /dev/ttyACM0
).
View serial ouput: cu -l /dev/ttyACM0 -s 115200
Unable to start debugging. No process is associated with this object.
- Look inside launch.json for
miDebuggerServerAddress
anddebugServerArgs
, and not the number (e.g. 3333) - Open a terminal and run
sudo lsof -i :<NUMBER>
- Note the
PID
and runsudo kill <PID>
- Check with step 2 again to determine if the process is gone (otherwise kill it again)
- Try debugging again