(RB-13K023)Electronic Start Kit

From ALSRobot-Wki
Jump to: navigation, search
13K02301.png

Contents

Product overview

The Arduino Electronic Starter Kit is produced by Harbin Alseon Robotics Technology Co.,Ltd. This Arduino Electronic Starter Kit is specialized for the beginners and the weathered professionals alike. This version comes with the Arduino UNO Mega328. Also included is a multitude of inputs, outputs. If you are just getting started with Arduino, we strongly recommend the Electronic Starter Kit.

This Arduino Electronic Starter Kit also incidental 18 experiment curriculum, Every experiment is from easy to difficult, step by step, carefully choreographed, each experiment is equipped with a circuit diagram, component docking diagram, experiment detail descriptions and examples of procedure, this Arduino Electronic Starter Kit is your first essential choice to walk into the Arduino electronic world.

Main controller technical parameters

  1. Main controller:Carduino UNO R3
  2. Microcontroller:ATmega328
  3. Flash RAM:32 KB (ATmega328, 0.5 KB of it is used for Bootloader)
  4. Operating Voltage:5V
  5. Input voltage:External power supply not required when USB connected or Input of 7V~12V DC
  6. Output voltage:5V DC Output, 3.3V DC Output and External power supply input
  7. Clock frequency:16 MHz
  8. Input voltage:7-12V(recommended)
  9. Input voltage:6-20V(limited)
  10. Supports USB Interface Protocol and power supply(External power supply not required)
  11. Supports ISP download
  12. Digital I/O interface:14(6 PWM Output port)
  13. Simulation input interface:6
  14. DC Current:40mA(I/O Pin))
  15. DC Current:50mA(3.3V Pin)
  16. EEPROM:1 KB (ATmega328)
  17. SRAM:2 KB (ATmega328)
  18. Size:75x55x15mm

Arduino download and compilation environment

The most current updated version: Arduino 1.6.5
Download link: http://www.arduino.cc/en/Main/Software

Arduino experiment

Light up the 13th pin LED, make it last for one second, switch it off, turn it on for one second again, and repeat the whole process.
In this first experiment, we assume that the used controller model is Arduino UNO, has accessed to the Arduino development environment and has installed a USB drive.

Arduino control board and PC connection

Plug the USB cable into Arduino control board, the other end into the computer's USB port. (When working independently Arduino control board can choose to have its power supply from the USB cable or from the power adapter)

Set up Arduino development environment language

After opening the main Arduino program, the software will automatically recognize the system's language, and then set up a development environment which fits the language. If necessarily, you can also set another different language, just open: File> Preferences, find "Editor language" option, change it to the language that you need (For example: Simplified Chinese), and then close and re-open the main Arduino program, the development environment interface will become Chinese.


Arduino1231.jpg


Arduino1232.jpg


Arduino1233.jpg


Open LED blink sample code


Open software-Select file - Example - 01.Basics - Blink

blink


Set Board Model

Arduino include multiple versions of main controllers, some of the most common are Uno, Leonardo and Mega series controllers. Click "Tools" on the software, and then choose matching model on the option "plate". You need to choose the plate model according to your own type of hardware firmware. (The sample selected is Uno bootloader controller)
Tools - Plate - Arduino Uno

Arduino1235.jpg


Set the serial port

Tools > Serial ports > xx,xx should accord with what is shown in your computer Device Manager.

Arduino1236.jpg


Program download

As shown, click to verify, the verification is done, but the program is not downloaded to the controller. It requires to click Upload button to download; if click the upload button directly, the program will first begin the verification process and then download the program directly to your Arduino control board .

Arduino1237.jpg


Program Effect

Arduino Uno onboard 13-pin LED lights is blinking.

Arduino UNO driver installation

Arduino UNO driver installation method

Sample Program List

  • Hello World!
  • LED flashing experiment
  • Design of Traffic Light Experiment
  • Button control LED experiment
  • Quick - Answer Device Design experiment
  • Analog value reading experiment
  • PWM Regulation of brightness experiment
  • Buzzer sound experiment
  • Photosensitive light experiment
  • LM35 Temperature Sensor experiment
  • Relays application experiment
  • Servo Control Experiment
  • Multi-segment digital display experiment
  • 74HC595 Application experiment

Selection of sample Program

PWM motor speed control

Experiment Introduction

In the experiment, PWM output value can be changed through the key switch, then control the fan speed and wind power.

Hardware Equipments

  • CarDuino UNO R3 Controller×1
  • USB download cable×1
  • Large breadboard×1
  • Jumper wire ×several
  • DC motor×1
  • Flabellum×1
  • IRF520×1
  • 1N4007×1
  • Button switch×2
  • Resistance×2

Hardware Connection=

PWM Motor Speed Control experiment schematic diagram

13k02101.jpg

PWM Motor Speed Control experiment breadboard Connection diagram

13k02102.png

PWM Motor Speed Control experiment connection diagram

13k02103.png

Sample Code

int switchPin1=7; //定义switchPin1 引脚为7 连接加速按键
int switchPin2=8; //定义switchPin2 引脚为8 连接减速按键
int motorspeed=9; //定义motorspeed 引脚为9
int a=0; //变量a 用来存储数值
void setup()
{
pinMode(switchPin1, INPUT); //设定switchPin1 引脚为输入状态
pinMode(switchPin2, INPUT); //设定switchPin2 引脚为输入状态
pinMode(motorspeed,OUTPUT); //设定motorspeed 引脚为输出状态
}
void loop()
{
if (LOW== digitalRead(switchPin1)) //如果switchPin1 为低电平则执行下面的语句
{
a=a+10;
analogWrite(motorspeed,a); //将a 的值赋给motorspeed
delay(1000); //延时1 秒
}
if (LOW== digitalRead(switchPin2)) //如果switchPin2 为低电平则执行下面的语句
{
a=a-10;
analogWrite(motorspeed,a); //将a 的值赋给motorspeed
delay(1000); //延时1 秒
}
}

Products related to recommend

Erweima.png

Purchase Link

ALSRoborBase Arduino Electronic Starter Kit

Related Documents

Getting Started with Processing kit Video Collection
Usage of Flame sensor demo video火焰传感器使用演示视频
Voltage sensor usage demo video
Alsrobot Technical Forum

Personal tools
Namespaces

Variants
Actions
Navigation
Tools