Page 1 of 1

Internet connectivity ESP8266 and ESP32

Posted: Thu Aug 10, 2017 11:44 am
by stefan.erni
The ESP8266 is includet in FC7. Is it possible to include the "new" ESP32 from Espressif also?

Espressif is company desigtning low cost Wireless solutions.
Their ESP8266EX is among the first low cost WiFi IC and popular choice for many makers and creative people who use it to add Internet connectivity to their designs.
Their new ESP32 chip has WiFi and BLE connectivity.
The development boards ESP32 are avaible for less than 20$.

One of them is:
https://www.sparkfun.com/products/13907

Sparkfun_esp32_2.PNG
(249.12 KiB) Downloaded 22 times
Sparkfun_esp32_5.PNG
(747.37 KiB) Downloaded 22 times

Link to the full infos about ESp32
https://espressif.com/sites/default/fil ... eet_en.pdf

in short form...
Wifi:
802.11 b/g/n/e/i
• 802.11 n (2.4 GHz), up to 150 Mbps
• 802.11 e: QoS for wireless multimedia technology
• WMM-PS, UAPSD
• A-MPDU and A-MSDU aggregation
• Block ACK
• Fragmentation and defragmentation
• Automatic Beacon monitoring/scanning
• 802.11 i security features: pre-authentication and TSN
• Wi-Fi Protected Access (WPA)/WPA2/WPA2-Enterprise/Wi-Fi Protected Setup (WPS)
• Infrastructure BSS Station mode/SoftAP mode
• Wi-Fi Direct (P2P), P2P Discovery, P2P Group Owner mode and P2P Power Management
• UMA compliant and certified
• Antenna diversity and selection

Bluetooth

• Compliant with Bluetooth v4.2 BR/EDR and BLE specification
• Class-1, class-2 and class-3 transmitter without external power amplifier
• Enhanced power control
• +12 dBm transmitting power
• NZIF receiver with -97 dBm sensitivity
• Adaptive Frequency Hopping (AFH)
• Standard HCI based on SDIO/SPI/UART
• High speed UART HCI, up to 4 Mbps
• BT 4.2 controller and host stack
• Service Discover Protocol (SDP)
• General Access Profile (GAP)
• Security Manage Protocol (SMP)
• Bluetooth Low Energy (BLE)
• ATT/GATT
• HID
• All GATT-based profile supported
• SPP-Like GATT-based profile
• BLE Beacon
• A2DP/AVRCP/SPP, HSP/HFP, RFCOMM
• CVSD and SBC for audio codec
• Bluetooth Piconet and Scatternet

Re: Internet connectivity ESP8266 and ESP32

Posted: Thu Aug 10, 2017 4:49 pm
by Benj
Hello Stefan,
Is it possible to include the "new" ESP32 from Espressif also?
Possible, yes.

I'll see if I can get a module to play with. Hopefully the ESP32 has now calmed down as last time I looked things were changing like crazy and production kept being pushed back.

WIFI and Bluetooth on the same device worries me a bit as the more you add the more horrendous it becomes to do something simple. Though if done well then it might not be the case.

At the moment at Matrix we are pretty busy with various developments so I can't promise anything immediately however there is nothing in Flowcode that stops a user from creating components just like we do.

So if someone fancies having a stab at this then that would be really helpful.

Re: Internet connectivity ESP8266 and ESP32

Posted: Mon Aug 14, 2017 10:06 am
by stefan.erni
Hi Ben

Thank for the infos. I have already studied the IC a little more. Nice part of the ESP32 is, it has actually a dualcore CPU (2x Tensilica-LX6) and a lot of memorie. One Cpu for Wifi and one Cpu for "software". It would be nice, if with FC7, I could program this procesor. So I dont need an additional CPU like PIC or STM anymore and my new board will be very small and simple.
That would be a new chippack for £ 80. I've been a little patient for this ....
ESP32_CPU2.PNG
(314.86 KiB) Downloaded 6029 times

