9. Connection distance sensor
Sharp GP2Y0A02YK0F sensor allows measurements of distances in the range of 20 to 150
cm by using infrared reection.
It can be connected to the inputs INPA1÷INPA6, set to 3.3V.
For a + 5V power supply output voltage will be highest for 20 cm (about 2,9V) and will
decrease as the distance.
The outputs of the counter: "S–" is connected to GND, and the "S+" to logic inputs
INP1D÷INP4D. In the "Power / Energy" choose the correct input on the menu, and then in the
window below, enter conversion imp / kWh, which is characterized by a connected counter.
red
yellow
black
10. Energy measurement by means counter with pulse output
20
+ –
1 2 4
21
INP1D÷INP4D
GND
GND
INPA1÷INPA6
+5V