switch 0-1
Overview & Specifications
[Digital Switch (0-1)] A simple digital ON/OFF switch. When the switch is in the NO position, the output is pulled to GND (0V) -> reads 0; when the switch is in the YES position, the output is pulled to VCC (3.3V) -> reads 1.
Features:
- Simple digital pin
- Reliable mechanical switching
- Easy to interface
Wiring Instructions:
- VCC / GND / OUT: Connect OUT to any digital GPIO pin
Logic:
- Switch = NO -> OUT = GND (0V) -> reads 0
- Switch = YES -> OUT = VCC (3.3V) -> reads 1
Protocol:
- Digital GPIO
Project Ideas:
1. Door/Window Open-Close Detection
2. Manual Override Switch
3. Limit Switch for Motors
4. Toggle Input for State Machines
Reference Link:
https://oceanremote.net/sensors/sensor_switch_0_1/
Pin Connections
GND
OUT
VCC