Re: Internet connectivity ESP8266 and ESP32

Posted: Tue Jul 03, 2018 10:10 pm
by Docara
Hi

Any news on support for the ESP's from a post from last year?

Re: Internet connectivity ESP8266 and ESP32

Posted: Wed Jul 04, 2018 3:08 pm
by Benj
Hi Docara,

I have the go ahead to spend some time investigating this again to see what the current state of things are. Hopefully things are a bit more stable now.

I have a ESP8266, ESP12S and ESP32 all sat on my desk in preparation. Hopefully I will find some time for this later in the week.

Re: Internet connectivity ESP8266 and ESP32

Posted: Sat Jul 14, 2018 2:05 pm
by Benj
I don't want to promise too much on this as there is still a long way to go. However ESP32 target now compiling from Flowcode, IO, Delays and I2C up and running so it certainly looks promising :D

This is a Heltec ESP32 WIFI_KIT_32 I got on Amazon for £11 with a SSD1306 I2C LCD. The LCD works as is with the Flowcode component so that's a bonus.
IMG_20180714_010459.jpg
IMG_20180714_010459.jpg (342.65 KiB) Viewed 12682 times
IMG_20180714_010525.jpg
IMG_20180714_010525.jpg (294.15 KiB) Viewed 12682 times

Re: Internet connectivity ESP8266 and ESP32

Posted: Mon Jul 16, 2018 1:27 pm
by stefan.erni
Hi Ben

That's realy good news.....
Not so good is that amazon will not shipping it to switzerland.....

But the same Modul I think is direct from heltec on aliexpress.
https://www.aliexpress.com/store/produc ... 2b1fRpVX04

Do you already know if a componet will follow?

regards

Stefan

Re: Internet connectivity ESP8266 and ESP32

Posted: Mon Jul 16, 2018 4:31 pm
by Benj
Hi Stefan,

It's still early stages but at the moment it looks like we will do a Flowcode 8 chip pack for the ESP32 device so you can compile code to run on the ESP32 directly. We may also include definitions for various boards but these will likely be largely cosmetic to show exposed pins etc. I have yet to get the Bluetooth/WIFI comms working but there will likely be a new component to drive these.

Don't worry too much about not being able to get the board, I am currently thinking that anything ESP32 based should simply work as long as the programming scheme is the same.

Re: Internet connectivity ESP8266 and ESP32

Posted: Tue Jul 17, 2018 11:28 am
by petesmart
Hey Ben,

I would definitely be interested in this component... it would be great for IOT sensors on my bee hives.. presently I’m using a micro plus wifi board.. it would be gr8 to only have to use the one unit and have control of the I/O

Can the ESP 32 support I2C native?.. I’m using a 24bit ADc for the weight measuremet. I can bit bang the 1 wire for temp and humidity

Let me know if I can assist with the dev on the ESP32

Edit...I just checked the data sheet on this baby...it’s a monster.. peripheral count is great....2 x I2C + UARTS and more.Processor looks grunty as well!

Best

Pete

Re: Internet connectivity ESP8266 and ESP32

Posted: Thu Aug 09, 2018 9:13 am
by streammaster
Hi Ben,
Did ESP32 actually made it in to the FC8?
I can not see it in any of target list.

Regards,
Igor

Re: Internet connectivity ESP8266 and ESP32

Posted: Thu Aug 09, 2018 10:35 am
by Benj
Hi Igor,
It's still early stages
This hasn't yet been released. I'm hoping to squeeze it into the upcoming 8.1 release due out around September but it's currently on a fairly low priority and I'm having issues wrestling with the compiler so it can't say for sure at the moment.
Can the ESP 32 support I2C native?
It sure can, as well as SPI, UART, ADC and PWM. Most things are now in and working, just the compiler to tame :D

Re: Internet connectivity ESP8266 and ESP32

Posted: Thu Nov 08, 2018 6:20 pm
by Benj
Update on this here for anyone interested.
viewtopic.php?f=76&t=20543&p=91470#p91458