I2C pins on NodeMCU-32S

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
ttmetro
Posts: 104
Joined: Mon Jul 31, 2017 12:44 am

I2C pins on NodeMCU-32S

Post by ttmetro » Mon Jul 31, 2017 1:18 am

Anybody knows the pin numbers of the I2C bus on the NodeMCU-32S (probably identical to Espressiv Dev Board, but not sure)?
I expected
SCL on GPIO22 and
SCK on GPIO21
but scan does not find any devices I2C connected to these pins. This does work with the WiPy 2.0 (pins are different).

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: I2C pins on NodeMCU-32S

Post by deshipu » Mon Jul 31, 2017 12:16 pm

Did you forget to add pullup resistors?

ttmetro
Posts: 104
Joined: Mon Jul 31, 2017 12:44 am

Re: I2C pins on NodeMCU-32S

Post by ttmetro » Wed Aug 02, 2017 11:16 pm

No - I'd specified the pins incorrectly. Now it's working.

Almafa65
Posts: 2
Joined: Thu Jun 22, 2017 11:36 am

Re: I2C pins on NodeMCU-32S

Post by Almafa65 » Wed Sep 13, 2017 5:36 am

Hi! ttmetro
Hi!
I have the same problem with my ESP32 with I2C.
How do You get it working?

wr300000
Posts: 32
Joined: Sun Jan 14, 2018 3:54 pm

Re: I2C pins on NodeMCU-32S

Post by wr300000 » Sun Jan 14, 2018 4:15 pm

pls ignore my post, I do not know how to delete my post.
Last edited by wr300000 on Thu May 24, 2018 10:49 pm, edited 1 time in total.

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: I2C pins on NodeMCU-32S

Post by OutoftheBOTS_ » Sat Jan 20, 2018 8:17 am

For ESP32 boards this is the only instructions that seem to work for ESP32 firmware and flashing it using windows compouter istead of Linux computer

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: I2C pins on NodeMCU-32S

Post by pythoncoder » Sat Jan 20, 2018 8:21 am

OutoftheBOTS_ wrote:
Sat Jan 20, 2018 8:17 am
For ESP32 boards this is the only instructions that seem to work for ESP32 firmware and flashing it using windows compouter istead of Linux computer
Did you mean this forum post?
Peter Hinch
Index to my micropython libraries.

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: I2C pins on NodeMCU-32S

Post by OutoftheBOTS_ » Sat Jan 20, 2018 10:20 am

@pythoncoder Yes. I played around with lots of instructions and never managed to get ESP32 firmware to compile on windows machine and ended up getting old laptop and installing linux just to be able to compile ESP32 Micropython firmware. Laboris new added instructions for windows build seem to be the first that I have found to work.

I have just noticed that I forgot to add the link to it ha ha ha. Thanks for adding it

Post Reply