All in One PCB for the OpenMQTTGateway Project
Usage | Hardware |
---|---|
Microcontroller | NodeMCU v1.0 |
IR Receive | TSOP21 |
IR Send | IR204A |
RF Receive | SRX882 |
RF Send | STX882 |
PIR | SR505 |
DHT | DHT-11 |
Bluetooth | HM-10 |
Full BOM is here. Attention! The ESP Board is the wrong type in the BOM, it's the NodeMCU v1.0, NOT the v0.9. Download Gerber here.
The Pinout isn't exactly as the default from the OpenMQTTGateway You need to change the pins like this:
// config_IR.h
#define IR_RECEIVER_PIN D4
#define IR_EMITTER_PIN D0
// config_RF.h
#define RF_RECEIVER_PIN D1
#define RF_EMITTER_PIN 3
// config_HCSR501.h
#define HCSR501_PIN D5
// config_DHT.h
#define DHT_SENSOR_TYPE DHT11 //uncomment for DHT11 Sensor
//#define DHT_SENSOR_TYPE DHT22 //uncomment for DHT22 Sensor (default for backwards compatibility)
#define DHT_RECEIVER_PIN D2
// config_BT.h
#define BT_RX D7
#define BT_TX D6