Close
0%
0%

Esp32-C6-Bug

Playing with the new Esp32-C6FH4:
https://www.crowdsupply.com/prokyber-s-r-o/esp32-c6-bug

Similar projects worth following
Hello everyone, this project is about building a small development board with battery support around the Esp32-C6FH4. The Esp32-C6 is a quite interesting new low-power RISC-V MCU from Espressif with multi-protocol support (WiFi, Ble, Zigbee, Thread...). WiFi-6 further reduces power consumption. So making a board with battery charging and protection circuits seems like an obvious idea. The multi-protocol feature allows easy implementation of protocol bridges or dongles. Low-power consumption, along with battery support, gives users the opportunity to create things like Zigbee sleepy devices...
Official Arduino support is on the way and you already can give Esp32-C6 a test drive by manually installing the newest Esp32 core into the Arduino environment.
For more info about the board check out:
https://www.crowdsupply.com/prokyber-s-r-o/esp32-c6-bug

Okey-dockey let's dig into the details. How Esp32-C6 is actually cooler than previous existing Esp32s? Well the first thing that comes to mind is of-course the multi protocol support. What does it mean? Using Esp32-C6 you can basically switch between WiFi/Zigbee/Thread on the go, which allows building protocol bridges like the ones described in the demos section of the datasheet.
Now to the schematics which is actually quite simple:

All the parts are quite 'classic' except for the Esp32-C6FH4 which is a version of Esp32-C6 with integrated 4MB flash memory. The LDO can deliver up to 700mA. Some of that power(around 200mA, but depends on the enabled features) is drawn by the MCU. TP4057 handles the battery charging. The battery is protected from under-voltage by DW01+G.

Since the high frequency signals generated by the antenna may influence the oscillator(for more info check the datasheet), the most challenging part was the oscillator placement and inductor design... Also I had to replace the L5 several times to find the correct value.

Here is a picture of MARK 1:

And the final design(I am actually proud of that picture:) Since I am a terrible photographer, I am very surprised by how good it looks):

The reference size can be seen on the picture:

The programming options now include:

  • ESP-IDF
  • CircuitPython - The Esp32-C6 support is on the way, but if you compile the CircuitPython for Esp32-C6 yourself you can get some basic functionality already.(Checkout project logs)
  • Arduino IDE - the official support for Esp32-C6 is on the way but I have already tested the board with the Esp32-Arduino core available on github(master branch as of 15 October 2023)

Checkout this tutorial made by my friend:

schematics.png

Just a schematics

Portable Network Graphics (PNG) - 316.43 kB - 10/04/2023 at 22:08

Preview
Download

  • Esp32-C6-Bug Ethernet shenanigans, Surpassing Esp32-C6 radio limitations

    allexoK10/20/2023 at 14:28 1 comment

    Hi,

    as we all know Esp32-C6 supports multiple radio protocols: Zigbee, Thread, Wifi, Ble. The problem is that using them at the same time may be challenging since the chip has only one RF path, which means Wi-Fi and Thread can't receive simultaneously and it has a significant impact on performance. Even if it is definitely possible, as demonstrated in ESP-IDF thread-bridge example, there is a better solution. The user can just use the Ethernet and leave the RF to the Thread/Zigbee.

    The mentioned example also supports Ethernet out of the box, so why not to check it out? I have used the cheapest W5500 module and Esp32-C6-Bug board. Be sure to set CS pin to GPIO5 using 'menuconfig' if you are using the mentioned example.

    The connections are as follow:

    W5500 SCLK->Esp32-C6-Bug GPIO6

    W5500 MOSI->Esp32-C6-Bug GPIO7

    W5500 MISO->Esp32-C6-Bug GPIO2

    W5500 CS->Esp32-C6-Bug GPIO5

    W5500 INT->Esp32-C6-Bug GPIO4

    W5500 GND->Esp32-C6-Bug GND

    W5500 3.3V->Esp32-C6-Bug 3.3V

    Works like a charm...

    Since I am a big fan of Ethernet and PoE I am thinking about making a little shield for the Esp32-C6-Bug, what do you think about it?

  • Prototype Evolution Photo

    allexoK10/14/2023 at 19:37 0 comments

    My friend made a photo of all the Esp32-C6-Bug prototypes(No living creature was hurt to make the footage)

  • Esp32-C6-Bug CircuitPython

    allexoK10/06/2023 at 17:05 0 comments

    A little log on testing CircuitPython with Esp32-C6-Bug, I was surprised by how smooth the integration actually was. I just downloaded the CircuitPython repo with git clone --recursive https://github.com/adafruit/circuitpython.git  and followed the instructions here . Basic functions like led blinking and wifi scanning are supported out of the box... I guess more sophisticated things will be added later:)

    The logic is negated(True-led off, False-led on)

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates