hello,
is it possible to read a analog value with a gpio pin? is want to monitor the light intensity so i can switch the lights according. now i am using the digital out pin set to a certain darkness. butt this is not accurate enough for me.
thanks for the help.
Analog value possible true GPIO?
Moderators: leecollings, remb0
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Analog value possible true GPIO?
Did you see this ? Too complicated for me but I am not much of a hardware guy.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 7
- Joined: Friday 25 October 2019 13:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Arnhem
- Contact:
Re: Analog value possible true GPIO?
hello,
Wow that looks interesting butt way to complicated, good last resort. Butt i was thinking about " MCP23017 I2C Interface 16bit I/O" because it has the capability to read in analog value's. Butt is domoticz capable to use the analog value's from the I/O extender.
Wow that looks interesting butt way to complicated, good last resort. Butt i was thinking about " MCP23017 I2C Interface 16bit I/O" because it has the capability to read in analog value's. Butt is domoticz capable to use the analog value's from the I/O extender.
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Analog value possible true GPIO?
Kest,
Have a look into a NodeMCU and easpeasy, a few euro's and running within 30 min.
Have a look into a NodeMCU and easpeasy, a few euro's and running within 30 min.
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Analog value possible true GPIO?
I have 2 Nodemcu within 1 meter of my RP.
In the past I have blown 2 Nodemcu due to a thinking / connection failure. Me making a mistake.
Just grabbed a new Nodemcu, changed the wiring and back in bussiness. With the 6 euro on the Nodemcu the smile didn't dissapear.
Make a mistake with your RP is different koek.
So, my view... messing around with the GPIO might hurt the RP hardware which I like to avoid by using the Nodemcu.
I like the galvanic isolation so much....
my 2 cents..
Frank
In the past I have blown 2 Nodemcu due to a thinking / connection failure. Me making a mistake.
Just grabbed a new Nodemcu, changed the wiring and back in bussiness. With the 6 euro on the Nodemcu the smile didn't dissapear.
Make a mistake with your RP is different koek.
So, my view... messing around with the GPIO might hurt the RP hardware which I like to avoid by using the Nodemcu.
I like the galvanic isolation so much....
my 2 cents..
Frank
Who is online
Users browsing this forum: No registered users and 1 guest