Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Next-Gen] Look into using ESP32-C6 instead of ESP32-C3 in next-generation hardware? #9

Open
Hedda opened this issue Jan 20, 2023 · 9 comments

Comments

@Hedda
Copy link
Contributor

Hedda commented Jan 20, 2023

Suggest looking into if possible to replace ESP32-C3 SoC with ESP32-C6 in next-generation of WiCAN hardware for the future.

https://www.cnx-software.com/2023/01/12/esp32-c6-wifi-6-ble-802-15-4-module-development-board/

https://www.espressif.com/en/products/socs/esp32-c6

https://espressif-docs.readthedocs-hosted.com/projects/espressif-esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitc-1/index.html

https://www.espressif.com.cn/en/news/ESP32-C6_Available?position=0&list=WQQQ-4A66v8oesBoFKp-rNz9bSQ9dg5w7wc_nNvDt_I

Note! The official Espressif ESP-IDF v5.1, which is currently still in development, will include initial support for the new ESP32-C6 chip, however, while Espressif ESP-IDF v5.1 has not yet been released it should mostly work if using the master branch in esp-idf repository. If you want to track the development status then follow these the updates made to these other issues for ESP32-C6:

espressif/esp-idf#10423

espressif/arduino-esp32#7713

espressif/arduino-esp32#7852

espressif/esp-idf#10423

ESP32-C6-WROOM-1 module is already available on Aliexpress at $14.25(US) for a pack of 5 modules (lower price if buy in bulk).

The main reason to use ESP32-C6 instead of ESP32-C3 is that it should be more future proof because it supports more modern interfaces yet it should be backwards compatible while remaining competitive in price so should not raising total cost of the product my much, at least not compared to the added value for that small additional sum.

  • WiFi 6 (802.11ax) capable radio (instead of a radio only capable of 802.11bgn, though still only on the 2.4GHz frequency range) - Fully backward-compatible.
  • Bluetooth 5.3 LE (instead of Bluetooth 4.2 LE) - Bluetooth 5.3 Certified but should be fully backward-compatible.
  • 802.15.4 IoT radio which supports Zigbee and Thread/OpenThread (inc. Matter over Thread) though not at the same time.
  • Dual core? " It consists of a high-performance (HP) 32-bit RISC-V processor, which can be clocked up to 160 MHz, and a low-power (LP) 32-bit RISC-V processor, which can be clocked up to 20 MHz."
  • 512KB SRAM instead of 400KB SRAM (internal RAM)
  • 320KB ROM instead of 384 KB (internal flash storage)?

ESP32-C6-WROOM-1 radio module has ESP32-C6 single-core 32-bit RISC-V clocked up to 160 MHz 320KB ROM, 512KB SRAM, low-power RISC-V core @ up to 20 MHz Wireless – 2.4 GHz WiFi 6, Bluetooth 5.0 LE, 802.15.4 radio for Zigbee 3.0 and Thread. Matter compatible. PCB antenna, 8MB SPI flash.

As an IoT (Internet-of-Things) device it would great if could enable basic capability over Thread via the new Matter standard for IoT:

https://en.wikipedia.org/wiki/Matter_(standard)

Obviously, the initial Matter 1.0 standard is rather limited so mostly just hype now but future versions of the standard do have potential.

https://csa-iot.org/all-solutions/matter/

For example; as of right now version 2.0 of the Matter specification is expected to be published in March or April 2024 so progress is moving relatively fast now in extending the capability to expose new device types (clusters) and more attributes in future versions.

@meatpiHQ
Copy link
Owner

@Hedda Thanks for the suggestions.

I like the idea of having WiFi 6 and Zigbee+Matter+Thread without adding much cost. I'll try to get my hands on some ESP32-C6-MINI modules when it's released to try it out.

@Hedda
Copy link
Contributor Author

Hedda commented Jan 31, 2023

@meatpiHQ Nice! ESP32-C6-MINI-1 module as well as the 8MB SPI Flash version of ESP32-C6-WROOM-1-N4 Engineering Module look to be sold out everywhere, but FYI, can still buy the smaller 4MB SPI Flash version of ESP32-C6-WROOM-1-N4 Engineering Module from a couple of places like Adafruit and Mouser for around $3(US) per module if you act very fast:

https://www.adafruit.com/product/5670

https://eu.mouser.com/ProductDetail/Espressif-Systems/ESP32-C6-WROOM-1-N4?qs=8Wlm6%252BaMh8R1JRAtXlt87w%3D%3D

You can otherwise order "MOQ 3250" in bulk directly from Espressif or possibly even get free samples if you tell them about your products/projects:

https://www.espressif.com/en/contact-us/sales-questions

ESPRESSIF Official Store on Aliextress as well as Digi-Key is completely out of stock of all ESP32-C6 modules and devkit boards.

https://www.aliexpress.com/store/1100220184

But there look to be several unofficial resellers that might have ESP32-C6-MINI-1 and/or ESP32-C6-WROOM-1 module in stock:

