Skip to content

A blinking LED project using Uno R3, AVR Libraries and C language.

License

Notifications You must be signed in to change notification settings

kentlouisetonino/hw-blinking-LED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$\textnormal{HW - Blinking LED}$


video-hw-blinking-LED-testing.mp4

  • A blinking LED project using Uno R3, AVR LibC and C language.



$\textnormal{System Design}$


Makefile Process


Breadboarding




$\textnormal{Local Development}$

  • This works well in Linux based system.
  • Install the necessary tools inorder to interact with Arduino without the IDE.
# Standard library for Atmel AVR devices.
# This contains most of the features required by the ISO C standard.
sudo apt install avr-libc

# A program for downloading and uploading on-chip memories of Atmel AVR Microcontroller.
sudo apt install avrdude

# A program to assemble and manipulate binary and object files for the AVR architecture.
sudo apt install binutils-avr

# GCC C cross compiler for AVR.
sudo apt install gcc-avr
  • Take note that the library headers might be placed here /usr/lib/avr/include.
  • Run the command below to execute the commands specified in Makefile.
# Change directory to the root of the project.
# Execute the MakeFile and upload in the Arduino microcontroller.
make



$\textnormal{Requirements}$

  • Electronic components and board used in this project.
Arduino UNO R3 (x1)
USB 2.0 Cable Type A/B (x1)
Breadboard (x1)
LED Red 5mm (x1)
Resistor 220 ohm (x1)
Male to Male Jumper Wire (x2)
  • Software used in this project.
Linux Ubuntu 22.04
Gnome Terminal
Neovim / VSCode
GCC / CLang (For Text Editor Support and Autocomplete)
avr-libc
avrdude
binutils-avr
gcc-avr