Sending output to WT32-SC01 ESP32

HI
I am first time programming with Arduino IDE and ESP32.
I have a WT32-SC01 board in which i can correctly read the A0 input.

However, when i am trying to send a digitalWrite to any of the pins, it is not being sent.
I've attached a LED to the pins and the HIGH voltage is never received on any of the pins.

I had a hard time figuring out the PIN mapping of the board with Arduino IDE, but now i am just directly referencing my pin.

Here is my sample code.

void setup() {
  Serial.begin( 9600 );
  pinMode(27, OUTPUT);   
}

void loop() {
  Serial.println("Sending HIGH Signal");
  digitalWrite(27, HIGH);

  delay(1000);     

  Serial.println("Sending LOW Signal");
  digitalWrite(27, LOW);
  delay(1000);           
}

Any help would be highly appreciated.

of course you mean with a series resistor?

Yes, I've also tried it with a simple Pump.

Around this time, we usually ask for a schematic diagram, so we can see how you intended the project to be working…

Hi, this is your ESP datasheet. On pages 8 and 9 there is its schematic. make sure you are using the correct pin on the connector.

HMI-TFT_3.5_Wi-Fi_BT_BLE_MCU_WT32-SC01DataSheetV3.3-2-with-nuts-201228_AMSTRON.pdf (2.1 MB)

First, make sure that you are using the correct pin number for the LED. The WT32-SC01 board has a different pin mapping than the standard Arduino boards, so you need to use the correct pin number for the LED. You can refer to the documentation for the WT32-SC01 board to find the correct pin number for the LED.

Second, make sure that you have properly connected the LED to the WT32-SC01 board. The LED should be connected to the correct pin on the board and to a ground pin using a current-limiting resistor. If the LED is not properly connected, it will not receive the HIGH voltage signal from the digitalWrite() function.

Finally, make sure that you are using the correct voltage level for the LED. The WT32-SC01 board operates at 3.3V, so you should use a 3.3V LED with a current-limiting resistor to ensure that it receives the correct voltage level. If you are using a 5V LED, it may not work properly with the WT32-SC01 board.

i've had problems getting gpio pins to work on a couple different esp32 boards. will work on a EzSBC but not TTGO. interested in your issue

some GPIO pins have restrictions. see ESP32 Pin Reference

i use 1.4V LEDs with 1k resistors

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.