3  Install FireBeetle (ESP32)

3.1 How to connect the Firebeetle 2 MCU

In our class we will be using the FireBeetle 2 ESP32-E IoT Microcontroller as our main MCU. In this guid you will learn how to install needed software on your computer.

Full documentation of this MCU can be found on the product wiki by DFRobot. For a quick pinout reference, take a look at this page.


Follow these simple steps to install FireBeetle 2 MCU on the Arduino IDE on your computer:

  1. Add the json link in IDE
  2. Download the core of the maincontroller
  3. Select development board and serial port

3.1.1 Add URL to Ardudino IDE

To install the ESP32 board in your Arduino IDE, follow these next instructions:

In your Arduino IDE, go to File> Preferences

Enter the following into the “Additional Board Manager URLs” field:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Then, click the “OK” button:

Note: if you already have a different URL, you can separate the URLs with a comma as follows:

http://download.dfrobot.top/FireBeetle/package_DFRobot_index.json, https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Open the Boards Manager. Go to Tools > Board > Boards Manager

Search for ESP32 and press install button for the “ESP32 by Espressif Systems”. Make sure the version is 2.0.7 or later.

That’s it. The installation can take a few minutes. Take a break.

3.1.2 Select board and port

Once the board is installed, select it: Open Tools->Board->ESP32 Arduino->FireBeetle 2 ESP32-E choose board

Then select the Port
Open Tools->Port->COMxx (for windows the port wil be COM with some number, for Mac/linux it will be /dev/cu. and then something).
How do you know what port to choose?
Check the ports without the MCU pluged into the computer. Then plug the MCU and check the ports again. If you see a new port, thats the port of the MCU.

3.2 Troubleshooting

Troubleshooting if there is no port for the MCU:

  1. Missing driver. Could be you need to install a specific driver.
    Windows driver
    MacOS driver
  2. Bad USB cable. Some cables are bad and some are only for charging and cannot sync data. Try using a different USB cable that worked for a freind.