WiFI Kit 32 V3 pinout question

hi
for V2 all the data is clearly described in the documentation. This I miss from V3
Can anybody tell me on which PINS I can find these functions

static const uint8_t SS = 5;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK = 18;

Thanks

This might help: Heltec LoRa 32 V3 nightmares

OLED & LoRa ate attached to the following pins, hoever you can “.begin()” SPI & I2C with any pins you want as long as they support R/W…however if you wantto talk to the above modules you must stick to the followi g

static const uint8_t SDA_OLED = 17;
static const uint8_t SCL_OLED = 18;
static const uint8_t RST_OLED = 21;

static const int8_t SW_LoRa = -1;
static const uint8_t SS_LoRa = 8;
static const uint8_t SCK_LoRa = 9;
static const uint8_t MOSI_LoRa = 10;
static const uint8_t MISO_LoRa = 11;
static const uint8_t RST_LoRa = 12;
static const uint8_t BUSY_LoRa = 13;
static const uint8_t DIO1_LoRa = 14;

@macedo123 @seekers
This part of pins does not conform to the actual situation and has been corrected.

I see that the WiFi LoRa 32 V3 pins_arduino.h file has been updated [on GitHub], but presumably similar changes need to be made to the pins_arduino.h files for the other V3 modules too (I can’t see any pins file for the Wireless Stick Lite V3 module).

I have a similar challenge:

With my ESP32 V2 boards I use the second SPI connection to write data to a SD card. I use the following pins on V2 boards:

SD_CS – GPIO22
SD_MOSI – GPIO23
SD_SCK – GPIO17
SD_MISO – GPIO13

Which GPIO pins are recommended on the ESP32 V3 board?

exactly which physical pin on the board are assigned to SPI bus?
as well on the “pin out diagram” there are GPIO beyond 40 which are not described at all …

I have submitted this to the maintenance personnel and will update it later. At present, Wireless Stick Lite V3 and WIFI LORA32 V3 use the same pin configuration.

@klauswifikit8
SPI pins can be mapped at will, as long as they are unused.

got it !
I changed the mapping of SPI like:

static const uint8_t SS    = 4;  // 5
static const uint8_t MOSI  = 5;  // 23
static const uint8_t MISO  = 6;  // 19
static const uint8_t SCK   = 7;  // 18

in

C:\Users<name>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\variants\heltec_wifi_kit_32_v3\pins_arduino.h

These PINs are accessable on the board with its number

following the PIN assignment :

https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/gpio.html

Not every pin combination works. After a lot of tests, I found a combination that actually works:

SD_CS – GPIO26
SD_MOSI – GPIO21
SD_CLK – GPIO20
SD_MISO – GPIO19

1 Like

I tried this combination on a “WiFi LoRa 32 V3” using the SD_Test sketch with the change of :

#define SD_CS 26           // GPIO26       
#define SD_MOSI 21         // GPIO21
#define SD_SCLK 20         // GPIO20
#define SD_MISO 19         // GPIO19

SPIClass sd_spi(HSPI);

void setup(){

    Serial.begin(115200);

    sd_spi.begin(SD_SCLK, SD_MISO, SD_MOSI, SD_CS);

    if (!SD.begin(SD_CS, sd_spi)) {
        Serial.println("Card Mount Failed, SPI Connection faulty");
        return;
    }
.
.
.

And I was not able to get the SD Card operation functional.

I don’t think at this point it matters but I also tried formatting an 8GB SD with a Fat16 Partition, but I think this is an initialization issue.

I’m also using the same MicroSD Card module as this post :

I’ll keep at it, but if I get a series of pins that work, I’ll post back, just to post a resolution.

Thanks