Page 1 of 1

s0 Counter

Posted: 29 Dec 2024, 18:17
by pietvdbroek
Hello everyone, let me introduce myself, my name is Piet and I am an installation engineer. Now I am working on the next project. I would like to read 16 pulse meters in Domoticz via the Raspberry Pi. Now I have found a diagram on the internet with a 5k6 resistor and a 10k resistor. resistance, is there someone who can help me get all this going, even the connection with domoticz does not work

Re: s0 Counter

Posted: 29 Dec 2024, 19:57
by TD-er
S0 is typically the transistor output of an optocoupler.
So you need some resistor to allow the level to be pulled to some known level (either GND or 3V3)

There have been multiple topics about this on the forum, like this one:
viewtopic.php?t=9121

Re: s0 Counter

Posted: 30 Dec 2024, 10:24
by Ath
When using a Raspberry Pi to run RPiEasy, I would first work on getting RPiEasy to run properly on the RPi.
Then get the connection to Domoticz working as intended either via HTTP or MQTT (you'll need a MQTT broker like Mosquitto). You could use a temperature sensor like a BME280 or BMP280 connected via I2C, to have something simple that produces a regular stream of data.
And once that's running smoothly, concentrate on interfacing the 16 meters to the RPi. RPiEasy has a pulse counter plugin available.