Main Content

SenderReceiver

Receiver and senders to monitor environmental data like temperature, humidity … window, mailbox and wash machine states.

Signals
ASK
ASK (Amplitude-Shift Keying) is a simple signal modulation, which is used in cheap 433 MHz modules like the FS1000A.

LoRa
LoRa is more sophisticated then ASK and was needed in this project, because ASK signals from inside the metal mailbox were not received reliably by the Receiver in my environment. LoRa is also used to send signals from the washing machine in the basement to the Receiver.

Receiver (433 MHz ASK and LoRa)
Description:

- Receives sensor data by 433MHz ASK or LoRa signals
- Saves some sensor data to local CSV files
- Forwards some sensor data to Blynk
- Forwards some sensor data to ThingSpeak
- Displays some sensor data on a touch display
- Provides a webserver to show sensor data in a browser

Hardware:

- ESP-WROOM-32 NodeMCU (Board manager: ESP32 Dev Model, Baud 115200)
- ILI9341 TFT with XPT2046-Touch
- PIR sensor AM312 to wake up the display from screensaver (blank screen)
- Passive buzzer
- RXB6 433MHz receiver (At the beginning I used a MX-RM-5V, but its reception was not good enough)
- BME280 sensor for pressure, temperature and humidity
- Lora SX1278 Ra-02
- LM2596 Step down voltage converter
- Old 12V DC power supply as input for LM2596 (Power consumption on 230V side: 1.6W when TFT is on, 0.8W when TFT is off)
- Self-designed PCB

Sender 1 (433 MHz ASK)
Sends temperature, humidity and battery state of the staircase every 30 minutes via a 433MHz-ASK signal to the Receiver

Hardware:

- Microcontroller ATmega328P (without crystal, in 8 MHz-RC mode. Board manager: “ATmega328 on a breadboard (8 MHz internal clock)” )
- DHT22 sensor
- 433MHz FS1000A sender (distance to receiver ~3m without line of sight with one wall between)
- 3x AA-Batteries without voltage regulation (I use rechargeable AAs and the runtime is ~8 month)
- Control LED (blinks every 8 seconds) which can be enabled/disabled on demand with physical jumper SW2
- Self-designed PCB

Sender 5 (433 MHz LoRa)
Sensor for a mailbox. When the lid of the slot is opened, a magnetic reed switch triggers and sends a LoRa signal to the Receiver. Additionally once per day the current battery voltage and the magnetic reed switch state will also be sent to the Receiver.

Hardware:

- Microcontroller ATmega328P (without crystal, in 8 MHz-RC mode. Board manager: “ATmega328 on a breadboard (8 MHz internal clock)” )
- HT7333 voltage regulator
- Lora SX1278 Ra-02 (433 MHz, distance to receiver ~5m without line of sight with one wall and a metal case between)
- 18650 Battery with integrated protection against deep discharge
- Magnetic reed-switch “normally closed”
- Control LED which can be enabled/disabled on demand with physical jumper JP2
- Self-made perfboard

Sender 6 (433 MHz LoRa)
Sensor for a washing machine. When the washing machine is finished (when no shaking is detected by an accelerator sensor for a longer period at my over 20 year old Gorenje WA1141 machine) a LoRa signal is sent to the Receiver.

Hardware:

- Microcontroller ESP32 LOLIN32
- MPU6050 accelerometer and gyroscope
- SSD1306 OLED 128x32 pixel
- KY-040 rotary encoder
- SX1278 LoRa Ra-02 (distance to receiver ~8m without line of sight from basement to first floor)
- 3.7V 330mAh Li-Ion battery
- Two resistors (47k, 100k) for a voltage divider
- Self-made perfboard”

Link to article