Digilog ESP32 Super Mini Dev Board Instructions

ESP32 Super Mini Dev Board

Product Information

Specifications:

  • Product Name: ESP32 Super Mini Dev Board
  • Board Type: ESP32C3 Dev Module
  • Communication: USB CDC
  • Baud Rate: 9600
  • Onboard LED: GPIO8

Product Usage Instructions

Setup-1:

Board: ESP32C3 Dev Module

USB CDC on Boot: Enabled

Port: COM13 (ESP32S3 Dev Module)

Sketch:

        #define LED_BUILTIN 8
        char myData[10];

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

        void loop() {
            digitalWrite(LED_BUILTIN, HIGH);
            delay(1000);
            digitalWrite(LED_BUILTIN, LOW);
            delay(1000);

            byte n = Serial.available();
            if (n != 0) {
                byte m = Serial.readBytesUntil('n', myData, sizeof(myData)-1);
                myData[m] = '';
                Serial.println(myData);
            }
            Serial.println("Hello");
        }
    

Setup-2:

Board: LOLIN C3 Mini

USB CDC on Boot: Enabled

Port: COM13 (ESP32S3 Dev Module)

Output:

        Hello Hello Arduino
        // From InputBox of Serial Monitor to ESP32C3 to OutputBox of Serial Monitor
        Hello Hello
    

Product Usage Tips:

  1. Do not place the ESP32C3 Super Mini Board on the Breadboard to
    avoid contact problems.
  2. The onboard LED is connected at DPin-8.
  3. Use a male-female jumper and connect the female side at DPin-9
    to act as an external switch/button.
  4. The connection diagram of the onboard LED and button is similar
    to Fig-1.

Programming Steps:

  1. Select Board as follows: IDE 2.3.1 –> Tools –> ESP32
    –> LOLIN C3 Mini USB CDC On Boot: Enabled.
  2. Upload the provided sketch to the board.
  3. Check that the onboard LED is off initially.
  4. Closing the switch will make the onboard LED start blinking at
    a 2-second interval.

Verification Steps:

  1. Ensure that the onboard LED is off.
  2. Gently touch the male side of the hanging wire/jumper with
    G-pin of the Mini Board.
  3. Confirm that the onboard LED is blinking at a 2-second
    interval.
  4. Press the RST (Reset) Button of the Mini Board and repeat the
    process if needed.

Frequently Asked Questions (FAQ):

Q: What is LOLIN C3?

A: LOLIN C3 is a board type compatible with the ESP32 Super Mini
Dev Board, providing specific configurations for communication and
programming.

“`

**1.** My ESP32 Super Mini Dev Board (Fig-1) accepts sketch from PC, but it does not communicate with Serial Monitor (Bd = 9600) though the onBoard LED (at GPIO8) blinks. ![image|403×203](upload://pRi2u3tDsAxTivzokiEplEtzhlC.jpeg) Figure-1:

*Setup-1:* Board: “ESP32C3 Dev Module” USB CDC on Boot: “Enabled” Port: “COM13 (ESP32S3 Dev Module)” //no other option

**Sketch:** “` #define LED_BUILTIN 8 char myData[10];

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

void loop()

{

digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)

delay(1000);

// wait for a second

digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW

delay(1000);

byte n = Serial.available();

if (n != 0)

{

byte m = Serial.readBytesUntil(‘n’, myData, sizeof (myData)-1);

myData[m] = ”;

Serial.println(myData); } Serial.println(“Hello”); } “` **2.** The following setup has solved the problem. *Setup-2:* Board: “LOLIN C3 Mini” USB CDC on Boot: “Enabled” Port: “COM13 (ESP32S3 Dev Module)” Bd = 9600
**3.** Output: “` Hello Hello Arduino //From InputBox of SM to ESP32C3 to OutputBox of SM Hello Hello “` **4.** Would be glad to hear your opinion as to — “what is LOLIN C3”.

1. Do not place your ESP32C3 Super Mini Board on the Breadboard. I strongly suspect conatct problem. 2. OnBoard LED is already there on the Board and is connected at DPin-8. 3. Take male-female jumper. Connect the fmale side at DPin-9. Leave the male side hanging. This jumper will work as your external Switch/Button. 4. The connection diagram of onBoard LED and Button is something similar to Fig-1.
sw1led1ESP32c3716×459 20 KB
Figure-1:

5. Select Board as follows: IDE 2.3.1 —> Tools —-> ESP32 —-> LOLIN C3 Mini USB CDC On Boot: “Enabled”
6. Upload the following sketch. Intially, the onBoard LED is Off. When Swicth is closed, the oBoard LED starts blinking at 2-sec interval.
#define LED_BUILTIN 8 #define BTN 9
void setup() { Serial.begin(9600); while (!Serial) { ; } pinMode(LED_BUILTIN, OUTPUT); pinMode(BTN, INPUT_PULLUP); //input pull-up resistor is enabled digitalWrite(LED_BUILTIN, HIGH); //onBoard is Off; I have got like this
}
void loop() {
if (digitalRead(BTN) == LOW) //Switch K1 is closed; blink onBoard LED {
while (true) { digitalWrite(LED_BUILTIN, HIGH); //onBoard LED is On delay(1000); digitalWrite(LED_BUILTIN, LOW); //onBoard LED is Off delay(1000); } } }
7. Check that onBoard LED is Off.
8. Gently, touch the male side of the hangig wire/jumpwe with G-pin of the Mini Board.
9. Check that the onBoard LED is blinking at 2-sec interval.
10. Press RST Button of the Mini Board and repeat the process.

Documents / Resources

Digilog ESP32 Super Mini Dev Board [pdf] Instructions
ESP32 Super Mini Dev Board, ESP32, Super Mini Dev Board, Mini Dev Board, Board

References

Leave a comment

Your email address will not be published. Required fields are marked *