Support for ESP32 - the story so far
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Support for ESP32 - the story so far
Hi !
Tomorrow is the day ... Release time for the long awaited ESP32.
Did you think about get the ESPEasy project ported to the new hardware?
regards
Dominik
Tomorrow is the day ... Release time for the long awaited ESP32.
Did you think about get the ESPEasy project ported to the new hardware?
regards
Dominik
Last edited by moelski on 27 Oct 2016, 05:02, edited 1 time in total.
regards
Dominik
Dominik
-
- Normal user
- Posts: 507
- Joined: 21 Nov 2015, 15:03
- Location: SW-Netherlands, NB
Re: Support for ESP32 planned?
I think it is not on the developer(s) of ESPEasy to make support for the ESP32.
ESP's working in the Arduino IDE are the work of 'Igrr' found at https://github.com/esp8266/Arduino
ESP's working in the Arduino IDE are the work of 'Igrr' found at https://github.com/esp8266/Arduino
-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Re: Support for ESP32 planned?
Hi costo,
I think the ESP32 has much more hardware on board. So from my point of view the source code has to be adopted to the new hardware.
Dominik
That´s correct. But to have a working ESP32 in the Arduino IDE did not automatically mean that it works with the ESPEasy Code.ESP's working in the Arduino IDE are the work of 'Igrr'
I think the ESP32 has much more hardware on board. So from my point of view the source code has to be adopted to the new hardware.
Dominik
regards
Dominik
Dominik
-
- Normal user
- Posts: 507
- Joined: 21 Nov 2015, 15:03
- Location: SW-Netherlands, NB
Re: Support for ESP32 planned?
I think you run too fast.
First there needs to be a working ESP32 library set which can be used with the Arduino IDE.
First there needs to be a working ESP32 library set which can be used with the Arduino IDE.
-
- Normal user
- Posts: 32
- Joined: 15 Sep 2016, 13:46
Re: Support for ESP32 planned?
Espressif have now released Arduino core for ESP32:
https://github.com/espressif/arduino-esp32
Just in case someone here have missed that fact.
https://github.com/espressif/arduino-esp32
Just in case someone here have missed that fact.
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: Support for ESP32 planned?
ah nice fact.Gamester17 wrote:Just in case someone here have missed that fact.
And did you give it a test run?
Any results that are worth to mention?
-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Re: Support for ESP32 planned?
Hi !
Just got my Nano32 last week and this week I get a ESP32 module (without dev board).
I will give compiling ESPEasy a try ... but honestly ... I don´t think all stuff will work.
There are some big differences in ESP8266 and ESP32 (the biggest is the existence of RTOS in ESP32).
And then we have the IO Routing in the ESP32 ... and btw .. a lot more free GPIO pins
Hope to get a first test compile done until the upcoming weekend.
Keep you informed here about the results
Just got my Nano32 last week and this week I get a ESP32 module (without dev board).


There are some big differences in ESP8266 and ESP32 (the biggest is the existence of RTOS in ESP32).
And then we have the IO Routing in the ESP32 ... and btw .. a lot more free GPIO pins

Hope to get a first test compile done until the upcoming weekend.
Keep you informed here about the results

You do not have the required permissions to view the files attached to this post.
regards
Dominik
Dominik
-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Re: Support for ESP32 - the story so far
Hi @all,
ESP32 - First Tests with ESPEasy
ok this morning I gave the ESP32 a try
As mentioned yesterday I have a Nano32 board (and a ESP32 modul).
1. Setup the dev environment with Arduino
https://github.com/espressif/arduino-esp32
2. Run Blink
Then I started with a simple Blink test and an external LED ob GPIO17. Works
btw ... GPIO17 = Pin17. This would be a dream come true ... No differenet numberings für GPIO and Hardware Pins
3. Run WifiScan Example
Next test was to run a Wifi Sample to see if the Wifi stuff is working ...
And it works, too:
Well I had hopes that it run from the first compile
But you guess ... things change
First of we have libs that have ESP8266 in the filename like ESP8266WiFi.h. Changing this is an easy task ...
But then there was a show stopper ... The lib DNSServer is not part of the Arduino ESP32 SDK.
But hey ... DNS is not so important ... So let´s try to comment it out ...
fatal error: WebServer.h: No such file or directory
And that´s where the story ends (for now). Maybe we can live without DNS support, but without a working WebServer ... well ... It´s like a printer without ink
So for now there is no (easy) way to get ESPEasy running on an ESP32. But hey ... The Arduino ESP32 stuff is a very young project.
And I think they will add the missing stuff, soon (hopefully)
ESP32 - First Tests with ESPEasy
ok this morning I gave the ESP32 a try

