This documentation provides instructions for configuring a Duinotech XC4394/Dragino LG01 gateway to read temperature sensor data and forward it to the server.
The full user manual for each gateway can be found below (14/07/2022):
Both gateways are almost identical so the documentation both gateways is cross-compatible to an extent.
- In the preferences (file -> preferences) enter the following url under
Additional Boards Manager URLs:http://www.dragino.com/downloads/downloads/YunShield/package_dragino_yun_test_index.json - Install the Dragino boards under (tools -> boards -> boards manager)
- Set the board profile to be
Dragino Yun + UNO or LG01/OLG01(tools -> board -> Dragino Yun + UNO or LG01/OLG01) - Download the RadioHead library by clicking here
- Extract the zip file to the Arduino library folder
- Clone the code in this repository to your PC
- Open
gateway.cin the Arduino IDE - Connect to the gateway's wifi network or ensure it is on the same network as you
- Change the Arduino port to the gateway's network port (tools -> port -> Duinotech xx.xx.xx.xx.x)
- If prompted for password enter the password (default is either
duinotechordragino) - Click the upload button to upload the Arduino sketch to the gateway
Note: If you want to use the Arduino console/serial monitor you will need to click on the Gateway's port again before connecting (tools -> port -> Duinotech xx.xx.xx.xx.x)