Page 1 of 1

Wemos LOLIN ESP32 Lite Revision1 - All 6 analog pins?!?

Posted: Wed Apr 18, 2018 10:49 am
by goochy
Hello,

I hope someone can shed some light on how to use all 6 of the analog pins?

I have found 4 that work with an LDR with 10k ohm resistor to ground. The four I have found to work this way are;
GPIO32
GPIO33
GPIO34
GPIO35
work but which ones are the other and what is needed to make them work with an LDR?

Cheers,

Re: Wemos LOLIN ESP32 Lite Revision1 - All 6 analog pins?!?

Posted: Fri Apr 20, 2018 7:41 am
by chrisb2
From the schematic on wemos wiki looks like you should try the pins labeled UP (pin 36) and UN (pin 38) these are connected to adc1:0 and adc1:3 respectively.

https://wiki.wemos.cc/_media/products:l ... v1.0.0.PSG

Re: Wemos LOLIN ESP32 Lite Revision1 - All 6 analog pins?!?

Posted: Fri Apr 20, 2018 8:52 pm
by chrisb2
With loboris fork of Micropython you may be able to use more than 6 ADC inputs if that helps.

https://github.com/loboris/MicroPython_ ... o/wiki/adc

regards,
Chris

Re: Wemos LOLIN ESP32 Lite Revision1 - All 6 analog pins?!?

Posted: Sun Apr 22, 2018 7:37 pm
by goochy
G'day,

Thanks ChrisB, your first posts link doesn't resolve, it appears that Wemos has changed the page.


I will look closely at Boris Lovosevic notes, see if I can fathom what is needed to get an LDR to work on GPIO 36-39.

Many thanks for your reply, much appreciated.


Cheers,

Re: Wemos LOLIN ESP32 Lite Revision1 - All 6 analog pins?!?

Posted: Sun Apr 22, 2018 8:28 pm
by chrisb2

Re: Wemos LOLIN ESP32 Lite Revision1 - All 6 analog pins?!?

Posted: Sun Apr 22, 2018 11:29 pm
by goochy
G'day ChrisB2,

Yes I have that schematic, I have to admit it doesn't help me much :) as I am very new to all this.

With your earlier helpful post, I have now got all six pins 32,33,34,35,36 and 39 working with LDRs singularly, now need to see if they all work together with WIFI as well.



Cheers,