@seb Dear all,
Thank for your advise. I finally ordered an Extention boead that I just received. I will test my project. I think your previous statements are available for the extention board. Then just would like to have an advise to avoid burning my LoPy4 :o)
So I can resume as the following
But does P14 (Switch) and P16 (VBAT) P19 (RTS) and P20 (CTS) can be used as ADC as well, as they look like reserved for VBAT, RTS, CTS, etc...)?
I supposed I do not need a converted Analog to Digital? Can I directly connect my Analog input?
I will try this schema which is my favorite
WMx are the moisture sensor.
I first will try with one sensor. Then I will conect A1 to P13
D1 and D2 and two digital output, when D1 is HIGHT, D2 is LOW. D1 must be 3.3V. I will have to programm LyPo4 to altenate D1 and D2 to avoid corrostion and make an average of the result....
Then I can use P6 and P7 for D1 and D2? P6 and P7 look like free and not use....
Then later, I will use 3 of the WM. Then I can connect A2 to P15 and A3 to P17
P18 can be reserved for a 4 sensors.
IF all is correct, I will have another problem, because I would need (not sure) two more Analog measure. Then can P19 and P20 be used? What will be the impact on RTC and CTS?
Or, can I use P19 or P20 as digital inpout (waterproof temperature sensor)
P16 confused me because , its states 'VBAT'. What does it meens? It's a VBAT output?
I am also a bit confused about P14
if you are not using this then you are ok to connect something else to it
P14 could be the output the measure when the button is pressed?
Or, can I use as Digital Input for Rain gauge (magnetic switch)?
Many, many thank for your clarification, it's help! (I hope, I was clear :o). )
Have a nice week-end!