Saturday, September 3, 2016

MQTT Broker on ESP32 #2

MQTT Broker on ESP32

I've managed to put an MQTT broker on ESP32 (aka ESP31B).

The code is under development and ESP32 at this time is not yet released, but when it will be I'll also have the code complete. There are some problems but let's hope they will be resolved by the Espressif System. 

I will try to see if I can do the same with ESP8266 which is already on the market. 



Don't forget that the same broker is running on its little brother ESP8266. Check it here.

Monday, May 23, 2016

MQTT Broker on ESP32

Code from ESP8266 has been ported to ESP32 module, except the WI-Fi configure that was using  functions not present into the FreeRTOS SDK.

Everything is working great, having more heap is a big relief. In the next SDK EspressIf must tune a little bit the window sizes and some buffers in FreeRTOS so will achieve same performance like the ESP8266 FreeRTOS SDK.

Friday, January 15, 2016

ESP32 OTA

According to the documentation ESP32 can have up to 5 images to boot from. That is nice.




Monday, December 28, 2015

First program

After the Christmas now let's get back to do some work.

I've updated the SDK from 1.0.0 to 1.1.0 and I've flashed for the first time the ESP32.


 ./burnEsp32 
Connecting...
Erasing flash...
Erase size 1400 num_blocks 5 offset 0
FLASH_BEGIN failed, applying ESP32 workaround...
Wrote 5120 bytes at 0x00000000 in 0.6 seconds (69.9 kbit/s)...
Erasing flash...
Erase size 2800 num_blocks a offset 4000
Wrote 10240 bytes at 0x00004000 in 1.2 seconds (69.9 kbit/s)...
Erasing flash...
Erase size 3c800 num_blocks f2 offset 40000
Wrote 247808 bytes at 0x00040000 in 28.6 seconds (69.2 kbit/s)...

Leaving...
Erase size 0 num_blocks 0 offset 0


and some printfs:



and first connection to my WiFi router:




Now if the setup is working I should start by moving all my work to from ESP8266 non RTOS to RTOS and test it on ESP32.


Tuesday, December 22, 2015

It's a boy, it is ESP32

I've managed to solder the ESP32 board to its docking board.

After connecting the console everything is up and running.






And looking with my phone I can see the ESP32 in AP mode. 


Monday, December 21, 2015

Finally home

I just receive the module. Is so tiny but powerfull.

Need to solder it to the main board.





Work in progress...Do not disturb.



ESP32 on its way to me

Since the EspressIf Systems were so kind to send me a predecessor of the new ESP32, code name ESP31, which by the way is on its way to me, I will tell you a little about it.

I've received the documentation about the ESP32  before the module, so I've start reading it and I can tell you that I can't stop reading it. More I read, more ideas are coming about what can I do with it.


ESP32 will have its own market and is NOT a replacement for the ESP8266, but I am sure that both will work together like a charm. So, don't waste your time, start working with ESP8266 and later move your work to ESP32 if it is necessary.

I can not post here the documentation, but I can tell you that ESP32 business is an unicorn.