World's Fastest PCB Manufacturing
My Message
Suggestions
Account

Get started now

Log In

or

Sign Up

My ALLPCB

My Orders Shipping Address Balance Account Settings My SNS Profile
0
  • Home
  • Instant Online Quote Alternate Text
    • PCB Instant Quote
    • PCB Assembly Quote
    • SMD-Stencil Quote
  • PCB Assembly
  • PCB Capabilities
  • Feedback
  • Resources
    • Sponsorship
    • PCB Softwares
    • Units Conversion
    • FAQ
  • About Us
    • About Us
    • Why Us
    • Contact Us
    • News
Log In Sign Up
  • Home
  • Instant Online Quote
    • PCB Instant Quote
    • PCB Assembly Quote
    • SMD-Stencil Quote
  • PCB Assembly
  • PCB Capabilities
  • Feedback
  • Resources
    • Sponsorship
    • PCB Softwares
    • Units Conversion
    • FAQ
  • About Us
    • About Us
    • Why Us
    • Contact Us
    • News
service@ALLPCB.com
Thank you very much for your valuable suggestion!
We will solve it as soon as possible!

Guide for Beginners with Arduino

2017/2/10 2:36:58

This project will help you get started with the Arduino, including a description of the different types of Arduinos, how to download the Arduino software development environment, and describe the different shields that are available for the Arduino along with the accessories you will need to develop Arduino projects.
The Arduino is an open-source, single-board microcontroller that you can use for many different applications. It is arguably the easiest and least expensive microcontroller option for hobbyists, students and professionals to develop microcontroller-based projects. Arduinos use either an Atmel AVR or Atmel ARM microcontroller chip, and some versions have a USB interface. They also have six or more analog input pins and fourteen or more digital input/output (I/O) pins that are used to connect sensors, actuators, and other peripheral circuits to the microcontroller. Arduinos cost anywhere from five or six dollars up to $40, depending on the feature set of the board.
Types of Arduino Boards
There are many different types of Arduinos available, as shown in the table below, each with its own feature set. They differ with regard to processing speed, memory, I/O ports, and connectivity, but their basic functionality is the same.
  • Arduino Uno
  • Arduino Leonardo
  • Arduino Due
  • Arduino Yún
  • Arduino Tre
  • Arduino Micro
  • Arduino Robot
  • Arduino Esplora
  • Arduino Mega
  • Arduino Mini
  • LilyPad Arduino
  • Arduino Nano
  • Arduino Fio
  • Arduino Pro
  • Arduino Ethernet
Software (IDE)
The software used to program the Arduino is called the Integrated Development Environment (IDE). The IDE is a Java application that runs on many different platforms, including PCs, Macs, and Linux systems. It is developed for beginners who are not familiar with programming. It includes a code editor, a compiler, and an uploader. Also included are code libraries for using peripherals, such as serial ports and various types of displays. Arduino programs are called "sketches," and they are written in a language very similar to C or C++.
USB Cable
Most Arduinos connect to a host computer via a USB cable. This connection enables you to upload sketches to your Arduino as well as provide power to the board.
Arduino USB cableProgramming
Programming an Arduino is easy: you use the IDE code editor to write the program and then compile and upload it with a single click.
An Arduino program includes two main functions:
  1. setup()
  • loop()
  • You use the setup() function to initialize settings for the board. This function runs only once when the board is powered on.
    The loop() function is executed after setup() completes, and unlike the setup() function, it runs continually.
    Programming Functions
    Here are some of the most commonly used functions in Arduino programming:
    • pinMode - sets the pin mode to either INPUT or OUTPUT.
    • analogRead - reads an analog voltage from an analog input pin.
    • analogWrite - writes an analog voltage to an analog output pin.
    • digitalRead - reads the value of a digital input pin.
    • digitalWrite - sets the value of a digital output pin to either HIGH or LOW.
    • Serial.print - prints data to the serial port as human-readable ASCII text.
    Arduino Libraries
    Arduino libraries are collections of functions that allow you to control devices. Here are some of the most widely-used libraries:
    • GPS library
    • LCD library
    • Servo library
    • SD library
    • Robot_control library
    • Robot_motor library
    • Ethernet library
    • Wi-Fi library
    • Stepper library
    • SPI library
    • EEPROM library
    • Software Serial library
    • GSM library
    Steps for setting up Arduino
    1. First, install the IDE software.
    2. Install the software on your PC.
    3. Now run the arduino IDE .exe file. It has a following layout:
    4. Write your program using the code editor and upload it to the Arduino. To do this, you need to connect the Arduino to your computer using a USB cable.
    5. In the IDE, select the type of Arduino you are using from the Tools -> Boards menu.
    6. Now verify your code by clicking the ‘tick’ icon at the top of the IDE window, then click the adjacent ‘right’ arrow to compile and upload the code to your Arduino.
    Note: You may have to install drivers if your system does not detect the Arduino.
    Arduino Shields
    Arduino shields are board that plug into the Arduino to allow you to connect peripheral devices, sensors, and actuators to the Arduino. Below are some popular shields:
    • GSM Shield
    • Ethernet Shield
    • WiFi Shield
    • Motor Shield
    • Proto Shield
    • Joystick Shield
    • Bluetooth Shield
    • Xbee shield
    Components and Accessories
    Below is a list of all the components and accessories commonly used with an Arduino to develop projects:
    • Breadboard
    • USB cable
    • 9V Battery
    • LEDs
    • Push Buttons
    • Capacitors
    • Voltage Regulators
    • Sensors (IR, temperature etc)
    • Jumper wires
    • Resistors
    • Potentiometer
    • Motors (DC, Servo, BLDC)
    • LCD
    • Hex keypad
    • Arduino shields
    • 1605
    • 1
    • 146
    Post Comment

      Agustin

      2017/2/12 2:36:58

      Please keep us up to date like this.

      You might like

      Luis Moreno

      • Threads

        4

      • Following

        0

      • Followers

        0

      PCB Prototype

      PCB Instant Quote

      x mm

      Quantity

      Quote Now

      PCB Assembly

      SMT-Stencil

      • 12
      Products & Service
      PCB Capabilities
      Aluminum PCB Service
      PCB Assembly Service
      SMT-Stencil
      Quotation & Feedback
      Online Auto-Quotation
      PCB Assembly Quote
      Quote by Salesperson
      Customer Reviews
      Customer Support
      FAQ
      Community
      Sponsorship
      Referral Program
      About Us
      About Us
      Why Us
      Contact Us
      News
      Resource Details
      PCB Software
      Units Conversion
      service@allpcb.com central_support@allpcb.com
      Follow Us:
      Facebook Youtube Twitter Tumblr Youtube
      Certification: Certification
      Our Preferred Partners: Our Preferred Partners

      Please send Gerbers to service@ALLPCB.com for quotation © ALLPCB.com,All Rights Reserved Privacy PolicySitemap

      Secure Site by GoDaddy.com This site has earned the McAfee SECURE certification.