LCSC ColorEasyDuino Getting Started Guide

Recently, LCSC has released a fully open-source ColorEasyDuino development board that is compatible with the Arduino ecosystem. Its schematics and hardware are entirely open-source. The board boasts a compact design with colorful silk screen printing, offering three color options for engineers: pink, gold, and green, which imbues the development board with an artistic atmosphere.

ColorEasyDuino-Pink
ColorEasyDuino-Pink

 

ColorEasyDuino-Gold
ColorEasyDuino-Gold

 

ColorEasyDuino-Green
ColorEasyDuino-Green

User hywing was pleasantly surprised to find the ColorEasyDuino, an Arduino development board, and shared this discovery on his blog. Below is the translated version of blogger hywing’s ColorEasyDuino getting started guide, intended for reference by engineers everywhere.

Introduction

ColorEasyDuino is a development board compatible with the Arduino ecosystem, which has a variety of peripheral interfaces: UART, I2C, SPI, ADC, PWM, etc. The design of the development board refers to the prototype of Arduino Uno and uses the ATMEGA328P chip. Its appearance design is compact, bringing out all the IOs for developers. It has strong playability and expandability, coupled with the rich development resources of the Arduino platform, making it an excellent choice for makers to try out.

Development Board
  • The power supply is 5V, using a Type C port for power supply, and can also be powered through a DC power jack.
  • It does not support online debugging, which may be due to the inherent lack of support in the Arduino Uno.
  • Four LEDs: one power indicator, one customizable by the user, and two others for indicating the status of the serial port (which can also be used for custom purposes).
  • A reset button.
Chip
  • AVR RISC architecture
  • Memory: 2K SRAM, 32K FLASH, 1K EEPROM
  • 23 programmable I/Os
  • 8 10-bit ADCs, 5V reference voltage
  • 2 8-bit timer/counters, 1 16-bit timer/counter
  • 6 PWMs
  • Built-in USART, I2C, SPI
  • Clock can reach up to 16MHz
Minimum System
  • Similar to the 51 microcontroller, it mainly consists of three parts:
  • Power supply circuit
  • Crystal oscillator circuit
  • Reset circuit

ColorEasyDuino develpment board minimum system

Environment

First, download the IDE, and you can directly extract and open Arduino IDE.exe. The version of Arduino I used here is: 2.3.3-nightly-20240608.

ColorEasyDuino development board environment

  1. Menu bar: common function categories, such as File (new program, code examples, etc.), Edit (text editing function), Sketch (compile, download, etc.), Tools, Help, etc.
  2. Toolbar: compile (verify), download (upload), development board configuration (model + serial port), serial plotter, serial monitor, and other function entry points are located here.
  3. Function area: SKETCHBOOK, development board management, software library management, debugging, search, etc.
  4. Code text editing area.
  5. Console: compile output, serial port output, etc.
Minimum Example

The setup function is used to configure the hardware resources of the development board, such as the working state of GPIO; the loop function is a task, which is a dead loop; these two functions are essential for every Sketch program, which may be different from the program codes of 51 or STM32; and Sketch supports C++ programming; the following example is located in File -> Examples -> 0.1 Basics -> Blink, which is used to light up the onboard blue LED in a loop.

// the setup function runs once when you press reset or power the board

void setup() {

  // initialize digital pin LED_BUILTIN as an output.

  pinMode(LED_BUILTIN, OUTPUT);

}

// the loop function runs over and over again forever

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);                      // wait for a second

}

Connect the development board’s Type C port to the computer with a USB cable, and perform the following operations in the IDE:

  1. Configure the development board as: Arduino Uno, and configure the serial port as the corresponding serial port.
  2. Click the Verify button on the toolbar, and a dialog box pops up with “Done compiling” indicating that there is no problem with the compilation.
  3. Then click Upload.
  4. A dialog box pops up, and “Done uploading” indicates that there is no problem with the program download, and the output console will output the size of the current program and the disk space usage ratio.

ColorEasyDuino development board minimum example

Experimental effect: you can see that the green LED on the development board is being lit up in a loop.

ColorEasyDuino development board

Summary
  • Sketch refers to the Arduino program, which is its proper name.
  • SKETCHBOOK, I understand it should be the development guide (document) of the Arduino program.
  • The difficulty of getting started with the IDE is almost zero, and it is very easy to run an example.
  • Arduino has a relatively complete management of development boards and open source libraries, forming a hardware and software system, and Examples can be almost seamlessly transplanted.

Explore the ColorEasyDuino development board and more electronic components at LCSC, your global distributor with a vast selection and fast shipping from intelligent warehouses spanning 130,000 square meters. 

Claim Your $5 Coupon (Please note: Customers must be logged into their LCSC account to redeem; new users should register first.)

 

Source: blogger hywing

 

Related Articles:

LCSC ColorEasyDuino Development Board

Frequently Asked Questions for ColorEasyDuino Development Board

Newsletter
Connect with us
Customer Service: 0086-755-83210457
Logistics Dept.: 0086-755-83233027
9:30am to 12pm and 1:30pm to 10pm,
Monday through Friday, UTC/GMT +8.

SSL encrypted
payment
© 2024 LCSC.COM All Rights Reserved. 粤ICP备17041818号