Trying to decode Grove pinouts

I have a ESP32-C6 along with a grove shield.

I’m trying to understand how the pins work with the shield. For example, on the grove shield, it says that one group of pins in GND, 3V3, 10, and 9. On the wiki page, it says that these are A9 and D9. However, the wiki for the esp32c6 doesn’t not show an A9 pin.

How do I address that particular pin?

I tend to stick with the actual GPIO numbers for the ESP32’s, so D9 is GPIO_NUM_20 (in Arduino) and not an analog capable pin for ESP32-C6 - hence no A9 reference.

Hi there,

So there are “Silkscreen” pinouts Vendors use.
Programmers use the GPIO’s for code , UNLESS…!

The Boards support package .a.k.a. BSP include PIN macros that translate the SilkScreen numbers to GPIO’s, very processor specific. As @grobasoz indicates , stick with the GPIO’s You can’t go Wrong. :+1:

Sort it out it will work , AOK!

HTH
GL :slight_smile: PJ :v:

ok. On the grove shield, there are 2 physical pins. are both of those considered D9 then? Are they not individually addressable?

I don’t have access to the board but the pins labelled “D9” should be the same connection to the device.
See PCB design below…

Hi there,

If I may..
PIN 9 is PIN 9 everywhere. :+1: it’s on multiple connectors, one could be part of the SPI interface connection (MISO(9), MOSI(10)), the other can be used for direct addressing or Vice-versa, just code it properly.

BTW , that silk screen colors squares is stupid confusing. but only for the mechanical connections, they did try to make a lot of options. USE the pin numbers on the board and the GPIO’s on the Code.

HTH
GL :slight_smile: PJ :v:

also , the adding external flash to Grove Expansion Board, Post may be of use.
relating , display, buzzer, button , sleep and Wake code to connections Helpful.:crossed_fingers: