Esp wroom 32 ISSUES

hi all im new to this.

im trying to setup a wireless solenoid lock system using a esp wroom 32 and the blynk iot app.

Im following a already made code and they are using a "DOIT ESP32 DEVKIT V1" whereas im using a ESP WROOM 32.

in the code for the "DOIT ESP32 DEVKIT V1" , there is a line which states

#define wifiLed 2 //D2

what will be the pin for this on the ESP WROOM 32 as there is no D2 pin on mine any help will be appreciated

What's the internal or on board LED pin of the developer board you are using? GPIO_NUM_2?


this is the board the original code is using

im using

Did you try using GPIO_NUM_2? What happens when you use GPIO_NUM_2?

See for yourself which GPIO_NUM has the internal LED.

bear in mind that the pin #s for the WROOM (i believe the GPIO #s) aren't necessarily the pin #s on the board.

yes thats what im confused about im trying to find a pin layout

For switching the solenoid, you can use any GPIO pin of the ESP board. If you want to blink the on-board LED, you can do that by the blink example of the arduino IDE.

What happens when the OP uses GPIO_NUM_2?

i think you'll need to repeat it a few more times

... thanks for being patient

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