What is Arduino?
The Arduino Integrated Development Environment is a cross-platform application that is written in functions from C and C++. It is used to write and upload programs to Arduino compatible boards, but also, with the help of third-party cores, other vendor development boards. Learn About Arduino Download Arduino
Magicbit is based on ESP32 and Arduino core because Magicbit is forked from the espressif/arduino-esp32 . Therefore to programme a Magicbit with the Arduino IDE you will have to follow the follwing steps
- Relase Link –https://github.com/magicbitlk/arduino-esp32/releases/download/Magicbit/package_magicbit_index.json
- Install the current Arduino IDE at the 1.8 level or later.
- Start Arduino and open Preferences window.
- Enter the release link above into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
- Open Boards Manager from Tools > Board menu and install Magicbit platform (and don’t forget to – – select Magicbit from Tools > Board menu after installation).
Magicbit can be powerup by either connecting USB cable or connecting battery. For programming USB cable must be connected to the computer. For the first time powering up Magicbit self test program will be running on the Magicbit and you can see the features available and functional tests on Magicbit display.
To check whether drivers are correctly installed open the Arduino IDE and go to the Tools menu. There should be a port (Eg: COM1) shown when plugging Magicbit into the computer as shown below. If not please follow the Installation drivers section.
Magicbit has CH340 chip as USB-Serial converter which driver already packaged with Ardunio IDE. If port not shown in the Arduino as shown below please install driver from magicbit utility. Download Magicbit Utility
Your First Project…
- Open Arduino IDE if not opened already.
- Select Magicbit from Tools->Boards
- Select port Tools->Ports
- Open Blink Example File->Examples->Basic->Blink
- Upload the code to the Magicbit using the upload button on Arduino IDE
- If Green Led on the backside of the Magicbit is blinking you have just begun the magic with Magicbit