Still didn't found an ESP32 with a decent delivery price so today I've tested the environment provided by EspressIf looking on the maximum number of sockets. On ESP8266 I've managed to have more then 20 sockets opened and carrying MQTT packets ( see https://myesp8266.blogspot.co.uk/2016/11/mqtt-broker-on-esp8266-5.html)
I've noticed that the maximum number of sockets that you can setup from make menuconfig is 16.
All the values that you are setting from make menuconfig are ending in a file named sdkconfig in the root of you app directory. This sdkconfig file will be converted to sdkconfig.h located in app/build/include/sdkconfig.h.
Even you are modifying a value direct in the sdkconfig on the compile time you will be invited to enter a value 1..16 for maximum number of sockets.
Solution #1. (Safest one)
Change the sdkconfig.h file overwrite the desired value and recompile
#define CONFIG_LWIP_MAX_SOCKETS 20
Solution #2. (not recommended but possible )
Modify directly the file:
esp-idf/components/lwip/include/lwip/port/lwipopts.h
#define MEMP_NUM_NETCONN 20 //CONFIG_LWIP_MAX_SOCKETS
If you modified values in make menuconfig and you don't know what was before don't worry just do a diff between the app/sdkconfig and app/sdkconfig.old file.
Obs: this post can be found also on this link.
Esp8266 blog. Learn how to compile, how to work with the wireless chip esp8266. ESP-01 ESP-03, ESP-07, ESP-12, ESP201 all are here
Showing posts with label esp32. Show all posts
Showing posts with label esp32. Show all posts
Wednesday, November 9, 2016
Wednesday, October 12, 2016
ESP32 now on preorder
Good new today !!!
Today the ESP32 is on preoder on banggood. Delivery will start by the end of October.
If you are in the first 50 orders $7.69, up to 200 $8.69 and $9.69 after that.
As a reminder the specs from the official espressif site are:
Key Features
- 240 MHz dual core Tensilica LX6 microcontroller with 600 DMIPS
- Integrated 520 KB SRAM
- Integrated 802.11BGN HT40 Wi-Fi transceiver, baseband, stack and LWIP
- Integrated dual mode Bluetooth (classic and BLE)
- 16 MByte flash
- 2.2V to 3.6V operating voltage
- -40°C to +125°C operating temperature
- On-board PCB antenna / IPEX connector for external antenna
Sensors
- Ultra low noise analog amplifier
- Hall sensor
- 10x capacitive touch interface
- 32 kHz crystal oscillator
32x GPIO
- 3 x UARTs, including hardware flow control
- 3 x SPI
- 2 x I2S
- 12 x ADC input channels
- 2 x DAC
- 2 x I2C
- PWM/timer input/output availabe on every GPIO pin
- OpenOCD debug interface with 32 kB TRAX buffer
- SDIO master/slave 50 MHz
- Supports external SPI flash up to 16 MB
- SD-card interface support
Security Related
- WEP, WPA/WPA2 PSK/Enterprise
- Hardware accelerated encryption: AES / SHA2 / Elliptical Curve Cryptography / RSA-4096
Performance
- Supports sniffer, station, softAP and Wi-Fi direct modes
- Max data rate of 150 Mbps@11n HT40, 72 Mbps@11n HT20, 54 Mbps@11g, and 11 Mbps@11b
- Maximum transmit power of 19.5 dBm@11b, 16.5 dBm@11g, 15.5 dBm@11n
- Minimum receiver sensitivity of -98 dBm
- 135 Mbps UDP sustained throughput
- 2.5 μA deep sleep current
Sunday, January 10, 2016
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.
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.
Friday, November 6, 2015
New kid in town - meet ESP32 an "ESP on steroids"
Today 05 November 2015 Espressif announced an "ESP on steroids" ESP32. See below the communicate.
If ESP8266 was a big hit, I am expecting the same for the ESP32 which has more from everything (processing power, memory, IO etc) and is running RTOS.
See you on myesp32.blogspot.com
Subscribe to:
Posts (Atom)

