All Sensor projects are performed with an Raspberry Pi Zero 2 WH unless otherwise noted.
ESP32, Raspberry Pi Pico 2 WH and Raspberry Pi 4 B 8GB might also be used.
- LED - Light emitting diodes and indicators
- Magnetism - Hall sensors and reed switches
- Obstacle Detection - IR proximity sensors
- Shock Detection - Vibration and knock sensors
- Gas/Flame Detection - Fire and gas detection
- Tilt/Motion Detection - Orientation sensors
- Input - Buttons, touch sensors, and rotary encoders
- Sound - Buzzers and audio output
- Environmental Sensors - Temperature, humidity, and pressure sensors
| Module Code | Component | Description | Use Case | Example/Status |
|---|---|---|---|---|
| KY-001 | DS18B20 | Digital temperature sensor | Measure temperature precisely (1-Wire) | Skipped (resistor needed) |
| KY-002 | Shock Sensor | Detects vibration or movement | Detect knocks or motion | Shock Alarm |
| KY-003 | Hall Sensor | Detects magnetic field | Detect magnet proximity | Magnet Detector |
| KY-004 | Button Switch | Simple push button | User input or reset | Push Button |
| KY-005 | IR Transmitter | Sends infrared signals | Control TV or IR receiver | Dead |
| KY-006 | Passive Buzzer | Generates tone with frequency signal | Alerts or sound output | Playing a Melody |
| KY-008* | Laser Emitter | Emits red laser beam | Laser tripwire or pointer | Not in Inventory |
| KY-009 | RGB SMD LED | Multi-color LED | Display color status or testing PWM | Skipped (resistor needed) |
| KY-010 | Light Barrier | Detects object interruption | Object counting or detection | Skipped (seems broken) |
| KY-011 | Bi-color LED (5mm) | Two-color indicator LED | Display states (on/off, pass/fail) | Red Pulsating Alarm |
| KY-012 | Active Buzzer | Constant tone sound | Simple alarm buzzer | Alarm |
| KY-013 | Analog Temperature Sensor | Uses thermistor to sense temperature | Read analog temperature | Skipped (analog) |
| KY-015 | DHT11 | Temp & humidity digital sensor | Weather or environment sensing | See DHT22 |
| KY-016 | RGB LED | 3-color LED with common cathode | Mix colors via PWM | Police Siren |
| KY-017 | Tilt Switch | Detects tilt angle | Detect orientation or motion | Not in Inventory |
| KY-018 | Photoresistor (LDR) | Detects light level | Auto night-light or brightness control | Skipped (analog) |
| KY-019 | Relay Module | Controls high-power devices | Switch on/off AC/DC load | Skipped |
| KY-020 | Tilt Sensor | Detects orientation change | Trigger alarm when tilted | Orientation Detection |
| KY-021 | Mini Reed Switch | Detects magnetic field | Door open/close sensor | See KY-025 |
| KY-022 | IR Receiver | Receives infrared signals | Remote control receiver | Skipped |
| KY-023 | Joystick | Analog stick module | Control robot or games | Skipped (analog) |
| KY-024 | Digital Hall Sensor | Detects magnetic field | Measure speed or proximity | Magnet Detector |
| KY-025 | Reed Switch Sensor | Magnetic field detector | Door sensor | Magnet Detector |
| KY-026 | Flame Sensor | Detects flame (IR light) | Fire detection | |
| KY-027* | Magic Light Cup | LED + tilt control | Demo circuit for tilt LED | Not in Inventory |
| KY-028 | Temperature Sensor | Analog + digital output thermistor | General temp detection | Skipped (analog) |
| KY-029 | Bi-color LED (3mm) | Dual LED in one | Indicator light | See KY-011 |
| KY-030 | Tilt Switch | Detects motion | Orientation change detection | None |
| KY-031 | Knock Sensor | Detects vibrations | Tap/knock detection | Collision Detection |
| KY-032 | Obstacle Sensor | IR proximity detector | Object avoidance for robots | Obstacle Detection |
| KY-033 | Line Follower | IR reflection sensor | Follows black/white line | Skipped (robot) |
| KY-034 | 7-color Flash LED | Cycles colors automatically | Decoration or indicator | 7 Color RGB |
| KY-035 | Magnetic Hall Sensor | Detects magnet presence | Magnetic switch | Skipped (analog) |
| KY-036 | Metal Touch Sensor | Detects touch via capacitance | Touch input | Touch Detector |
| KY-037 | Large Microphone | Detects sound levels | Sound-activated projects | Skipped (analog) |
| KY-038 | Small Microphone | Smaller version of KY-037 | Sound detection | Skipped (analog) |
| KY-039 | Heartbeat Sensor | Optical pulse detector | Heart rate measurement | Skipped (analog) |
| KY-040 | Rotary Encoder | Detects rotation and direction | Volume knob, position sensing | Value Control |
| Traffic Light | LED Traffic Light Module | Three LEDs (red, yellow, green) | Simulates traffic lights | Traffic Light |
| DHT22 | DHT22 Temperature Sensor | Temp & humidity digital sensor | More accurate weather sensing | Temperature Sensor |
| BME280 | BME280 Barometric Sensor | Temp, humidity, pressure sensor | Environmental sensing | Temperature & Pressure Sensor |
Missing Numbers
- KY-007: 3 color LED (Missing / Rare) - often replaced by KY-009 or KY-016
- KY-014: Not used
- KY-030: Tilt Switch (Duplicate of KY-017)
Missing in Inventory
- KY-008: Laser Emitter
- KY-027: Magic Light Cup
- KY-005: IR Transmitter (dead)
By using multiple sensors together, more complex projects can be built. See the projects/iot folder for ideas and code examples.
Some examples:
| Project | Description |
|---|---|
| Flame Detector | Uses a flame sensor to detect fire and trigger an alarm. |
| Magnetic Proximity Alert | Uses hall sensors to detect nearby magnets and trigger alerts. |
| Pulse Monitor | Uses a heartbeat sensor to monitor and display pulse rate. |
| Rotor Buzzer | Uses a rotary encoder to control buzzer frequency. |
| Sound Level Alarm | Uses a microphone to monitor sound levels and trigger an alarm. |
| Touch Detector Alarm | Uses a touch sensor to trigger an alarm when touched. |
| Temperature & Humidity Monitor | Uses a DHT22 sensor to monitor and display temperature and humidity. |
See future project ideas under development in the projects/iot/README.md file.
Here are my RTL-SDR projects:
| Project | Description | Link |
|---|---|---|
| Airband Listening | Listen to VHF aircraft communications (118–136 MHz, AM). | Airband |
| Airport Weather Info (ATIS) | Receive automated airport weather broadcast (ATIS). | Airport Weather Info |
| Digital Radio | Receive DAB/DAB+ digital radio stations. | Digital Radio |
| Flight Tracking (ADS-B) | Track aircraft with dump1090 and view live flight data. | Flight Tracking (ADS-B) |
| FM Radio | Listen to FM radio stations (87.5-108 MHz, WFM). | FM Radio |
| International Space Station | Receive APRS packets from the ISS. | International Space Station |
| Marine AIS | Track ships with AIS receivers and software. | Marine AIS |
| Weather Satellites | Receive and decode images from weather satellites. | Weather Satellites |
See setup for RTL-SDR in the Setup file.
I recently developed a strong interest in electronics and IoT, which led me to start collecting various sensors, modules, and radio transceivers to experiment with. This repository contains a collection of the projects I build while exploring and working with these components.