Arduino IDE Setup
Glyph Platform is completely built to support new and upcoming innovative creators who love to explore the field of electronics. So, our boards are completely compatible with Arduino IDE. As of September 2024, our glyph boards are completely based on the Espressif ESP series of microcontroller. So, in this particular documentation we'll discuss how to setup the Arduino IDE core along with setting up the ESP Core.
This page should covers setup for all the GLYPH Boards that released now and in the coming future.
Arduino IDE Download
The first thing you will need to do is to download the latest release of the Arduino IDE (preferably version 2.3 and above), Which you can do by following this link : Download.
This process can vary based on the operating system you have, currently this documentation assumes you are using Windows 10 and above, In case if you using other operating system please refer to Arduino IDE documentation.
Once you have downloaded and installed the correct variant of teh Arduino IDE based on your operating system, open the Arduino IDE.
Adding the Espressif Board Manager URL
In the Arduino IDE, navigate to the Preferences window.
You can access it through the menubar on the top : File > Preferences
In the Additional Boards Manager URLs field, you'll want to add a new URL. If this is the first time using arduino IDE, this field will most likely be empty. Here you can add the url given below. But if you already have some URL on this field, enter the URLs with comma as a separation. Here you will only have to add each URL once. This URLs point to index files that the Board Manager uses to build the list of available & installed boards.
Copy the following URL:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Click OK to save and close Preferences.
Add Board Support Package
Now we need to install the board support package which will allow the user to use our glyph board on Arduino IDE platform. Click on Boards Manager Icon
on the left panel. Here you can search for ESP32 and install the latest version of ESP32 core by Espressif Systems.
Installing a new board package can take a 2-5 minutes based on your internet connectivity so don't click on cancel before the installation is complete.
Once the installation is complete, you can close the Boards Manager by clicking on the same Boards Manager Icon
.
Choose Your Board
In the Tools > Boards
, you should now see ESP32.
Navigate to the ESP32 Arduino Boards option and you will see the available boards that you can use with arduino IDE. Here you can Navigate to the ESP32 Arduino Boards menu and choose ESP version based on the glyph board you own.
GLYPHC3 - ESP32C3 DEV MODULE, GLYPHC6 - ESP32C6 DEV MODULE, GLYPHH2 - ESP32H2
Arduino Usage
Now that you've set up the Arduino IDE with the Espressif ESP32 Arduino core, you're ready to start using Arduino with your Glyph Boards!
Glyph Pinout
Currently we haven't pulled a request to offcial Espressif to include our boards on there core platform, but the glyph boards are still compatible with the esp32 core. Make sure to follow the pinmapping on the bottom of the glyph board until Espressif offically adds our boards. Therefore, the pin names on the top of the board are not currently used (ex : D1, D2, D3, SDA, SCL, etc...) instead we'll be using the the pin names which is mentioned below the board (ex : GPIO1, GPIO2, etc...) used for Arduino.
To find more detailed pin mapping for you board, check the pinout diagram of respective boards. Glyph ESP32-C3,Glyph ESP32-C6,Glyph ESP32-H2. Each GPIO pin in the diagram has a GPIOx pin name listed, where x is the pin number. So, As a example to use GPIO1 you would mention it as 1 in your arduino code.
Running Bare Minimum Code
The first and most basic program you can upload to your Board is the Bare Minimum sketch. This sketch doesn't do anything, but it's a great way to make sure everything is working and you're uploading your sketch to the right board and right configuration.
When all else fails, you can always come back to the Bare Minimum sketch!