Place a magnetic reed switch and a 433MHz transmitter on your garage door. When the door opens, the transmitter sends a "1". The hsb133 inside your home receives it and lights up an LED. This is cheaper than Wi-Fi IoT solutions and does not rely on an internet connection.
The HSB133 is typically implemented as a single-conversion superheterodyne receiver. A block diagram consists of:
Here is a simple code snippet to read data from an HSB133 using an Arduino Uno. This assumes the transmitter is sending a simple 2-second high pulse. hsb133 receiver
Wiring: HSB133 VCC → Arduino 5V; GND → GND; DATA → Pin 2.
// Simple receiver sketch for HSB133 const int rxPin = 2; int lastState = LOW; unsigned long lastTrigger = 0;void setup() Serial.begin(9600); pinMode(rxPin, INPUT); Serial.println("HSB133 Receiver Ready"); Place a magnetic reed switch and a 433MHz
void loop() int state = digitalRead(rxPin);
// The HSB133 output is normally high (idle) and goes low (active) when a signal is received. if (state == LOW && lastState == HIGH) // Debounce (avoid multiple triggers from the same signal) if (millis() - lastTrigger > 500) Serial.println("SIGNAL DETECTED!"); lastTrigger = millis(); lastState = state;void loop() int state = digitalRead(rxPin); // The