Skip to content

pettersonfaria/ArduinoMarioTheme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ArduinoMarioTheme

Assignment 9. ARDUINO PROGRAMMING - INTO

Authors:
Freyr Bergsteinsson [email protected]
Egill Bjornsson [email protected]

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

INTO_Skil9_EgillOgFreyr_Mario

This is a supplemental project for potential creativity points.
It makes the Arduino play the Mario Bros theme song when the button is pressed.

Video showing the assembled Arduino running this code.

Arduino Assembly

Accurate circuit diagram can be found here.

In general terms:

Pin | Connected to  
----+------------------------------------------------------  
  0 | Seven segment display pin 7  
  1 | Seven segment display pin 6  
  2 | Seven segment display pin 4  
  3 | Seven segment display pin 2  
  4 | Seven segment display pin 1  
  5 | Seven segment display pin 9  
  6 | Seven segment display pin 10  
  7 | 330 ohm resistor -> Seven segment display pins 3 & 8  
  8 | Button pin  
  9 | 330 ohm resistor -> RGB led red light pin  
 10 | 330 ohm resistor -> RGB led green light pin  
 11 | 330 ohm resistor -> RGB led blue light pin  
 12 | 10k ohm resistor -> Buzzer pin  
 13 | Not used  
----|------------------------------------------------------  
 5v | Buzzer voltage pin  
----|------------------------------------------------------  
Gnd | RGB led ground pin  
Gnd | Button ground pin  
Gnd | Buzzer ground pin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published