Skip to content

kbatman37/AVR-Hello-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

AVR-Hello-World

Files in HelloWorld are files created mostly when following the Getting Started With AVR videos from Atmel

Parts

Color Brightness Wavelength VDrop IMax Resistor?
Red 150-200mcd (200mcd) 620-625nm 2.0-2.4V(2.2V) 20mA 330 Ohm
Yellow 150-200mcd 587-591nm 2.0-2.4V 20mA 330 Ohm
Blue 300-400mcd 465-467.5nm 3.0-3.4V 30mA 187 Ohm
Green 150-200mcd (200mcd) 570-575nm 2.0-2.4V (2.2V) 20mA 330 Ohm

Other Links

ATtiny2313 pinout

BusPirate Reference

NOTE TO SELF: run wire directly, ribbon cable does not work

  • SparkFun cable mapping

BusPirate Signal AVR Signal ISP pin (6) BusPirate Cable
Color (SparkFun)
ATtiny2313 Pin ATmega328P pin
GND GND 6 Black 10 8
+5V or +3.3V Vcc 2 Grey or White 20 7
CS RESET 5 Red 1 1
MOSI MOSI 4 Pink / Orange 17 17 (PB3)
MISO MISO 1 Brown 18 18 (PB4)
SCLK/CLK SCK 3 Yellow 19 19 (PB5)
  • Using the BusPirate as a power source for the circuit

AVRDUDE

  • avrdude -c buspirate -p attiny2313 -P COM3 -v
  • avrdude -c buspirate -p attiny2313 -P COM3 -U flash:w:HelloWorld.hex

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published