1. Setup the dev environment with Arduino
https://github.com/espressif/arduino-esp32
2. Run Blink
Then I started with a simple Blink test and an external LED ob GPIO17. Works

btw ... GPIO17 = Pin17. This would be a dream come true ... No differenet numberings für GPIO and Hardware Pins

3. Run WifiScan Example
Next test was to run a Wifi Sample to see if the Wifi stuff is working ...
And it works, too:
4. Give it a run with ESPEasyscan start
scan done
2 networks found
1: HomeSweetHome (-48)*
2: WLAN-261367 (-95)*
Well I had hopes that it run from the first compile


First of we have libs that have ESP8266 in the filename like ESP8266WiFi.h. Changing this is an easy task ...
But then there was a show stopper ... The lib DNSServer is not part of the Arduino ESP32 SDK.

But hey ... DNS is not so important ... So let´s try to comment it out ...

fatal error: WebServer.h: No such file or directory
And that´s where the story ends (for now). Maybe we can live without DNS support, but without a working WebServer ... well ... It´s like a printer without ink

So for now there is no (easy) way to get ESPEasy running on an ESP32. But hey ... The Arduino ESP32 stuff is a very young project.
And I think they will add the missing stuff, soon (hopefully)

regards
Dominik
Dominik
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: Support for ESP32 - the story so far
Thanks for testing.moelski wrote:Hi @all,
........
So for now there is no (easy) way to get ESPEasy running on an ESP32. But hey ... The Arduino ESP32 stuff is a very young project.
And I think they will add the missing stuff, soon (hopefully)
I' m interested in the power use of the ESP32, have you had the change measure it?
Of course difficult without connection, I know

-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Re: Support for ESP32 - the story so far
Hi !
So I assume the Wifi part is switched on.
I have ~125mA with the onboard LED off and ~127mA with the Onboard LED turned on.
But keep in mind that I use a Nano32 which has a lot onboard stuff like a UART / USB interface and a power LED ...
So a plain ESP32 modul could be lower (at least a little).
And I use the 5V input. So there is a voltage regulator involved. The ESP works at 3.3V ...
I flashed a WifiScanner and let the LED flash during each scan.have you had the change measure it?
So I assume the Wifi part is switched on.
I have ~125mA with the onboard LED off and ~127mA with the Onboard LED turned on.
But keep in mind that I use a Nano32 which has a lot onboard stuff like a UART / USB interface and a power LED ...
So a plain ESP32 modul could be lower (at least a little).
And I use the 5V input. So there is a voltage regulator involved. The ESP works at 3.3V ...
regards
Dominik
Dominik
-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Re: Support for ESP32 - the story so far
Arduino-ESP32 ...
Yesterday I asked the developers when DNS and Webserver are implemented:
https://github.com/espressif/arduino-esp32/issues/27
It seems that there are general problems with the network which have to be fixed first ...
So we have to stay tuned on this
Yesterday I asked the developers when DNS and Webserver are implemented:
https://github.com/espressif/arduino-esp32/issues/27
It seems that there are general problems with the network which have to be fixed first ...
So we have to stay tuned on this

