π‘ 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! π
- 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!
- 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)
-
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!
git clone https://github.com/SBasu14/Basic-Arduino-Projects.git
cd Basic-Arduino-Projects/Programs -
Download from the Arduino Official Website
-
Follow the installation instructions for your operating system (Windows / macOS / Linux)
-
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
- Open the desired project folder
- Open the
.inofile 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
If you have any feedback, please reach out to me at samabasu14@gmail.com