This commit is contained in:
2022-12-18 23:34:47 +01:00
parent 4052bea374
commit a01efcf04a

View File

@ -1,3 +1,16 @@
# LoRaWAN Modbus Gateway
## Some pictures
![The whole setup](./docs/IMG_3854.jpg)
![The device](./docs/IMG_3853.jpg)
![RS485/Modbus signals on the osciloscope](./docs/modbus01.png)
![Notes on schematics](./docs/IMG_3855.jpg)
## Notes on the development environment
* start dev environment using `startDevEnv.sh` * start dev environment using `startDevEnv.sh`
* build application in container in directory `~/project` using `arduino-cli compile --fqbn=Heltec-esp32:esp32:WIFI_LoRa_32_V3 --export-binaries /home/arduino/project/sketch/` * build application in container in directory `~/project` using `arduino-cli compile --fqbn=Heltec-esp32:esp32:WIFI_LoRa_32_V3 --export-binaries /home/arduino/project/sketch/`
* flash device using `esptool.py --port /dev/tty.usbserial-0001 --baud 921600 --chip esp32s3 write_flash --flash_mode dio --flash_size 8MB 0x0 sketch.ino.bootloader.bin 0x8000 sketch.ino.partitions.bin 0x10000 sketch.ino.bin` * flash device using `esptool.py --port /dev/tty.usbserial-0001 --baud 921600 --chip esp32s3 write_flash --flash_mode dio --flash_size 8MB 0x0 sketch.ino.bootloader.bin 0x8000 sketch.ino.partitions.bin 0x10000 sketch.ino.bin`