Arduino Basics Tutorial

Introduction

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It consists of a microcontroller board, which can be programmed to sense and control the physical world. The Arduino IDE is used to write and upload code to the board. Well Arduino IDE is not limited to Arduino boards only, it can be used to program other microcontrollers as well.

Specifications for Arduino UNO R3

Specification

Details

Microcontroller

ATmega328P

Processor

8-bit AVR

Clock Speed

16 MHz

I/O Voltage

5 V

Power Input Voltage (VIN Pin)

7 V - 12 V (Typical 9 V)

DC Current per I/O Pin

20 mA

Memory

2KB SRAM, 32KB FLASH, 1KB EEPROM

Guidelines

Tinkercad

You do not need to have Arduino board physically. You can use software platforms like Tinkercad. or Proteus to simulate the code. The easiest and free one is Tinkercad. You can create a free account and start using it here.

Youtube Tutorials

There are many arduino tutorials available online. We recommend you a youtube playlist, New Arduino Programming by Paul MCWhorter. For real beginners, complete all the videos and use Tinkercad. Some components may not be available in Tinkercad. In that case, you can directly use physical components if available.

Knowledge Check

After completing the videos, you have to be able to do the following:

  • Using resistors and color coding of resistors

  • Breadboard Wiring

  • Arduino Programming
    • Digital Input/Output (LED, push button) and External Interrupts (rising, falling)

    • Analog Input/Output (ADC, PWM)

    • Serial Communication (UART)

    • Using Libraries

  • Actuator Interfacing
    • DC Motor

    • Servo Motor

    • Stepper Motor

  • Using Sensors
    • Light Sensor (LDR)

    • Ultrasonic Sensor

    • Temperature and Humidity Sensor (DHT11/DHT22)

  • 16x2 LCD Interfacing

  • Using multimeter

  • Using Oscilloscope