https://www.aliexpress.com/w/wholesale-ESP32%2525252dC6.html?SearchText=ESP32-C6

PS: ESP32-C6-MINI-1 will be smallest ESP32-C6 based module but as a downside it might only come in a 4MB SPI Flash variant.

https://www.espressif.com/en/products/modules

ESP32-C6 Series

32-bit RISC-V MCU & 2.4 GHz Wi-Fi 6 & Bluetooth 5 (LE) & IEEE 802.15.4

  • 32-bit RISC-V single-core processor that operates at up to 160 MHz
  • State-of-the-art power and RF performance
  • 320 KB ROM, 512 KB SRAM, 16 KB Low-power SRAM on the chip, and works with external flash
  • 30 (QFN40) or 22 (QFN32) programmable GPIOs, with support for SPI, UART, I2C, I2S, RMT, TWAI and PWM
Module Buy Description Chip Embedded Dimensions (mm) Pins Flash (MB) PSRAM (MB) Antenna Development Board Footprint
image ESP32-C6-MINI-1   ESP32-C6-MINI-1 is a ESP32-C6 based module, which supports Wi-Fi 6 in 2.4 GHz band, Bluetooth 5, Zigbee 3.0 and Thread. It's small-sized and pin-to-pin compatible with the ESP32-C3-MINI series module.  With low power consumption, it is an ideal choice for a variety of IoT devices. ESP32-C6FH4 13.2×16.6×2.4 53 4 N/A PCB antenna ESP32-C6-DevKitM-1 N/A
image ESP32-C6-WROOM-1   ESP32-C6-WROOM-1 is a ESP32-C6 based module, which supports Wi-Fi 6 in 2.4 GHz band, Bluetooth 5, Zigbee 3.0 and Thread. It's pin-to-pin compatible with the ESP32-WROOM series module. With low power consumption, it is an ideal choice for a variety of IoT devices. ESP32-C6 18×25.5×3.2 28 4, 8, 16 N/A PCB antenna ESP32-C6-DevKitC-1 N/A

@mzakharo
Copy link

mzakharo commented Mar 1, 2023

One important addition of ESP-C6 is WiFI 6 Target wakeup time (TWT). It would allow the device to stay connected to the WiFI after waking up from sleep, reducing power usage further.

@meatpiHQ
Copy link
Owner

meatpiHQ commented Mar 2, 2023

I'm keen to try the C6, I wish it had more IOs and a second core though.

I've already ordered C6-mini modules it seems to be somewhat pin compatible with the C3-mini, I should be able to swap the module and try it out.

https://www.aliexpress.com/item/1005005244950665.html?spm=a2g0o.order_list.order_list_main.5.6170180208ntgl

@Hedda
Copy link
Contributor Author

Hedda commented Apr 5, 2023

FYI, 01Space is sell a tiny ESP32-C6 IoT dev board based on ESP32-C6-WROOM-1 wireless module with two 10-pin headers + USB-C for power:

https://www.aliexpress.us/item/3256805225446433.html

image

Note! Again, ESP32-C6 Arduino support will require ESP IDF 5.1 framework which is still under development and not yet released:

espressif/esp-idf#10423

espressif/arduino-esp32#7713

espressif/arduino-esp32#7852

@meatpiHQ
Copy link
Owner

meatpiHQ commented Apr 6, 2023

@Hedda I've already received the C6-Mini modules, but I don't have time to work on the firmware now. If you like I can send a modified board if you want to try it out?

@Hedda
Copy link
Contributor Author

Hedda commented Aug 21, 2023

FYI, Espressif ESP-IDF v5.1 with ESP32-C6 (and ESP32-H2) has now been released and supports most of its functions upstream:

https://github.com/espressif/esp-idf/releases/tag/v5.1

espressif/esp-idf#10423

Arduino ESP32 Core support of ESP-IDF 5.1 (for ESP32-C6) is however still a work in progress:

espressif/arduino-esp32#7852

espressif/arduino-esp32#7713

https://github.com/orgs/espressif/projects/3

@Hedda
Copy link
Contributor Author

Hedda commented Aug 30, 2024

@meatpiHQ Will your upcoming "WiCAN Pro" next-generation adapter not be based on the "ESP32-C6" SoC?

If not when wondering if you at least consider using an ESP32-C6 in your upcoming ESPNetLink LTE/GPS adapter?

Reasons for the request is that the ESP32-C6 has Wi-Fi 6 and BLE 5 support as well as an 802.15.4 radio for Thread or Zigbee:

@meatpiHQ
Copy link
Owner

Hey @Hedda

I really wanted to use the C6, but it did not have what it takes, especially the USB host and the PSRAM.

What I really want to do is use the P4 with the C6. That would be the perfect combination. And I might still release a new version for C6 but without crowd funding just to see how well it performs.

Unfortunately the ESPNetlink is also based on the S3 :)

Btw you should check the WiCAN latest firmware update, now the integration with home assistant is easier than ever.

https://github.com/meatpiHQ/wican-fw?tab=readme-ov-file#home-assistant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants