Mois sensor node¶
You might want to read this document on our documentation space, all inline links will be working there.
This firmware powers the Mois Box, based on the Arduino Yún Shield-compatible Dragino Yun Shield v2.4. Telemetry data is transmitted to a custom PHP receiver program over HTTP using the Yún HTTP Client from the Bridge Library for Yún devices. It is also stored locally on a SD card. The most recent firmware version is always available at node-yun-http.ino.
Clone git repository¶
# Get hold of the source code repository including all dependencies git clone --recursive https://github.com/hiveeyes/arduino # Select this firmware cd node-yun-http
Have a look at the source code node-yun-http.ino and adapt feature flags and setting variables according to your environment:
Configure load cell calibration settings:
// Use sketches "scale-adjust-hx711.ino" or "scale-adjust-ads1231.ino" for calibration // The raw sensor value for "0 kg" const long loadCellZeroOffset = 38623; // The raw sensor value for a 1 kg weight load const long loadCellKgDivider = 11026;
Read about Firmwares for load cell adjustment to get these values.