Pushbutton Piano using an Arduino Redboard

Slides:



Advertisements
Similar presentations
Interfacing Project. Computer Controlled Car Left Headlight – D0 Right Headlight – D1 Left Taillight – D2 Right Taillight – D3.
Advertisements

AnaSonde Assembly. What is the AnaSonde? *Reads temperature, pressure, and humidity data from the atmosphere *After it is sent into the atmosphere, it.
CricketSat Assembly.
MOOD LIGHT PCB ASSEMBLY V By Phil Townshend 2008.
Dual H-Bridge L298N Breakout Board By Marcelo Moraes BIGDOG1971.
Systems and Control – Fuse Tester Design and Technology Present NC levelTarget for end of Key Stage Name:Subject teacher: Teaching group:Tutor: Assessment.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Embedded Programming and Robotics Lesson 6 Mechanical Assembly 1.
CricketSat Construction. Parts List Monday June14, 2013CricketSat Assembly2.
Introduction to Microcontrollers: Arduino Skylar Roebuck and Lucas Libraro.
Objectives How Microcontroller works
2007 Electronic Project Kit Remote Control Nightlight Biological & Agricultural Engineering.
ENGR 1181 First-Year Engineering Program College of Engineering Engineering Education Innovation Center First-Year Engineering Program Solar Energy Meter.
NPN Foundations of Technology NPN © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™ Foundations.
Experiments Day 1 Resistors.. Electronic Technology Definition: The technology of using small amounts of electricity for controlling, detecting, collecting,
Computer Hardware Technology
How an NPN Transistor Works
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Service Learning Project SLICE Prototype Fabrication Experience Ability Switch Test Box.
Detection Circuit ENGR Pre Lab.
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Electronic Piano G H Patel College of Engineering & Technology G H Patel College of Engineering & Technology Prepared by Sanjay Hadiyal ( )
Praxis I 13 Oct Outline Component & Device Measurement and Instrument Datasheet How to build circuit using breadboard.
Electronic Instrumentation Project 204 Project Name: Light Level Monitor Student #1: Name ID Student #2: Name ID Student #3: Name ID.
Partners: Zayira Vasquez Frantz St Valliere Lucy Lin.
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
HOW TO PLAY PIANO BETHANY ROBERTS. LEARNING THE BASICS FIND MIDDLE C. IT GOES UP FROM THERE TO G. THERE ARE SHARPS AND FLATS ALSO, BUT THOSE ARE USUALLY.
Prototyping with Microcontrollers and Sensors. Overview Objective Background Information Problem Statement Materials Procedure Assignment Closing.
Breadboards and LED’s with Arduino
Assist. Prof. Rassim Suliyev - SDU 2017
Purpose of This Minilab
Prototyping with Microcontrollers and Sensors
Microcontroller basics
ARDUINO UNO.
Pull-Up & Pull-Down Resistors
An Arduino Workshop; part 2
Arduino Development for Beginners
Logic Gates.
Building Raspberry Pi Controllers with Python
Get Your Project Started
ABE463 AS20 Interface.
“Breadboarding” a Simple FM Transmitter Assembly Instructions
How a 555 Timer Works Objectives:
Arduino Switch Soldering
Basic circuits Electrical circuits Electrical properties Ohm’s law
Dual H-Bridge L298N Breakout Board By Marcelo Moraes BIGDOG1971.
Arduino Part 4 Let there be more light.
Sensors and actuators Sensors Resistive sensors
Making) LED table lamp.
How a PNP Transistor Works
How an NPN Transistor Works
Prototyping with Micro-controllers, Sensors, and Materials
LED and a Button.
Having fun with Arduino
Prototyping with Micro-controllers, Sensors, and Materials
UNIT 9 Relays.
testing and experimenting with electronic circuits
Payload 2015 Class 9 By Jeff Dunker 5/19/ Beginner Payload.
Prototyping with Micro-controllers, Sensors, and Materials
Intro to Arduino Part 2 The Breadboard
Prototyping with Micro-controllers, Sensors, and Materials
UNIT 9 Relays.
Interface ckt for demo Outputs Inputs V PIN 0 10K PIN 4 GND GND
Logic Gates and Memory.
I/O Experiments Assignment 1.
Buttons.
Presentation transcript:

Pushbutton Piano using an Arduino Redboard Designed by Jillian Holbert Parts from Jameco & Sparkfun

Description 13 key pushbutton piano plays C4 - C5 6 switches allow transposing from C2 - C7 6 LEDs indicate which switches are on Transposition goes up one ½ step using binary to count Blue LED is MSB, Red LED is LSB Arduino Redboard microcontroller programs notes to play Interfaces with speaker and switches LEDs are mechanical

Parts List 13 pushbuttons 6 switches 6 LEDs 19 330-ohm resistors Arduino RedBoard microcontroller Speaker Headers/jumper pins/jumper wire

Transposition In music, transposing a note one ½ step up means going from C4 to C#4 (C sharp) Transposing a hole step is going from C4 to D4 Transposing an octave is going from C4 to C5

Truth Table / Binary Count for Notes In HEX: C2 starts at 01 C3 starts 0D C4 starts 19 & 00 C5 starts 25 C6 starts 31

Truth Table Cont...

The Code If switch = 00 If switch = 01 then Then button 1 = C4 Button 3 = D4 Button 4 = D#4 Etc… If switch = 01 then Then button 1 = C2 Button 2 = C#2 Button 3 = D2 https://script.google.com/macros/d/Mq4KoQs2eQj- BXjejbL_IM6s6S2k1A6oy/edit?uiv=2&mid=ACjPJvG2u2xhLxHT8sPvbMhZp9mcI02jM15 XYG3Bi1NS9zjsdvvl1_PR34u5D1oR8EJa9oHZRZdupAxQWI8goAqiIY4wwzV4g1Xhd3iJll 71Fuhh2eD8mgn99G2cqr0XxR4YaOFawVHbtg

Schematic

Switch The pushbuttons are active low so the pins are attached at the voltage leg. The switches are active high so the pins are attached at the ground leg.

Two Button Piano Getting the Switches to Work

Crazy Wiring

Finished Project

Lessons Learned Soldering Prototyping Designing Tin individual components before soldering together Play with the big blobs, they will move in your favor eventually Prototyping Designing Working with an Arduino Plans go awry Take things one step at a time Programming is hard, very hard