Skip to content

Beginner-friendly Arduino programs, each showing how to use simple components (like LEDs, buzzers, buttons, sensors, etc.) to help new learners get comfortable with Arduino basics. Will keep updating!

Notifications You must be signed in to change notification settings

SBasu14/Basic-Arduino-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”§ Arduino Basics – Getting Started with Components

πŸ’‘ Welcome to Arduino Basics, a collection of simple and fun projects designed to help you get familiar with Arduino hardware and programming!

Each example introduces a new component or concept, making it easy for beginners to learn step-by-step.
Whether you're blinking your first LED or playing tones with a buzzer, this repo will help you build a strong foundation in embedded electronics.

More components will be added regularly β€” stay tuned for updates! πŸ”

βš™οΈ Requirements

  • Arduino IDE β†’ Download here
  • Arduino Board β†’ Uno, Nano, or Mega recommended. I used Uno for most of the projects!
  • Basic Components β†’ LEDs, resistors, push buttons, jumper wires, breadboard, sensors, potentiometers, piezo buzzers etc.
  • USB Cable to connect your Arduino

New components might be added with new projects!

πŸ“¦ Prerequisites

  • Arduino IDE (version 1.8.x or higher) or Arduino Web Editor
  • Basic understanding of C/C++ programming
  • Fundamental knowledge of electronics (voltage, current, resistance)

πŸš€ Projects Overview

  • Morse Code for SOS -Generates an SOS distress signal (Β·Β·Β· --- Β·Β·Β·) using basic digital write commands. This project introduces digital output control and timing.

    Key Concepts: digitalWrite(), delay(), digital pins

  • Morse Code for SOS (Minimized) - An optimized version of the SOS signal using functions or loops to reduce code repetition.

    Key Concepts: Functions, code optimization, DRY principle

    (Both the above projects use the on-board Arduino LED)

  • LED Glow - The classic "Hello World" of Arduino - makes an LED blink on and off.

    Key Concepts: Basic I/O, pinMode(), digital output

  • LED Intensity Variation - Controls LED brightness using Pulse Width Modulation (PWM).

    Key Concepts: analogWrite(), PWM, duty cycle

  • LED Morse Code for SOS - Combines LED control with Morse code timing to create a visual SOS signal.

    Key Concepts: Pattern generation, timing sequences

  • Buzzer - Basic buzzer control - creating simple sounds and tones.

    Key Concepts: tone(), noTone(), piezo buzzer control

  • Buzzer Beep SOS - Generates an audible SOS signal using a buzzer.

    Key Concepts: Sound patterns, timing with audio output

  • Buzzer and LED - Synchronizes both LED and buzzer to create audiovisual feedback.

    Key Concepts: Multiple outputs, synchronization

  • Buzzer Frequency Variation - Explores different frequencies and tones that can be generated with a buzzer.

    Key Concepts: Frequency control, tone() function with parameters

  • Comparator Circuit - Compares two analog signals and produces a digital output based on the comparison.

    Key Concepts: analogRead(), conditional statements, analog-to-digital conversion Watch for Updates!

🎯 Getting Started

Installation

1. Clone this repository

git clone https://github.com/SBasu14/Basic-Arduino-Projects.git
cd Basic-Arduino-Projects/Programs 

2. Install Arduino IDE

  • Download from the Arduino Official Website

  • Follow the installation instructions for your operating system (Windows / macOS / Linux)

3. Connect Your Arduino

  • Plug your Arduino board into your computer via USB

  • Open the Arduino IDE

  • Select the correct board and port:

  • Go to Tools β†’ Board β†’ select your Arduino model (e.g., Arduino Uno)

  • Go to Tools β†’ Port β†’ select the correct COM port

Uploading a Project

  • Open the desired project folder
  • Open the .ino file in Arduino IDE
  • Verify the code (checkmark button) to check for errors
  • Upload the code (arrow button) to your Arduino board
  • Open Serial Monitor (if applicable) to view output

License

MIT

Feedback

If you have any feedback, please reach out to me at samabasu14@gmail.com

About

Beginner-friendly Arduino programs, each showing how to use simple components (like LEDs, buzzers, buttons, sensors, etc.) to help new learners get comfortable with Arduino basics. Will keep updating!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages