Can esp32 with EspEasy not multitask?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Can esp32 with EspEasy not multitask?

#11 Post by TD-er » 26 Jul 2018, 18:28

power-dodge wrote: 25 Jul 2018, 20:03 Thanks for the answer.

It's about ESP32.
He has a lot more pins, so 16 and 17 not normal with PWM usable?

Thank you
Oh sorry, I missed that part about the ESP32.
I have not performed a lot of tests with ESP32.
So maybe there could be some "ESP8266-logic" left in the code about what pins to use and what not.

power-dodge
Normal user
Posts: 19
Joined: 02 Jun 2018, 22:02

Re: Can esp32 with EspEasy not multitask?

#12 Post by power-dodge » 27 Jul 2018, 15:22

Hello,

yes, the bad functioität the pin control I can confirm again.

Some pins can not be set to 0 via PWM and GPIO.

If you set the pins to 0 by rules when starting, then there are sporadically other pins that can not be set to 0.

These pins they can not go but put on PWM 1. But it's easy for consumers to shine.

This behavior I have also on several ESP32 and quite edentisch.

greeting

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: Can esp32 with EspEasy not multitask?

#13 Post by LisaM » 02 Aug 2018, 22:49

power-dodge wrote: 27 Jul 2018, 15:22 Hello,

yes, the bad functioität the pin control I can confirm again.

Some pins can not be set to 0 via PWM and GPIO.

If you set the pins to 0 by rules when starting, then there are sporadically other pins that can not be set to 0.

These pins they can not go but put on PWM 1. But it's easy for consumers to shine.

This behavior I have also on several ESP32 and quite edentisch.

greeting
The ESP32 is NOT an extra size ESP8266, but behaves completely different. Some pins cannot be programmed to be input and others cannot be programmed to be output. I fell into that trap, ruining my prototype (scratched the pcb and started over again).
For pwm it’s the same, some pins can do pwm while others cannot. Just like I2C: some pins are hardware I2C, while others are software I2C (hw is twice the speed).
Take a look at an ESP32 pinout like this one (wroom32 type): https://goo.gl/images/RXWicF
You’ll need to understand what each label on every pin means! If not you’ll be searching what went wrong for a very long time.

Cheers,

Lisa

power-dodge
Normal user
Posts: 19
Joined: 02 Jun 2018, 22:02

Re: Can esp32 with EspEasy not multitask?

#14 Post by power-dodge » 04 Aug 2018, 13:04

Helo,

thanks for answer.

I will use ESP01 with mcp23017, i hope this have more speed and works with PWM. (Dimming)
Or funktional it on ESP32 good?

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests