yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Roboduino V2📖
0.Instruction manual
  • Instruction manual
1.Get started quickly
  • 01.Assembly of the Car
  • 02.Remote Control Car
  • 03.Common Problem Analysis
  • 04. Lithium Battery Pack and Charger Usage Guidelines
  • 05. Important Notes (Read Before Starting)
2.Environment Construction
  • 01.Serial port driver installation
  • 02.Arduino IDE Installation
  • 03.Arduino IDE usage
  • 04.Using third-party libraries
  • 05.Program compilation and upload
3.Basic car course
  • 01.RGB Control
  • 02.Serial Print
  • 03.KEY Read
  • 04.Buzzer control
  • 05.Logo Breath
  • 06.Servos Control
  • 07.Motor Control
  • 08.Ultrasonic Ranging
  • 09.Track Print
  • 10.Infrared Remote Print
  • 11.WIFI Camera
4.Advanced car course
  • 01.RGB Breath
  • 02.Play Music
  • 03.KEY Control RGB
  • 04.KEY Control Buzzer
  • 05.Serial Parse Data
  • 06.Parse Data Control Motor
  • 07.Parse Data Control RGB
  • 08.Parse Data Control Buzzer
  • 09.Parse Data Control Servo
5.Car motion control
  • 00.Mecanum wheel motion principle
  • 01.Car Vertical Movement
  • 02.Car Diagonal Movement
  • 03.Car Sideways Movement
  • 04.Car Rotational Movement
  • 05.Car Patrol
6.Comprehensive gameplay of car
  • 01.Car tracking
  • 02.Car Obstacle Avoid
  • 03.Car Follow Hand
  • 04.Car tracking Avoid
  • 05.Car Infrared Remote
  • 06.WiFi Control Car
  • 07.IR WiFi Control Car
7.AI vision course
  • 1. Cat(dog) detection
  • 2. Color recognition
  • 3. QR code instructions
  • 4. Person Recognition
  • 5. Face Detection
  • 6. Color Follows
  • 7. Face following
8.Expand peripherals
  • 01.Digital Tube Display
  • 02.Color Recognition
Download
  • Code
  • Library
  • Hardware manual
  • Software
  • 3D Model
  • Instruction Manual
Download ZIP

Welcome to Roboduino V2 repository

04.Using third-party libraries

Using third-party libraries

Using third-party librariesInstall third-party librariesAdd .zip librarySoftware Management LibraryAdafruit NeoPixelAdafruit PWM Servo Driver LibraryIRremoteTM1650Import the library directlyLibrary locationUse third-party librariesNotes

Demonstrate the methods of installing and importing libraries in three cases.

Install third-party libraries

The entire car case requires libraries such as Adafruit_NeoPixel, Adafruit_PWM_Servo_Driver_Library, TM1650, and IRremote.

xxxxxxxxxx
Install the software library yourself through the software manager, and the version must be consistent!

Add .zip library

Users need to know the location of the software library compressed package.

x
The third-party library compressed package is located in [Software Resources: Library]

image-20240530160120937

image-20240612192856054

You need to add the compressed package corresponding to each library in the picture, and the method is the same.

xxxxxxxxxx
After adding the library successfully, a success prompt will appear in the lower right corner of the Arduino IDE!
  • View the installed libraries

image-20240530170542582

Software Management Library

Use the library manager that comes with the software to install. This method requires confirmation that the installed version is consistent with the one we provide. Please do not upgrade at will to avoid program errors.

Adafruit NeoPixel

Search Adafruit NeoPixel in the management library and click Install.

xxxxxxxxxx
Adafruit_NeoPixel is a library for controlling RGB (red, green, and blue) LED strips.

image-20240530161303975

Installation successful:

image-20240530161338177

Adafruit PWM Servo Driver Library

Search for Adafruit PWM Servo Driver Library in the library manager and click Install.

xxxxxxxxxx
Adafruit PWM Servo Driver Library is a method for controlling PWM (pulse width modulation) servos and other motors, which changes the speed of the motor by controlling the pulse width of the voltage.

image-20240530161509806

image-20240530161534570

Installation successful:

image-20240530161612730

IRremote

Search IRremote in the management library and click Install.

xxxxxxxxxx
The IRremote library is used to read the signal data sent by the infrared remote control.

image-20240530162242061

image-20240530162315287

TM1650

Search TM1650 in the management library and click Install.

xxxxxxxxxx
The TM1650 library is a software library used to communicate with the TM1650 chip.

image-20240612193002561

Installation successful:

image-20240612193031993

  • View installed libraries

image-20240530170600298

Import the library directly

Find the folder where the library is located and unzip the software library to the libraries directory.

Library location

Click Preference in the File directory

image-20240530162957812

The path selected here is the library location:

image-20240530163017331

Unzip all the software library packages we provide in this folder:

image-20240612193220962

We need to restart the Arduino IDE to display the directly imported library.

image-20240612193347347

Use third-party libraries

Include the header file corresponding to the library and you can use it.

xxxxxxxxxx
#include <TM1650.h>
#include <IRremote.hpp>
#include <Adafruit_NeoPixel.h>
#include <Adafruit_PWMServoDriver.h>

Notes

  • If you are not sure about the new version update content, please do not update the library version

  • Possible reasons for failure to import the library directly

Normal decompression method: the contents of the compressed package need to be in the next level directory

image-20240530163853495

Wrong decompression method: the contents of the compressed package are in the next level directory, so it cannot be detected (there is an extra layer of IRremote-4.3.1 folder in the picture)

image-20240530163940401

Arduino IDE usage
Program compilation and upload

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文