Skip to content

00_Getting_Started

GitHub Actions edited this page Jun 1, 2026 · 4 revisions

00 Getting Started

Overview

This section explains how to configure Arduino IDE for the UNIT Pulsar C6 development board, which is based on the ESP32 microcontroller.

UNIT Pulsar C6 development board

UNIT Pulsar C6 development board

Library Installation

Open the File > Preferences menu, or press Ctrl + comma.

In Additional Boards Manager URLs, copy and paste the following URL:

https://raw.githubusercontent.com/UNIT-Electronics/Uelectronics-ESP32-Arduino-Package/main/package_Uelectronics_esp32_index.json
Arduino IDE preferences menu

Additional Boards Manager URLs field

After adding the URL, press OK until all dialog windows are closed.

Arduino IDE additional boards manager URLs dialog

Additional Boards Manager URLs dialog

Development Board Installation

Open the Boards Manager, search for UNIT Electronics, and install the ESP32 package.

Arduino IDE boards manager

UNIT Electronics ESP32 package in Boards Manager

To select the development board, open Tools > Board > UNIT Electronics ESP32 and choose the UNIT Pulsar C6.

Arduino IDE board selection menu

UNIT Electronics ESP32 board selection menu

Test the UNIT Pulsar C6

The following test controls the onboard WS2812 RGB LED. Before uploading the sketch, install the Adafruit NeoPixel library.

Open the Library Manager with Ctrl + Shift + I, search for Adafruit NeoPixel, and install the library.

Arduino IDE library manager with Adafruit NeoPixel

Adafruit NeoPixel library in Library Manager

Copy and paste the following code:

#include <Adafruit_NeoPixel.h>

#define PIN 8

Adafruit_NeoPixel strip(1, PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  strip.begin();
  strip.setPixelColor(0, 133, 180, 199);
  strip.show();
}

void loop() {
}

Pinout

It is important to know the pin distribution on the UNIT Pulsar C6 development board. In the previous example, GPIO8 is used because it is connected to the onboard NeoPixel LED.

UNIT Pulsar C6 pinout diagram

UNIT Pulsar C6 pinout diagram


Clone this wiki locally