Skip to content
Connecting Sensors
- Line Sensor:
- wiring:
- Grey=OUT -> pin 0 “D”
- White=VCC -> pin 0 “V”
- Black=GND -> pin 0 “G”
- Temp/Humidity sensor:
- wiring:
- Purple= DATA (nearest “S”, left-most pin) -> GPIO 7 “D”
- Blue= VDD (middle pin) -> GPIO 7 “V”
- Green = GND (nearest “-“, right-most pin) -> GPIO 7 G”
- Distance Sensor:
- wiring:
- Red = TRIG -> GPIO 5 “D”
- Brown = VCC -> GPIO 5 “V”
- Yellow = GND -> GPIO 5 “G”
- Orange = ECHO -> GPIO 6 “D”