Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
/ microp-lab3 Public archive

ATMEGA328P Lab. Group with Faqiih, Naufal, Khairul, Najmi & Naufal

Notifications You must be signed in to change notification settings

iqfareez/microp-lab3

Repository files navigation

MicroP lab

ATMEGA328P Lab

Software needed

  • Atmel Studio 7
  • XLoader
  • Proteus 8 (simulation)

Hardware needed

  • Arduino UNO (SMD or DIP doesn't matter)

Getting started

  • Open solution and main.asm file in Atmel Studio 7
  • Build solution F7
  • HEX file will be generated in Debug folder
  • Open XLoader and select HEX file
  • Select COM port
  • Baud rate doesn't matter
  • Click Upload button

XLoader

Experiments

Experiment 3A

Task 1: One input, one output

Circuit diagram

Exp1-Task1_bb

Results
20221114_100601.mp4

Task 2: Multiple inputs, multiple outputs

Circuit diagram

Exp1-Task2_bb

Results
exp1-task1-multiple.input.multiple.output.mp4

Task 3: Running lights

Circuit diagram

Exp1-Task3_bb

Results
exp1-task1-LED.sequence.mp4

Experiment 3B

Task 1: Display digit 4 to 7-segment display without using HD74LS48P decoder.

Circuit diagram

Exp2-Task1_bb

Results

7segtask1

Task 2: Display digit 4 to 7-segment using HD74LS48P decoder.

Circuit diagram

Exp2-Task2_bb

Results

oops, appear to be missing. Imagine the result as below but instead of changing numbers, it just shows static digit 4.

Task 3: Count 0-9 on the 7-Segment Display

I wrote a whole article about this task here

Circuit diagram

Same as above

Results
exp2-task3-land.mp4

Experiment 4

Proteus simulation only, no real circuit

You may need to add Arduino UNO Library for Proteus V2.0

Task 1: Drive the DC motor in a clockwise and counterclockwise direction

Circuit diagram

motor-direction-1

Results
Task1.mp4

[Watch on YouTube]

Task 2: Control the speed of the motor using PWM

Circuit diagram

motor-speed-2

Results
Task2.mp4

[Watch on YouTube]

Project

We make a Rakaat Counter!

Sejadah Raka’at Counter aims to automate the counting of prayer cycles (raka’at) during prayers in mosques and other places of worship. The system utilizes a combination of mechanical, electrical, and software components to accurately and efficiently count the number of prayer cycles performed by individuals in a designated area. This project aims to provide an accurate and convenient solution for keeping track of an individual's prayer activity and helping to get rid of feelings of misgiving.

image1 image2
Watch Video1 Watch Video2

About

ATMEGA328P Lab. Group with Faqiih, Naufal, Khairul, Najmi & Naufal

Topics

Resources

Stars

Watchers

Forks