Page 1 of 1
Analog value possible true GPIO?
Posted: Monday 09 December 2019 8:14
by Kest
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.
Re: Analog value possible true GPIO?
Posted: Monday 09 December 2019 8:31
by waaren
Kest wrote: ↑Monday 09 December 2019 8:14
is it possible to read a analog value with a gpio pin?
Did you see
this ? Too complicated for me but I am not much of a hardware guy.
Re: Analog value possible true GPIO?
Posted: Monday 09 December 2019 8:48
by Kest
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.
Re: Analog value possible true GPIO?
Posted: Monday 09 December 2019 8:53
by freijn
Kest,
Have a look into a NodeMCU and easpeasy, a few euro's and running within 30 min.
Re: Analog value possible true GPIO?
Posted: Monday 09 December 2019 11:30
by Kest
freijn wrote: ↑Monday 09 December 2019 8:53
Kest,
Have a look into a NodeMCU and easpeasy, a few euro's and running within 30 min.
True, butt everything is within 4 meters of the RPI.
Re: Analog value possible true GPIO?
Posted: Tuesday 10 December 2019 8:10
by freijn
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