The best input and output pins on the NodeMCU ESP32 and ESP8266

The best input and output pins on the NodeMCU ESP32 and ESP8266

The Hook Up

5 лет назад

115,398 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Rudd-O
Rudd-O - 12.08.2023 15:37

Wow. I never imagined Terry Silver from Karate Kid 3 would teach me so much about GPIO in ESP boards, but here we are. Thanks, Terry! This was super useful! 🙂

Ответить
Boopesh kumar
Boopesh kumar - 20.02.2023 23:51

How to use gpio15 for relay in esp8266

Ответить
Nathan Seager
Nathan Seager - 08.02.2023 18:28

Thanks!

Ответить
ClickMe
ClickMe - 06.11.2022 21:19

on the esp8266.. pins 0-14.. when you say pins high on boot... what is the pinMode of the pins at boot.. is this input high through the internal pullup resistor or output high.. because if they are digital outputs at boot and I connect a module or what not set as output also to those pins.. that would short the pins to ground/vcc vice versa when pins source or sink currents. which might burn the pins..

Ответить
Marc
Marc - 06.10.2022 18:23

Wow Rob, I cannot believe this was 4 years ago! Still useful as a reference.

Ответить
Saul Warren
Saul Warren - 10.09.2022 04:02

very helpful thank you sir

Ответить
Bryan Turner
Bryan Turner - 27.01.2022 18:08

Hi, Great video, Is it possible to add a normal on off switch to the board to turn the output on/off? Many Thanks

Ответить
Al DIY
Al DIY - 19.12.2021 20:15

Hello , Could some one please clarify what is the output voltage of ESP32 NodeMCU GPIO4,GPIO16 and GPIO36 ? is it 5v or 3.3 V? When doing LEDs projects , some people suggest we us logic level shifter to control 5V led ( 300 of them using WLED ) , Please help as I tested those pins and they are close to 5V

Ответить
ionut aurelian
ionut aurelian - 21.11.2021 12:01

Hello you cane make a video for analog sensor to start some output in diferent value ????

Ответить
Richard Hall
Richard Hall - 29.09.2021 15:56

Hi Rob, I'm looking to use the ESP8266 with WLED in my permanent LED light setup and i wanted to know if there is a limit on how many IC(Integrated Circuit) Chips each Node MCU can handle? Thanks as always for all the great information!

Ответить
Rajesh Jaswal
Rajesh Jaswal - 31.08.2021 16:07

Awesome info!

Ответить
Dhruva Jindal
Dhruva Jindal - 23.06.2021 13:18

esp 32 and esp 32 nodemcu are different right?

Ответить
adity7001
adity7001 - 18.06.2021 07:57

collection of useful information. Thank you.

Ответить
Fred Flintstone
Fred Flintstone - 24.05.2021 05:56

one can easily convert a pwm output to an analog output by adding a capacitor. In order to know what value the cap should be one will have to apply some knowledge of electronics or experimentation. What happens is that the square pulse will charge the cap to a level equivalent to the amount of current flowing out of the cap due to the amount of load. The greater the duty cycle (percent on time), the higher the voltage level that is provided. Think if it like filling a bucket with water with short pulses of water.. full on, full off.. The level of the water in the bucket (voltage) will depend on the size of the hole in the bottom of the bucket (load) as well as the amount of time the water bursts refilling the bucket are 'on'.. (greater duty cycle = higher voltage)

Ответить
Smart Life Enthusiast
Smart Life Enthusiast - 28.04.2021 11:42

What are usual resistor values for pull-up or pull-down resistors?

Ответить
xana mata
xana mata - 25.03.2021 17:13

nice presentation

Ответить
Austin Esquirell
Austin Esquirell - 10.03.2021 23:22

You are absolutely a hero - Thanks for figuring this out!

Ответить
Patrick Conroy
Patrick Conroy - 03.03.2021 09:21

fantastic

Ответить
Sayidatul Hamzah
Sayidatul Hamzah - 20.02.2021 19:25

Can the vibration motor be connected to the NODEMCU ESP32?

Ответить
Neil Barnett
Neil Barnett - 13.02.2021 01:32

