Which board should I select for ESP32-WROOM-32E?

ClarkLee
Posts: 3
Joined: Tue Dec 21, 2021 7:01 am

Which board should I select for ESP32-WROOM-32E?

Postby ClarkLee » Tue Dec 21, 2021 8:03 am

Dear All,
I've start to use the ESP32 with Arduino IDE.

All instruction for install to use ESP on Arduino is cleared.
Compile and download is OK.

But not work the GPIO.

Below is the code. It's simple. Just swing the GPIO.
I've select the board 'ESP32 Wrover Module'.
Which board should I select for ESP32-WROOM-32E board? I also tried 'ESP32 Dev Module'. I'ts same.

Arduino IDE 1.8.15. and all other's default settings.


Please advice to me. Thank you.

----------------------------------------------------

#include <SimpleTimer.h>
#include "BluetoothSerial.h"

// GPIO
#define GPO_ALIVE 36 // Pin 4
#define GPO_RELAY 34 // Pin 6
#define GPO_RELAY_OFF 35 // Pin 7
#define GPO_LED1 32 // Pin 8
#define GPO_LED2 33 // Pin 9
#define GPO_LED3 25 // Pin 10
#define GPO_BUZZER 11 // Pin 19
#define ADC_TEMP_IN 2 // Pin 24

BluetoothSerial SerialBT;
SimpleTimer timer10ms;
SimpleTimer timerWDT;

int toggle;

void setup() {
Serial.begin(115200); // Debug
Serial2.begin(115200); // Communicate with PIC
SerialBT.begin("GL-tmp0001"); //Bluetooth device name
`
Serial.println("GL project start");

pinMode(GPO_ALIVE, OUTPUT);
pinMode(GPO_RELAY, OUTPUT);
pinMode(GPO_RELAY_OFF, OUTPUT);

timer10ms.setInterval(1000);
timerWDT.setInterval(1);
}

void loop()
{
digitalWrite(GPO_ALIVE, !digitalRead(GPO_ALIVE));
if(timer10ms.isReady())
{
timer_isr_10ms();
timer10ms.reset();
}
if(timerWDT.isReady())
{
timer_isr_WDT();
timerWDT.reset();
}
}

void timer_isr_WDT()
{
digitalWrite(GPO_ALIVE, !digitalRead(GPO_ALIVE));
}

void timer_isr_10ms()
{
if(toggle != 0)
{
toggle = 0;
Serial.println("RELAY ON");
digitalWrite(GPO_RELAY, HIGH);
digitalWrite(GPO_RELAY_OFF, HIGH);
digitalWrite(GPO_LED1, HIGH);
digitalWrite(GPO_LED2, HIGH);
digitalWrite(GPO_LED3, HIGH);
}
else
{
toggle = 1;
Serial.println("RELAY OFF");
digitalWrite(GPO_RELAY, LOW);
digitalWrite(GPO_RELAY_OFF, LOW);
digitalWrite(GPO_LED1, LOW);
digitalWrite(GPO_LED2, LOW);
digitalWrite(GPO_LED3, LOW);
}
}

ESP_Sprite
Posts: 9759
Joined: Thu Nov 26, 2015 4:08 am

Re: Which board should I select for ESP32-WROOM-32E?

Postby ESP_Sprite » Wed Dec 22, 2021 2:40 am

Does your terminal give you any output? If so, can you copy/paste it here?

Hackswell
Posts: 14
Joined: Wed Jun 03, 2020 8:13 pm

Re: Which board should I select for ESP32-WROOM-32E?

Postby Hackswell » Mon Dec 27, 2021 4:47 pm

It's definitely not the "WROVER" module; that's another chip. I believe that the "ESP32 Dev Module" is what you want to select.

juris101@inbox.lv
Posts: 1
Joined: Thu Jul 06, 2023 12:17 pm

Re: Which board should I select for ESP32-WROOM-32E?

Postby juris101@inbox.lv » Thu Jul 06, 2023 2:32 pm

I also have similar problem.
Try ESP32 Beetle.
I repeat project for MPPT solar charger, which was at shematic and code on ESP32-WROOM32, but I have ESP32-WROOM-32e chip. Genuine selection was ESP32 DEV module but I HAVE trouble, I discover at internet for ESP32-WROOM32 to select such ESP32 Beetle at Arduino board selections. It works better in my project.

Who is online

Users browsing this forum: No registered users and 73 guests