yun-sensor-mote

A IoT Sensor Mote using Arduino Yún that comunicates vía Wifi through REST calls using the Bridge Library

MIT License

Stars
1

YunSensorMote

A Sensor Mote using Arduino Yun that comunicates via Wifi through REST calls using the Bridge Library.

This project uses Platform.io project structure and features.

Libraries

The Circuit:

  • Arduino A0 connected to Vout signal pin of KY-013 Analog Temperature Sensor from Keyes.
  • Arduino D1 connected to Vout signal pin of KY-015 Humidity DHT11 Sensor from Keyes.
  • Arduino A2 connected to Vout signal pin of KY-18 LDR Sensor from Keyes.
  • Arduino A3 connected to a 10K Pot that will simulate any other analog sensor.
  • Arduino D8 connected to KY-019 Relay Module Keyes
  • Arduino I2C SDA/SCL connected to Adafruit's MPL3115A2 Sensor Module

Development

Data Structure

The sensor mote data is send in JSON format

{
    "moteId": 1,
    "groupId": 2,
    "temp": 532,
    "humidity": 39,
    "ldr": 530,
    "adc": 571,
    "relay": 0
}

Support, Questions, or Feedback

Contact me anytime for anything about this repo or IoT in general


License

MIT