This repository contains a series of lab assignments focusing on Atmega328p microcontroller programming using Arduino-Uno completed by me and my lab group for the CMPE 453 Embedded Systems course during the Fall 2023 semester at TED University.
I would like to acknowledge the following contributors for their valuable contributions to the labs and codes:
- Erkan Sancak
- Buğrahan Kadir Sarıca
- Mısra Nur Özdemir
- Elif Aysu Kürşad
- Description: Set up a circuit with a breadboard, Arduino-Uno, 7-segment display, 220Ω resistors (11), 3 LEDs, and jumpers. Program the ATMEGA328p microcontroller to generate a random number between 0 and 7, display it on the 7-segment display, and play a binary light game with the LEDs.
- Description: Establish serial communication between a host computer and the Atmega328p microcontroller on an Arduino Uno board. Develop an embedded system that accepts a character between 0 and 9 from the serial monitor of the host PC and displays it on the seven-segment display.
- Description: Connect Arduino-Uno, Arduino Base Shield, Grove Button, and Grove LCD Screen. Program the microcontroller to display a "Hello" message on the LCD screen and count the number of button presses. Reset the count if there are 5 presses in 3 seconds.
- Description: Design a basic color sensor to distinguish between Red, Yellow, and Blue color objects using a Grove Light Sensor. Read color intensity from LEDs (Red, Yellow, Blue) and display the detected color on the serial monitor.
- Description: Understand the mechanism of interrupt handling by the microcontroller. Connect a push button to INT0, and program the microcontroller to toggle LEDs in response to button presses.
- Description: Design a real clock by programming Timer1 of the AVR Microcontroller. Use a push button to adjust the hour and minute values through UART communication. Display the current time on an LCD display and update it based on user input.
- Description: Use LPC2148/ LPC2138 microcontroller and connect eight LEDs to P0.9–P0.16 using Proteus simulation software. Program the microcontroller to display a binary number from 100 to 255 in a circular way on the LEDs.
- Clone this repository to your local machine.
- Navigate to the specific lab assignment folder for detailed instructions.
- Note that every folder has a instruction and report files and also code for programming AVR Microcontroller(.ino).
- Follow the provided instructions to set up the hardware, software, and complete the assignment.
- You can use Arduino IDE to debug and compile the codes. Donwload Arduino IDE
Feel free to contribute to this project by submitting issues, suggesting improvements, or contributing code.
Erkan Sancak, 2023.