Since this video was released, there have been far more libraries released for the ESP32. I have not wanted to do something and found that there isn't a library for it in the past year. I even found a nice ESPencoder library that uses... something inside that the other processors don't have (can you tell I've forgotten what!).

Ответить
Stephen Herbert
Stephen Herbert - 09.01.2021 11:56

The video shows a Pull up resistor Green, Blue, Orange = 56K. Is this the correct value to use? How many mA goes into a GPIO input on an ESP32. Thanks for a great video.

Ответить
Melanie P.
Melanie P. - 02.01.2021 18:53

Just checked the digital pins on my NodeMCU and I'm getting 3.3V from most of the digital pins even when my code (digitalWrite) is set to low for that pin. Any reason I should be getting voltage from these pins whenever I power up the board?

Ответить
Coxy's Railroading
Coxy's Railroading - 28.12.2020 19:08

Best device comparison for the ‘32 and ‘8266 devices. Thx for sharing!

Ответить
madskillz1o1
madskillz1o1 - 07.12.2020 11:41

Wonderful video, thank you very much for the information. Exactly what I was looking for.

Ответить
Mahesh
Mahesh - 04.12.2020 20:53

esp32 adc is very noisy when on battery and almost useless.

Ответить
Pablo Figueroa
Pablo Figueroa - 01.12.2020 18:05

Great video man. Keep on.

Ответить
Craig Robbo
Craig Robbo - 25.11.2020 20:23

Do you knkow if analogwrite has been implimented into the arduino IDE yet?

Ответить
Eric Gonzalez
Eric Gonzalez - 17.09.2020 16:23

Thanks for the great video. I found it very informative. You explained it very well.

Ответить
ต้นชวลิตCharlie ดุรงค์พิศิษฏ์กุล
ต้นชวลิตCharlie ดุรงค์พิศิษฏ์กุล - 14.09.2020 14:52

The best explanation, thank you

Ответить
Phil Lowe
Phil Lowe - 13.09.2020 16:33

Very very handy. First time I came across your channel. Now subscribed. Won't be long before I'm switching my boiler on (or off) from my phone in bed on unexpected cold nights. 😉👍

Ответить
wouladje cabrel wen
wouladje cabrel wen - 31.08.2020 19:49

Thank you for this video you got a new follower

Ответить
Tarcisio Menezes
Tarcisio Menezes - 20.08.2020 10:17

you're the best! great video my friend!! thanks (y)

Ответить
mst274
mst274 - 21.06.2020 09:27

Excellent and trully educational video! Would it be possible to combine esp8266 with I/O and analog expansion boards such as MCP23017, pf8574 and ADS1115 and copare it with esp32 native pins. Reliability, simplicity and power consumption would be an interesting comparison.....

Ответить
Andreas Podlich
Andreas Podlich - 31.05.2020 14:34

Oh. Values are incorrect.
10 bits are 0 - 1023 (You said 1024) and the 12 bit from the ESP32 is 0-4095 not 4096.
Just saying. Nice video still :)

Ответить
Darko Vulin
Darko Vulin - 22.05.2020 01:03

Thank you from Croatia.

Ответить
Declin Maglasang
Declin Maglasang - 12.05.2020 10:23

hi sir, How can i put a constant Hz for the PWM, i need 60Hz , what is the code ill put to make a constant PWM?

Ответить
Ahmed Belfakir
Ahmed Belfakir - 11.05.2020 13:19

Thanks by the way for the explanation

Ответить
Ahmed Belfakir
Ahmed Belfakir - 11.05.2020 13:19

Hi man please can we tasmotise the esp32 chip

Ответить
TOM TOM
TOM TOM - 19.04.2020 18:45

Thanks

Ответить
Amped and Volted
Amped and Volted - 22.03.2020 11:45

Again, the most useful video for esp I have seen. Thanks for this quality content.

Ответить
Doug Coulter
Doug Coulter - 02.03.2020 21:10

Useful cheat sheet, thanks!

Ответить
miguel
miguel - 25.02.2020 19:55

Big help

Ответить
Amped and Volted
Amped and Volted - 31.01.2020 17:10

Most useful video I'v seen today

Ответить
Francisco J. Gómez
Francisco J. Gómez - 18.01.2020 02:29

This video explains why I failed in many of my projects, Thanks from Colombia.

Ответить
Fabio Cardoso
Fabio Cardoso - 29.12.2019 00:51

Awesome explanations. Because of that, I have just subscribed your channel. Thank you.

Ответить
Andy Muntz
Andy Muntz - 04.12.2019 21:38

so i need to use a NodeMCU ESP32 with an IC2 display for local reading and remote reading via web for a analog ph sensor and a DS18B20 Temperature Sensor and cannot for the life of me get it to work can you help?

Ответить
Diego Ferreira
Diego Ferreira - 10.11.2019 20:48

I use esp32 and can't pull down pin no 5.

Ответить
Easy Now
Easy Now - 06.11.2019 16:59

Perfect! i wish this video was uploaded half year before..it would save me tons of time..
I think a very good add on to this, would be a video about available I2C and SPI channels to esp8266, esp32 and esp32-cam (which expose less pins)

Ответить
ProAiming
ProAiming - 09.10.2019 22:28

Fantastic video!

Ответить