/Cheap_WSN

Primary LanguageArduinoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Cheap_WSN

A simple program to interconnect a master computer with a slave, arduino based, wireless sensor.

The slave

  • Read temperature and humidity from a DHT11 sensor.
  • Send the dummy bytes (for synchronization) and data bytes by RF using a serial to 433MHz transceiver.
  • Wait for the ACK
  • Manage packet resend (with random backoff to avoid locking the medium)
  • Sleep (power-down mode) during 8 seconds for power efficiency.

The master

  • Listens for dummy bytes sequence.
  • Checks data integrity, repairs using redundancy bytes if needed.
  • Sends the ACK and prints the result on standard output.

Required