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

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
goochy
Posts: 12
Joined: Tue Apr 17, 2018 9:58 am

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

Post by goochy » Wed Apr 18, 2018 10:49 am

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,

chrisb2
Posts: 28
Joined: Sat Apr 01, 2017 4:19 am

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

Post by chrisb2 » Fri Apr 20, 2018 7:41 am

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

chrisb2
Posts: 28
Joined: Sat Apr 01, 2017 4:19 am

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

Post by chrisb2 » Fri Apr 20, 2018 8:52 pm

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

goochy
Posts: 12
Joined: Tue Apr 17, 2018 9:58 am

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

Post by goochy » Sun Apr 22, 2018 7:37 pm

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,

chrisb2
Posts: 28
Joined: Sat Apr 01, 2017 4:19 am

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

Post by chrisb2 » Sun Apr 22, 2018 8:28 pm


goochy
Posts: 12
Joined: Tue Apr 17, 2018 9:58 am

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

Post by goochy » Sun Apr 22, 2018 11:29 pm

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,

Post Reply