-
Notifications
You must be signed in to change notification settings - Fork 1
Wires
Eric edited this page Aug 30, 2013
·
8 revisions
Output leads: red (VCC), white (DATA), black (GND)
hongkong probes red green yellow
3.5mm jack back top middle
Short leg means GND, sometimes put a 220 Ohm resistor in line
Put the GPIO to GND with a 10K to keep it low, join that to the base of the transistor via a 1k (to limit the current), and connect the emitter to ground. The other wire goes to the relay.
Connect to GND, and the vcc to the 5v rail so it can power the clicker The input channels to the relay go to the collector of the transistor, that gets switched to GND by the GPIO pin going HIGH
These are grounded through a small resistor and a big resistor currently 1k then 4.7k, the switch (or flow meter) is wired between them and to GND, when it closes it brings the GPIO to ground through the load of the 1k resistor
Item Purpose PCB Pin UTP Colour Connector Pin Connector UK Probe HK Probe
Relay GND 1 Brown 1 4A
R1 2 Green 2
R2 3 Blue 3
5V 4 Orange 4
DS18B20 GND 1 Brown 1 5A Black Yellow
Data 2 Green Solid 2 White Green
Vcc 3 Green + White 3 Red Red
Flow Meter Signal 1 Blue 4
Vcc 2 Orange 5
