Jarenas-py/arduino-uno-coding
A comprehensive collection of Arduino Uno projects showcasing fundamental to intermediate programming. Features source code and documentation for LED control systems, 7-segment displays, environmental sensors (DHT11/LM35), I2C LCDs, and Real-Time Clock (RTC) automation.
Arduino Uno Coding
Welcome to the Arduino Uno Programming Showcase repository. This collection serves as a comprehensive archive of fundamental to intermediate projects using the Arduino Uno. It demonstrates capabilities ranging from basic LED manipulation to complex integrations with sensors, RTCs (Real Time Clocks), and LCDs.
๐ Repository Structure
The repository has different programming arudino projects focusing on specific components and programming concepts:
- LED Control Systems
- Focus: Digital I/O, Analog Input, PWM.
- Projects: Potentiometer-controlled brightness, Push-button toggle, and LED chaser patterns using combined inputs.
- 7-Segment Displays
- Focus: Display logic, Arrays, Multiplexing.
- Projects: Single digit counters, automatic counters, 2-digit push-button counters, and a 4-digit countdown timer with minutes/seconds.
- Environmental Sensors & LCDs
- Focus: I2C Communication, Sensor Libraries, Data Visualization.
- Projects: Basic LCD "Hello World", Temperature monitoring with LM35, and Humidity/Temperature tracking with DHT11.
- Advanced Timing & Alarms
- Focus: Timekeeping, Relay Modules, Interrupts/State Machines.
- Projects: Beep Quarter Timer, LCD Timer with DS1302/DS1307 RTC, and a fully functional Time Alarm system with relay activation.
๐ ๏ธ Hardware Requirements
To replicate these projects, you will need the following components:
- Microcontrollers: Arduino Uno R3 or Arduino Mega 2560
- Displays: 16x2 or 20x4 LCD (I2C), 7-Segment Displays (1-digit, 2-digit, 4-digit)
- Sensors: DHT11 (Humidity/Temp), LM35 (Temperature)
- Modules: DS1302/DS1307 RTC, Relay Module (1-channel)
- Basic Components: LEDs (Red/Green), Piezo Buzzer, Push Buttons, Potentiometers (10kฮฉ), Resistors (220ฮฉ, 10kฮฉ), Breadboard, and Jumper Wires.
๐ป Software & Libraries
- IDE: Arduino IDE
- Required Libraries:
LiquidCrystal_I2C(for LCDs)DHT(for DHT11 sensor)DS1302orRTClib(for Real Time Clocks)Wire(Standard I2C library)
๐ Getting Started
- Clone this repository:
git clone https://github.com/Jarenas-py/arduino-uno-coding
- Navigate to the specific activity folder
- Open the
.inofile in the Arduino IDE. - Install the necessary libraries via the Library Manager.
- Verify the circuit connections
- Upload the code to your board.
๐ค Author
Joseph Arenas
- Student: BET-CPET (Computer Engineering Technology)
- Institution: Technological University of the Philippines - Manila
This repository is intended for educational purposes and showcases the practical application of microcontroller systems.