(RB-13K021)Getting Started with Arduino kit

From ALSRobot-Wki
Jump to: navigation, search
Aishang.jpg

Contents

Product overview

Getting Started with Arduino kit has been updated by Harbin Alseon Robotics Technology Co.,Ltd.In order to further enhance the Arduino enthusiasts’starter experience, our company summarizes every customer's feedback carefully, delves into each good course on the market, chooses each component for meeting your choices, considers each study, now the Arduino starter kit has been updated to components box course,the kit CD contains all the experimental demonstration example to help Arduino's enthusiast finish every experiment,and help enthusiasts to know the open source prototype platform,which is the most popular in the world.

Getting Started with Arduino kit is crafted specifically for the Processing and Arduino enthusiasts, which contains many of the market's most popular sensor modules. Although you did not learn the programming language of the host computer electronic circuit or VB, VC, Delphi, etc, you can still follow the product instructions operation to do experiment step by step. Through the operation of each experiment, you can achieve the interaction between the sensor and Processing easily by the interface of 3P sensor cable and sensor expansion board.

This kit not only includes all the example of detailed notes program in Getting Started with Arduino kit, but also includes Processing, Arduino IDE, Fritzing serial debugging assistant and other commonly used software.

Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board.

Bridging the gap between the "real world" and your computer, the Getting Started with Arduino kit is your starting point into the world of physical computing. Using the electronic parts included, along with our best selling Getting Started with Arduino book, the co-founder of Arduino, you'll be ready to join the tens of thousands of engineers, designers, artists and hobbyists who have discovered this incredible and educational prototyping platform. Besides the DC plugs and battery packs, this kit requires no soldering whatsoever.

This valuable little book offers a thorough introduction to the open-source electronics prototyping platform that's taking the design and hobbyist world by storm. Getting Started with Arduino gives you lots of ideas for projects and helps you get going on them right away.

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

  • Serial communication control LED experiment
  • Smart dice experiment
  • Far-infrared flame sensor experiment
  • Reed control relay experiment
  • Digital sensors control water lights experiment
  • Intelligent doorbell
  • PWM control LED light brightness experiment
  • Full Color LED simulate breathing light experiment
  • PWM control motor speedexperiment
  • Pyroelectric infrared sensor human detection alarm experiment

Selection of sample Program

Full Color LED simulate breathing light experiment

Experiment Introduction: In the experiment, via the 3-way PWM output we can control the asymptotic variation of LED's 3 colors and simulate the continuously changing breathing light effect.

Require Hardware

  • CarDuino UNO R3 controller×1
  • USB download cable×1
  • Large breadboard×1
  • Jumper wire ×several
  • Full Color LED×1
  • Resistance×3

Hardware Connection

Full Color LED simulate breathing light experiment schematic diagram

13k02302.png

Full Color LED simulate breathing light experiment breadboard Connection diagram

13k02303.png

Full Color LED simulate breathing light experiment connection diagram

13k02304.png

Sample Code

int R_Pin = 11;
int G_Pin = 10;
int B_Pin = 9; //定义三个输出引脚并分别连接全彩LED 灯的red,green 和blue 引脚
void setup()
{
pinMode(R_Pin, OUTPUT);
pinMode(G_Pin, OUTPUT);
pinMode(B_Pin, OUTPUT); //定义三个引脚为输出
}
void loop()
{ int i,j,k;
for(i=1;i<=7;i++) //红灯逐渐变亮
{
for(j=1;j<=7;j++) //绿灯逐渐变亮
{
for(k=1;k<=7;k++) Color(i,j,k); //蓝灯逐渐变亮
for(k=6;k>=2;k--) Color(i,j,k); //蓝灯逐渐变暗
}
for(j=6;j>=2;j--) //绿灯逐渐变暗
{
for(k=1;k<=7;k++) Color(i,j,k);
for(k=6;k>=2;k--) Color(i,j,k);
}
}
for(i=6;i>=2;i--) //红灯逐渐变暗
{
for(j=1;j<=7;j++)
{
for(k=1;k<=7;k++) Color(i,j,k);
for(k=6;k>=2;k--) Color(i,j,k);
}
for(j=6;j>=2;j--)
{
for(k=1;k<=7;k++) Color(i,j,k);
for(k=6;k>=2;k--) Color(i,j,k);
}
}
}
void Color(int r, int g, int b) //全彩LED 子程序
{
analogWrite(R_Pin, 36*r);
analogWrite(G_Pin, 36*g);
analogWrite(B_Pin, 36*b);
delay(100);
}

Program Effect:When the CarDuino UNO R3 controller power on, red、green and blue color of LED gradually brighten and darken respectively following different orders, thereby a variety of colors were generated from the three primary colors.

Products related to recommend

Erweima.png

Purchase Link

Getting Started with Arduino Kit--UNO R3

Related Documents

Getting Started with Processing kit Video Collection
Alsrobot Technical Forum

Personal tools
Namespaces

Variants
Actions
Navigation
Tools