regards
Dominik
Dominik
-
- Normal user
- Posts: 734
- Joined: 22 Dec 2015, 15:46
- Location: Germany
Re: Support for ESP32 - the story so far
where did your esp32 came from? aliexpress?
-
- Normal user
- Posts: 497
- Joined: 04 Oct 2016, 23:16
Re: Support for ESP32 - the story so far
Just got this article http://www.esp32.com/viewtopic.php?t=339 which I understood ESP3212 moduel has been cancelled (?) and new one named ESP32S is just come out.
I've checked eBay who seems to be the only site I can find the new chip on sale for 7.99$ http://www.ebay.com/itm/ESP-32S-WiFi-Bl ... rmvSB=true
I've checked eBay who seems to be the only site I can find the new chip on sale for 7.99$ http://www.ebay.com/itm/ESP-32S-WiFi-Bl ... rmvSB=true
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
-
- Normal user
- Posts: 35
- Joined: 05 Feb 2016, 07:33
Re: Support for ESP32 - the story so far
ESPEasy + ESP32 with Ethernet port or WiFi is my dream combination.
One probe to rule them all. 


-
- Normal user
- Posts: 22
- Joined: 26 Sep 2016, 14:03
Re: Support for ESP32 - the story so far
Yesterday, I received a Sparkfun ESP32 Thing.
Did some tests with the SDK, and had fun with the easter egg BASIC.
I was at least able to control an ESPEasy node by calling its event triggering URLs from the ESP32..
But there are still lots of things missing, that will hopefully be added in the coming 1.0 SDK.
The things that make the ESP32 more interesting than the ESP8266, like Ethernet, CAN, touch, ULP, etc. are still unsupported at this time.
They aren't even documented in the technical handbook.
Because of this, those functions are also missing in the Arduino board package.
BTW: Those modules are still in stock at exp-tech.de, and even cheaper than the NANO32s that they're selling on Ebay.
Did some tests with the SDK, and had fun with the easter egg BASIC.
I was at least able to control an ESPEasy node by calling its event triggering URLs from the ESP32..
But there are still lots of things missing, that will hopefully be added in the coming 1.0 SDK.
The things that make the ESP32 more interesting than the ESP8266, like Ethernet, CAN, touch, ULP, etc. are still unsupported at this time.
They aren't even documented in the technical handbook.
Because of this, those functions are also missing in the Arduino board package.
BTW: Those modules are still in stock at exp-tech.de, and even cheaper than the NANO32s that they're selling on Ebay.
-
- Normal user
- Posts: 22
- Joined: 26 Sep 2016, 14:03
Re: Support for ESP32 - the story so far
Jack Tan, the maker of the Noduino Quantum board (http://wiki.jackslab.org/Noduino_Quantum) has some interesting examples of how to use internal ESP32 hardware, that isn't yet documented and/or supported in the official SDK, like ADC, hall sensor, temperature sensor, etc.
Link to his githup fork: https://github.com/icamgo/esp-idf/tree/master/examples
Have fun.
Uhrheber
Link to his githup fork: https://github.com/icamgo/esp-idf/tree/master/examples
Have fun.
Uhrheber
-
- Normal user
- Posts: 11
- Joined: 29 Mar 2016, 21:21
- Location: Hilo, Hawaii
Re: Support for ESP32 - the story so far
Awesome! Can't wait for esp32 support... Once the SDK and Arduino support is more done it doesn't look too hard and the new features will be extensive.
For power usage the current Arduino environment is always at 160mhz so the power usage can be lowered some later when they give us the option to lower speed and I believe selectively put the wifi and main cores into sleep mode when not needed.
With the built in bluetooth we could even have it do fancy things like advertising it's IP address with the Bluetooth device name (although it might need to be time limited for security).
You could also create a bluetooth to wifi bridge very easily and then have make some sort of ultra low power bluetooth only nodes based on NRF52832 that could run for a few years on battery. Anyway just dreaming up the possibilities
The moat practical and easy to implement addition for me will be all the built in analog input pins!!
For power usage the current Arduino environment is always at 160mhz so the power usage can be lowered some later when they give us the option to lower speed and I believe selectively put the wifi and main cores into sleep mode when not needed.
With the built in bluetooth we could even have it do fancy things like advertising it's IP address with the Bluetooth device name (although it might need to be time limited for security).
You could also create a bluetooth to wifi bridge very easily and then have make some sort of ultra low power bluetooth only nodes based on NRF52832 that could run for a few years on battery. Anyway just dreaming up the possibilities

The moat practical and easy to implement addition for me will be all the built in analog input pins!!
-
- Normal user
- Posts: 44
- Joined: 01 Nov 2015, 10:54
Re: Support for ESP32 - the story so far
Wow, it has "real" RJ45 LAN 10MB connection support, it looks very ugly at the momemt but after some release versions and some new cheap boards for ebay or ali,....wow very nice, thank you for the info !!ESPEasy + ESP32 with Ethernet port or WiFi is my dream combination.One probe to rule them all.
http://hackaday.com/2016/04/01/ethernet ... e-esp8266/
-
- Normal user
- Posts: 11
- Joined: 29 Mar 2016, 21:21
- Location: Hilo, Hawaii
Re: Support for ESP32 - the story so far
Yes it will be soon... You can already buy the modules for $4 each here http://gridconnect.com/wireless-wifi-bl ... om-32.htmlILoveIOT wrote:Wow, it has "real" RJ45 LAN 10MB connection support, it looks very ugly at the momemt but after some release versions and some new cheap boards for ebay or ali,....wow very nice, thank you for the info !!ESPEasy + ESP32 with Ethernet port or WiFi is my dream combination.One probe to rule them all.
http://hackaday.com/2016/04/01/ethernet ... e-esp8266/
-
- Normal user
- Posts: 44
- Joined: 01 Nov 2015, 10:54
Re: Support for ESP32 - the story so far
Omg this is so nice, just saw also the possibility of USB connections, don't know why we should need that,..only know,..we are using it very hard in a few years, ESP32 with 64GB storage ? Mouse and keyboard ? 
Would be very sick in the end to have a ESP32, with gigabit controller and 2TB usb disk, as SAN/NAS solution

Would be very sick in the end to have a ESP32, with gigabit controller and 2TB usb disk, as SAN/NAS solution

-
- Normal user
- Posts: 11
- Joined: 29 Mar 2016, 21:21
- Location: Hilo, Hawaii
Re: Support for ESP32 - the story so far
Yes!! Not sure about real feasibility of USB as there is no hardware support but I did see the work done on bitbanging USB on ESP8266 so who knows.. but the built in LAN and tons of other features make it so much nicer than ESP8266ILoveIOT wrote:Omg this is so nice, just saw also the possibility of USB connections, don't know why we should need that,..only know,..we are using it very hard in a few years, ESP32 with 64GB storage ? Mouse and keyboard ?
Would be very sick in the end to have a ESP32, with gigabit controller and 2TB usb disk, as SAN/NAS solution
I did a comparison to other Arduino compatible boards here: https://hilo90mhz.com/arduino-esp32-esp ... son-chart/
-
- Normal user
- Posts: 44
- Joined: 01 Nov 2015, 10:54
Re: Support for ESP32 - the story so far
Hehe,..I guess the will add full USB support in the next version
But its already amazing what they can do with both chips.
Nice overview you have on youre website.

Nice overview you have on youre website.
-
- Normal user
- Posts: 161
- Joined: 31 Aug 2016, 06:33
- Location: Germany - NRW
Re: Support for ESP32 - the story so far
Hi !
I don´t wanna be the grinch here
but I think the ESP32 will be a different story than the ESP8266.
And to be honest I have my doubts that ESPEasy can converted easy to the new platform.
First of all the ESP32 has always a RTOS (RealTime Operating System) : http://www.freertos.org/about-RTOS.html
So the whole handling of Tasks is a complete different thing. On the ESP8266 you have one running task, on ESP32 you can have many ...
Then you have two cores ... Sounds great, but data handling and data transfer between tasks is not as easy as on the ESP8266.
And the Arduino Core for ESP32 is still in a very early stage ...
?
I don´t wanna be the grinch here

And to be honest I have my doubts that ESPEasy can converted easy to the new platform.
First of all the ESP32 has always a RTOS (RealTime Operating System) : http://www.freertos.org/about-RTOS.html
So the whole handling of Tasks is a complete different thing. On the ESP8266 you have one running task, on ESP32 you can have many ...
Then you have two cores ... Sounds great, but data handling and data transfer between tasks is not as easy as on the ESP8266.
And the Arduino Core for ESP32 is still in a very early stage ...
What´s the benefit of "full USB support"? And can you explain what you mean by thatI guess the will add full USB support in the next version

regards
Dominik
Dominik
-
- Normal user
- Posts: 44
- Joined: 01 Nov 2015, 10:54
Re: Support for ESP32 - the story so far
Haha,...so don't be,...haha, we where talking about the possibility in a few years,...not days or months.I don´t wanna be the grinch here![]()
Its not easy, guess it must be a version that is incompatible with each other, but the extra functionality make it worth at the end.And to be honest I have my doubts that ESPEasy can converted easy to the new platform.
Full USB support will be keyboard, mouse, (block) storage devices, maybe camera's, really don't know, like I already sed, don't know why we should need that,..only know,..we are using it very hard in a few years, I was talking about the next version,..maybe the ESP64 ?What´s the benefit of "full USB support"? And can you explain what you mean by that
I know, and I've time enoughAnd the Arduino Core for ESP32 is still in a very early stage

-
- New user
- Posts: 2
- Joined: 30 Mar 2017, 10:43
Re: Support for ESP32 - the story so far
What's the current state of ESPEasy on ESP32? Is there a branch for it?
-
- Normal user
- Posts: 44
- Joined: 01 Nov 2015, 10:54
Re: Support for ESP32 - the story so far
No, it will still need some more time, but there is some nice dev on the hardware, the first stepWhat's the current state of ESPEasy on ESP32? Is there a branch for it?

https://www.esp32.com/viewtopic.php?t=1149
Not very cheap with 22 euro's, but I guess these prices will drop in time.
P.S. with a SD micro card in it,..you could already build a SAN/NAS with it

-
- Normal user
- Posts: 232
- Joined: 02 Feb 2017, 12:12
Re: Support for ESP32 - the story so far
As long as there is no stable Arduino core its no use trying to compile ESPEasy. As for RTOS: That would me a complete rewrite of the core and probably of most of the plugins.
I might be doable, but you have to wonder: Isnt an ESP32 just overkill for ESPEasy at this moment? Its more expensive, has much better specs, but offers little benefit for our project. Other than extra GPIO perhaps?
In the future if they get cheaper and Arduino core is stable, its a different story.
-
- Normal user
- Posts: 44
- Joined: 01 Nov 2015, 10:54
Re: Support for ESP32 - the story so far
Very true,..that should at least be the base,..but i got the time,..no rush no hurriesIn the future if they get cheaper and Arduino core is stable, its a different story.

For me the LAN RJ45 option seems to be the solution, also the bluetooth, usb and micro sd, SSL encryption options might be fun, but I guess for now its overkill

-
- New user
- Posts: 2
- Joined: 30 Mar 2017, 10:43
Re: Support for ESP32 - the story so far
A great advantage of ESP32 over ESP8266 is the much lower power consumption in the various sleep modes and its ability to configure almost all pins for wakeup. This makes it by others very interesting for battery powered applications.
-
- Normal user
- Posts: 1156
- Joined: 03 Sep 2016, 23:27
- Location: Bielefeld / Germany
Re: Support for ESP32 - the story so far
Living at a time where IoT's are hacked and bot-zombified i would prefer to have encryption.
Regards
Shardan
Shardan
Who is online
Users browsing this forum: Ahrefs [Bot], Anthropic Claude Bot [bot] and 17 guests