From Script | Spoken-Tutorial
Jump to: navigation, search

Arduino is an open source platform used for building electronics projects. Arduino consists of both a physical programmable circuit board or microcontroller and a software, IDE (Integrated Development Environment) that runs on the computer. It is used to write and upload computer code to the physical board.

Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output pins, USB connection which is used for loading programs from computers, power jack, reset button etc.

A program written with the IDE for Arduino is called a sketch. The Arduino IDE supports the languages C and C++ using special rules of code structuring. It consists of only two functions, setup and loop. The setup function is used to initialize variables, input and output pin modes and other libraries needed in the sketch. After setup has been called, function loop is executed repeatedly in the main program. It controls the board until the board is powered off or reset.

Arduino can interact with buttons, LEDs, motors, speakers, cameras, TV and smart phones etc. It can used for almost any electronics projects.

The Spoken Tutorial effort for Arduino has been contributed by Nirmala Venkat and Manivel from Spoken Tutorials.

The domain review of this series is done by Srikant Patnaik from FOSSEE.


Basic Level

  1. Introduction to Arduino
    • About Arduino device
    • Features of Arduino
    • Components of Arduino board
    • Description of Microcontrollers
    • Few examples where a Microcontroller is used
    • Installation of Arduino IDE on Ubuntu Linux OS
    • Run the arduino executable file
    • The Arduino IDE window
  2. Arduino components and IDE
    • Set up a physical connection between Arduino and a computer
    • Connect the Arduino board to the computer using the USB cable
    • Various components available in Arduino hardware
      • ATMEGA 328 microcontroller chip
      • About Arduino BootLoader
      • Digital Pins
      • Analog Pins
      • Blinking LEDs that are helpful for troubleshooting
      • Ground Pins
      • External power adapter
    • Arduino programming language
  3. First Arduino Program
    • Write an Arduino program to blink an LED
    • Arduino program is saved as Sketch
    • Default program environment with two empty functions -
      • setup - function for setting up a micro-controller
      • loop - infinite loop
    • Program to turn on the LED
    • Compile the program into binary format
    • Program to turn off the LED
  4. Arduino with Tricolor LED and Push button
    • Tricolor LED - Common Cathode Tricolor LED
    • Other external devices that are required for this experiment
    • Understand the connection circuit details
    • Connect a tricolor LED to Arduino board
    • Write a program to blink tricolor LED
    • Use Pushbutton to control the blinking
    • How to reduce the delay of the blink
  5. Arduino with LCD
    • Connect an LCD to Arduino board
    • See the details of the circuit connection
    • See how to do the soldering
    • Setup the components as per the circuit diagram
    • The aim is to write two strings on the LCD display
    • Write a program to display a text message on the LCD
  6. Display counter using Arduino
    • Connect an LCD and a Push button to Arduino board.
    • Add a pushbutton and make a simple counter
    • Write a program in the Arduino IDE
    • See that pushbutton is working successfully
    • Modify the program to set a counter
    • Output: count is increased whenever the button is pressed

Contributors and Content Editors

Nirmala Venkat