Computer Architecture and Organization. Electronic Keyboard

Size: px
Start display at page:

Download "Computer Architecture and Organization. Electronic Keyboard"

Transcription

1 Computer Architecture and Organization Electronic Keyboard By: John Solo and Shannon Stastny CPSC - 42, Merced College Professor Kanemoto, December 08, 2017

2 Abstract Our arduino project consists of an electronic keyboard that has seven piano keys. The piano keys are as follows: B5, A5, G5, F5, E5, D5, and C5. The user is able to freely play a song by utilizing these seven keys. The second part of our project includes a piano player that plays preset songs. We have an LCD screen designed with a user interface that allows the user to navigate to which song that they want to listen to by pressing the eight button and any piano key. We implemented four preset songs: Super Mario Theme, Super Mario Underworld Theme, Star Wars Main Theme, and the Zelda Main Theme. We found the original sheet music for these songs and converted it into compliable code for the arduino to playback to the user with the piezo capsule. 2

3 Table of Contents Abstract Introduction Hardware and Components Components Listing Hardware Setup Completed Hardware Diagrams Circuit Diagram Schematic Sheet Music Software electronic_keyboard.ino 10 Frequencies 11 Void loop() 11 Song1title() pitches.h song1.ino: Super Mario Theme 14 Melodies 14 Note Durations 15 For Loop Code Additions Song3: Star Wars Main Theme Song4: Zelda Main Theme Conclusion 19 References 20 3

4 1.0 Introduction Our project expands on the Electric Piano Keyboard with Preset Songs by Lindsay Fox on Hackster.io. We also drew inspiration from Arduino Lab 7 Keyboard Instrument to implement the piezo buzzer and additional buttons. The electronic keyboard acts as a piano that has seven piano keys that are programmed to the middle of B/A/G/F/E/D/C. It can also act as a pianola or a player piano that plays premade piano songs. The original code came packaged with five preset songs, but we scrapped three of the songs to add two of our own. 2.0 Hardware and Components (Images taken from Hackster.io) 4

5 2.1 Components Listing 1x Arduino Uno 1x Adafruit Standard LCD - 16x2 8x Pushbutton 4x 220 ohm resistor 1x 560 ohm resistor 1x 1k ohm resistor 3x 10k ohm resistor 1x 1M ohm resistor 1x Piezo buzzer 1x LED 1x Potentiometer 1x Pack of jumper wires 2x Breadboard Piano Keys 2.2 Hardware Setup There s seven piano keys each connected to a resistor. The resistors used for the switches are 220, 560, 1k, 10k, and 1M ohm. The leftmost switch starts with the smallest resistor and each consecutive switch is connected to a resistor larger than the previous switch. Essentially, we have a resistance ladder that are connected to A0. LCD Screen The LCD screen is connected to the potentiometer and connected to pins 2-5. Piezo Buzzer The piezo buzzer is connected to a resistor and pin 8, and it is in its own separate breadboard. LED (generic) The LED is connected to pin 6 with a push button connected to pin 7. Both are connected to a resistor. 5

6 2.3 Completed Hardware One of the challenges that we faced when completing the hardware was supplying voltage to the entire breadboard. For some reason, our breadboard was separated into two halves so we had to jump wires from one half of the breadboard to the other. Another challenge was completing the circuit itself. As soon as we connected the wire to ground, the arduino turned off. We broke one of our initial counterfeit arduino r3 because we hooked it to a usb power supply and a 12v power supply. We eventually ended up using the official product. Shannon designed a box to make our hardware more stylish and user friendly. She handled most of the user interface design and made the piano key buttons intuitive by making them longer/higher as the note gets higher. We re both music enthusiasts and we wanted to blend our passion for music with our passion for computer science. Overall, we completed a product that plays preset songs and allows the user to play their own songs. It serves as an entertainment device. Here s our hardware with its circuitry completed: 6

7 3.0 Diagrams Diagrams were made with fritzing software. The first diagram is from the hackster.io website but the schematic was entirely done by us. 3.1 Circuit Diagram (Taken from Hackster.io) 7

8 3.2 Schematic 8

9 4.0 Sheet Music Adding additional preset music wouldn t have been possible without finding the sheet music for the songs. The sheet music provided below are sample sheets that can be found at musicnotes.com and acts as a reference for us when coding preset songs. We transcribed the sheets and converted it into compilable code for the arduino to interpret and playback to the piezo buzzer. Our program utilizes an array that contains the pitches that the song depends on and a for loop that traverses through the array. (Taken from musicnotes.com) Song 3 was coded with the sheet music on the left while song 4 was coded using the sheet music to the right. 9

10 5.0 Software The main part of the software was written by Lindsay Fox on hackster.io, but the other two individual preset Mario songs (song1 and song2) were coded by Dipto Pratyaksa. There s five program files in total with one of the files being an external library called pitches.h that contains individual constant variables referencing different pitches. We added two new songs to the code: Zelda Main Theme and Star Wars Main Theme; replacing Songs: 3, 4, and 5. Our project files include: electronic_keyboard.ino, pitches.h, song1.ino, song2.ino, song3.ino, song4.ino 5.1 electronic_keyboard.ino Lindsay Fox imported two external libraries: LiquidCrystal.h for the LCD screen and pitches.h for the piezo buzzer. The opening code defines the pins and their matching hardware components and an array of notes for buttons. 10

11 Frequencies These if-else statements defines the frequencies associated with each pushbutton. It utilizes the array of notes and associates them with different frequencies. The notes are as follows: C,D,E,F,G,A,B. There s a final else if that does not play notes if none of the switches are pressed. Each switch has a different resistance and plays a different note from the array defined in the beginning of the code. Void loop() Here s the void loop code that loops for the LCD screen and the song titles. 11

12 Song1title() This is the song title loop part code that s part of electronic_keyboard.ino. It references the song1.ino file that contains the mario song and it defines the words that ll appear on the LCD screen. It operates when the menu button is pressed and another key from one the seven piano keys are pressed. 12

13 5.2 pitches.h This is an important external library that allows us to utilize music notes in our arduino program. This file contains constant variables that are associated with different pitches. The file does not contain any flats but it does have sharp notes. Our array melodies in each file contains these music notes and with the help of note duration arrays, we are able to create a song for our arduino program. 13

14 5.3 song1.ino: Super Mario Theme The song s arduino code was written by Dipto Pratyaksa, and there s a link to the original article in the code file. This song file serves as a basic structure for us to manipulate and personalize so we can code our own songs. Here is the basic code anatomy for a song file which includes: melodies, note durations, and loops. Melodies We have an int melody array that contains the note values of the song. These notes are referencing the constant variables that are in the pitches.h file. The notes are modeled from the original sheet music for the Super Mario Theme. The 0 represents a stop time and still has a note duration associated with it. 14

15 Note Durations The note durations has the same amount elements as the melody array because it defines the delay for each note. The note duration are coded as follows: a four is a quarter note, an eighth is an eighth note, a nine is a triplet, and a twelve is a sixteenth note. The note duration can be found by reading the original sheet music. 15

16 For Loop This for loop is what glues the melody array and note duration together. The size variable grows proportionally to the size of the array and terminates the loop as soon as the index reaches the size. This part of the code loops through both the note duration and melody array and outputs them to pin 8 which is connected to the piezo buzzer. Most of our code additions follows this basic structure. 16

17 6.0 Code Additions Our code additions follows the code anatomy of song1 and song2. We have a melody array, note duration array, a for loop, and some LCD print statements to indicate what song the user is listening to. Song3 is the Star Wars main theme and Song4 is the Zelda Main Theme. We based our code on the sample music sheets from musicnotes.com and images are located in section 4.0 Sheet Music. Song3 has fifty new lines of code and song 4 has fifty new lines of code. In total, we added one hundred new lines of code. 6.1 Song3: Star Wars Main Theme This entire file contains fresh new code from us, but follows the same structure as song1. Most of the code looks really similar, but the constant values and note durations are entirely different from the other songs since its unique to this song. 17

18 6.2 Song4: Zelda Main Theme The Zelda Main Theme was the first song we coded. It was longer and more challenging than the Star Wars Main Theme since there were note durations that were counterintuitive to our code. We troubleshooted the audio playback by ear and that was how we debugged the song. The code is separated into paragraphs to help the coder identify where in the sheet music we derived our notes from. Here s the for loop for the melody and note duration code: 18

19 7.0 Conclusion The Electronic Piano was able to evolve through a series of collaborative efforts that allowed the project to grow into a fully functional product that can entertain its users with hardware produced music. From the hardware to the software, we meticulously researched and implemented ways to transform how music is perceived. Electronic instruments isn t a new phenomenon, but showing the relationship between applied mathematics and music theory illustrates how intertwined the humanities and the sciences are. The two needed each other. Each pitch had a constant numerical value, but without the proper arrangement of the pitches, the sound that played back wouldn t make sense. Music is simply a collection of organized sounds and without the mathematical backing of the pitches, there wouldn t be any sounds to organize. Our project allowed us to venture outside of strictly performing computational analysis for computers, and allowed us the creative freedom to implement music with Computer Science principles. 19

20 References Fox, Lindsay. Electronic Piano Keyboard with Preset Songs. Hackster, 11 Feb Kondo, Koji. The Legend of Zelda Main Theme from 'The Legend of Zelda' Sheet Music (Easy Piano) (Piano Solo) in C Major - Download & Print. Musicnotes.com, Williams, John. Star Wars (Main Theme)" from 'Star Wars' Sheet Music (Easy Piano) 20

Assignment #3: Piezo Cake

Assignment #3: Piezo Cake Assignment #3: Piezo Cake Computer Science: 7 th Grade 7-CS: Introduction to Computer Science I Background In this assignment, we will learn how to make sounds by pulsing current through a piezo circuit.

More information

Arduino Lesson 3. RGB LEDs

Arduino Lesson 3. RGB LEDs Arduino Lesson 3. RGB LEDs Created by Simon Monk Last updated on 2013-06-22 06:45:59 PM EDT Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Colors Arduino Sketch Using Internet

More information

1. Arduino Board and Breadboard set up from Project 2 (8 LED lights) 2. Piezo Speaker

1. Arduino Board and Breadboard set up from Project 2 (8 LED lights) 2. Piezo Speaker Project 3: Music with Piezo and Arduino Description: The Piezo speaker is a small metal plate enclosed in a round case that flexes and clicks when current current is passed through the plate. By quickly

More information

Lesson 4 RGB LED. Overview. Component Required:

Lesson 4 RGB LED. Overview. Component Required: Lesson 4 RGB LED Overview RGB LEDs are a fun and easy way to add some color to your projects. Since they are like 3 regular LEDs in one, how to use and connect them is not much different. They come mostly

More information

EP486 Microcontroller Applications

EP486 Microcontroller Applications EP486 Microcontroller Applications Topic 4 Arduino Apps: LED & 7-Segment-Display Department of Engineering Physics University of Gaziantep Nov 2013 Sayfa 1 Content We ll study some arduino applications:

More information

Laboratory 8. Digital Circuits - Counter and LED Display

Laboratory 8. Digital Circuits - Counter and LED Display Laboratory 8 Digital Circuits - Counter and Display Required Components: 2 1k resistors 1 10M resistor 3 0.1 F capacitor 1 555 timer 1 7490 decade counter 1 7447 BCD to decoder 1 MAN 6910 or LTD-482EC

More information

Lab 3c Fun with your LED cube. ENGR 40M Chuan-Zheng Lee Stanford University 19 May 2017

Lab 3c Fun with your LED cube. ENGR 40M Chuan-Zheng Lee Stanford University 19 May 2017 Lab 3c Fun with your LED cube ENGR 40M Chuan-Zheng Lee Stanford University 19 May 2017 Announcements Homework 6 is not released today. It will be released on Monday (May 22). It will be due at 11am Tuesday

More information

ENGR 40M Project 3b: Programming the LED cube

ENGR 40M Project 3b: Programming the LED cube ENGR 40M Project 3b: Programming the LED cube Prelab due 24 hours before your section, May 7 10 Lab due before your section, May 15 18 1 Introduction Our goal in this week s lab is to put in place the

More information

Experiment 0: Hello, micro:bit!

Experiment 0: Hello, micro:bit! Experiment 0: Hello, micro:bit! Introduction Hello World is the term we use to define that first program you write in a programming language or on a new piece of hardware. Essentially it is a simple piece

More information

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8 Name: Class: Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8 Background Traffic signals are used to control traffic that flows in opposing

More information

Digital 1 Final Project Sequential Digital System - Slot Machine

Digital 1 Final Project Sequential Digital System - Slot Machine Digital 1 Final Project Sequential Digital System - Slot Machine Joseph Messner Thomas Soistmann Alexander Dillman I. Introduction The purpose of this lab is to create a circuit that would represent the

More information

Technology Control Technology

Technology Control Technology L e a v i n g C e r t i f i c a t e Technology Control Technology P I C A X E 1 8 X Prog. 1.SOUND Output Prog. 3 OUTPUT & WAIT Prog. 6 LOOP Prog. 7...Seven Segment Display Prog. 8...Single Traffic Light

More information

Fig. 1 Analog pins of Arduino Mega

Fig. 1 Analog pins of Arduino Mega Laboratory 7 Analog signals processing An analog signals is variable voltage over time and is usually the output of a sensor that monitors the environment. Such a signal can be processed and interpreted

More information

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD)

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD) ESSENTIAL INFORMATION BUILD INSTRUCTIONS CHECKING YOUR PCB & FAULT-FINDING MECHANICAL DETAILS HOW THE KIT WORKS LEARN ABOUT PROGRAMMING WITH THIS 8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT

More information

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore) Laboratory 11 Digital Displays and Logic (modified from lab text by Alciatore) Required Components: 2x lk resistors 1x 10M resistor 3x 0.1 F capacitor 1x 555 timer 1x 7490 decade counter 1x 7447 BCD to

More information

Measure the value of water flow using water flow sensor and DC water pump 12 V interfacing with Arduino uno

Measure the value of water flow using water flow sensor and DC water pump 12 V interfacing with Arduino uno 1 2 Measure the value of water flow using water flow sensor and DC water pump 12 V interfacing with Arduino uno A flow sensor is a device for sensing the rate of fluid flow. Typically a flow sensor is

More information

Triple RTD. On-board Digital Signal Processor. Linearization RTDs 20 Hz averaged outputs 16-bit precision comparator function.

Triple RTD. On-board Digital Signal Processor. Linearization RTDs 20 Hz averaged outputs 16-bit precision comparator function. Triple RTD SMART INPUT MODULE State-of-the-art Electromagnetic Noise Suppression Circuitry. Ensures signal integrity even in harsh EMC environments. On-board Digital Signal Processor. Linearization RTDs

More information

Figure 7.8 Circuit Schematic with Switches, Logic Gate, and Flip-flop

Figure 7.8 Circuit Schematic with Switches, Logic Gate, and Flip-flop 7.5 Laboratory Procedure / Summary Sheet Group: Names: (1) Using the datasheet pin-out diagrams (Figures 7.5 through 7.7), draw a complete and detailed wiring diagram (showing all connections and all pin

More information

Bill of Materials: 7-Segment LED Die with Arduino PART NO

Bill of Materials: 7-Segment LED Die with Arduino PART NO 7-Segment LED Die with Arduino PART NO. 2190194 This project is based on the Arduino environment so that you can manipulate a die with a simple common anode 7-segment LED, a transistor PNP-2N3906, 10 resistors

More information

Lesson Sequence: S4A (Scratch for Arduino)

Lesson Sequence: S4A (Scratch for Arduino) Lesson Sequence: S4A (Scratch for Arduino) Rationale: STE(A)M education (STEM with the added Arts element) brings together strands of curriculum with a logical integration. The inclusion of CODING in STE(A)M

More information

ENGR 1000, Introduction to Engineering Design

ENGR 1000, Introduction to Engineering Design ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.4: Programming Digital Ports Hardware: 12 VDC power supply Several lengths of wire NI-USB 6008 Device

More information

Lecture (04) Arduino Microcontroller Programming and interfacing. By: Dr. Ahmed ElShafee

Lecture (04) Arduino Microcontroller Programming and interfacing. By: Dr. Ahmed ElShafee Lecture (04) Arduino Microcontroller Programming and interfacing By: Dr. Ahmed ElShafee 1 Dr. Ahmed ElShafee, ACU : Spring 2019 EEP02 Practical Applications in Electrical Arduino Board Strong Friend Created

More information

Catch or Die! Julia A. and Andrew C. ECE 150 Cooper Union Spring 2010

Catch or Die! Julia A. and Andrew C. ECE 150 Cooper Union Spring 2010 Catch or Die! Julia A. and Andrew C. ECE 150 Cooper Union Spring 2010 Andrew C. and Julia A. DLD Final Project Spring 2010 Abstract For our final project, we created a game on a grid of 72 LED s (9 rows

More information

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory RPI Rensselaer Polytechnic Institute Computer Hardware Design ECSE 4770 Report Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory Name: Walter Dearing Group: Brad Stephenson David Bang

More information

The Infinity Portal Craig A. Lindley 03/16/2011

The Infinity Portal Craig A. Lindley 03/16/2011 OK, I'll admit it. I'm a sucker for colored flashing lights especially if controlled by a micro processor (up). So recently when I came upon a really good deal on RGB LEDs on ebay and another really good

More information

Circuit Playground Hot Potato

Circuit Playground Hot Potato Circuit Playground Hot Potato Created by Carter Nelson Last updated on 2017-11-30 10:43:24 PM UTC Guide Contents Guide Contents Overview Required Parts Before Starting Circuit Playground Classic Circuit

More information

This module senses temperature and humidity. Output: Temperature and humidity display on serial monitor.

This module senses temperature and humidity. Output: Temperature and humidity display on serial monitor. Elegoo 37 Sensor Kit v2.0 Elegoo provides tutorials for each of the sensors in the kit provided by Maryland MESA. Each tutorial focuses on a single sensor and includes basic information about the sensor,

More information

Self-Playing Xylophone

Self-Playing Xylophone Self-Playing Xylophone Matt McKinney, Electrical Engineering Project Advisor: Dr. Tony Richardson April 1, 2018 Evansville, Indiana Acknowledgements I would like to thank Jeff Cron, Dr. Howe, and Dr. Richardson

More information

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC Name Name ME430 Mechatronic Systems: Lab 6: Preparing for the Line Following Robot The lab team has demonstrated the following tasks: Part (A) Controlling 7-Segment Displays with Pushbuttons Part (B) Controlling

More information

Instructions and answers for teachers

Instructions and answers for teachers Unit 7: Electrical devices LO3: Understand how to use signal conditioning techniques and signal conversion devices Digital to Analogue conversion the R-2R ladder Instructions and answers for teachers These

More information

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching Laboratory 7 igital Circuits - Logic and Latching Required Components: 1 330 resistor 4 resistor 2 0.1 F capacitor 1 2N3904 small signal transistor 1 LE 1 7408 AN gate IC 1 7474 positive edge triggered

More information

Theory and Practice of Tangible User Interfaces. Thursday Week 3: Analog Input. week. Sensor 1: Potentiometers. Analog input

Theory and Practice of Tangible User Interfaces. Thursday Week 3: Analog Input. week. Sensor 1: Potentiometers. Analog input week 03 Sensor 1: Potentiometers Analog input 1 Red LED Recall 2 Diffusers Showcase your diffuser! 3 4 Digital vs. Analog Binary vs. continuous signals Binary / Digital = whether or not Continuous / Analog

More information

SparkFun Inventor's Kit for micro:bit Experiment Guide

SparkFun Inventor's Kit for micro:bit Experiment Guide SparkFun Inventor's Kit for micro:bit Experiment Guide Introduction to the SparkFun Inventor's Kit for micro:bit The SparkFun Inventor s Kit for micro:bit Experiment Guide is your map for navigating the

More information

The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R

The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R Copyright Joe Pardue 2008. This material was previously published in the June 2008 issue

More information

Lab 23 Controller Diagnostics

Lab 23 Controller Diagnostics Lab 23 Controller Diagnostics Name(s) Read the handout titled Controller Area Network (CAN) Theory of Operation Also read in your textbook pages 354 356 to Answer these questions: 1) Why are the Can High

More information

DRAFT Microprocessors B Lab 3 Spring PIC24 Inter-Integrated Circuit (I 2 C)

DRAFT Microprocessors B Lab 3 Spring PIC24 Inter-Integrated Circuit (I 2 C) PIC24 Inter-Integrated Circuit (I 2 C) Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab. 1) To utilize

More information

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore) Laboratory 10 Digital Circuits - Logic and Latching (modified from lab text by Alciatore) Required Components: 1x 330 resistor 4x 1k resistor 2x 0.F capacitor 1x 2N3904 small signal transistor 1x LED 1x

More information

INTRODUCTION (EE2499_Introduction.doc revised 1/1/18)

INTRODUCTION (EE2499_Introduction.doc revised 1/1/18) INTRODUCTION (EE2499_Introduction.doc revised 1/1/18) A. PARTS AND TOOLS: This lab involves designing, building, and testing circuits using design concepts from the Digital Logic course EE-2440. A locker

More information

Digital Circuits I and II Nov. 17, 1999

Digital Circuits I and II Nov. 17, 1999 Physics 623 Digital Circuits I and II Nov. 17, 1999 Digital Circuits I 1 Purpose To introduce the basic principles of digital circuitry. To understand the small signal response of various gates and circuits

More information

DX-10 tm Digital Interface User s Guide

DX-10 tm Digital Interface User s Guide DX-10 tm Digital Interface User s Guide GPIO Communications Revision B Copyright Component Engineering, All Rights Reserved Table of Contents Foreword... 2 Introduction... 3 What s in the Box... 3 What

More information

Basic LabVIEW Programming Amit J Nimunkar, Sara Karle, Michele Lorenz, Emily Maslonkowski

Basic LabVIEW Programming Amit J Nimunkar, Sara Karle, Michele Lorenz, Emily Maslonkowski Introduction This lab familiarizes you with the software package LabVIEW from National Instruments for data acquisition and virtual instrumentation. The lab also introduces you to resistors, capacitors,

More information

HS-509 VIBRATION TRIP MODULE

HS-509 VIBRATION TRIP MODULE HS-509 VIBRATION TRIP MODULE 1. Overview The HS-509 is a configurable trip amplifier capable of accepting a 4-20mA signal from a HS-420 sensor and providing two trip action relay outputs along with an

More information

Due date: Sunday, December 5 (midnight) Reading: HH section (pgs ), mbed tour

Due date: Sunday, December 5 (midnight) Reading: HH section (pgs ), mbed tour 13 Microcontroller Due date: Sunday, December 5 (midnight) Reading: HH section 10.01 (pgs. 673 678), mbed tour http://mbed.org/handbook/tour A microcontroller is a tiny computer system, complete with microprocessor,

More information

TV Synchronism Generation with PIC Microcontroller

TV Synchronism Generation with PIC Microcontroller TV Synchronism Generation with PIC Microcontroller With the widespread conversion of the TV transmission and coding standards, from the early analog (NTSC, PAL, SECAM) systems to the modern digital formats

More information

Character LCDs. Created by lady ada. Last updated on :47:43 AM UTC

Character LCDs. Created by lady ada. Last updated on :47:43 AM UTC Character LCDs Created by lady ada Last updated on 2017-12-16 12:47:43 AM UTC Guide Contents Guide Contents Overview Character vs. Graphical LCDs LCD Varieties Wiring a Character LCD Installing the Header

More information

DMC550 Technical Reference

DMC550 Technical Reference DMC550 Technical Reference 2002 DSP Development Systems DMC550 Technical Reference 504815-0001 Rev. B September 2002 SPECTRUM DIGITAL, INC. 12502 Exchange Drive, Suite 440 Stafford, TX. 77477 Tel: 281.494.4505

More information

Lab experience 1: Introduction to LabView

Lab experience 1: Introduction to LabView Lab experience 1: Introduction to LabView LabView is software for the real-time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because

More information

Objectives: Learn how LED displays work Be able to output your name on the display

Objectives: Learn how LED displays work Be able to output your name on the display Objectives: Learn how LED displays work Be able to output your name on the display By the end of this session: You will know how simple LED displays work and be able to make them give a useful output.

More information

Rfid Based Attendance System

Rfid Based Attendance System Rfid Based Attendance System Raj Kumar Mistri 1, Kamlesh Kishore 2, Priyanka Nidhi 3, Pushpakumari 4, Vikrantkumar 5 1, 2 Assistant Professor, 3,4,5 B.Tech Scholar 1,2,3,4,5 Dept. of ECE, RTC Institute

More information

This document is intended to provide information to allow the researcher to build their own device.

This document is intended to provide information to allow the researcher to build their own device. SEXTA Construction Notes Tony Barry, Dave Gault Preamble:- SEXTA is a system (hardware device, firmware, and application software) to create and analyse optical timestamps as observed by a camera and recorder.

More information

ECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output

ECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output ECE 201 - Lab 5 MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output PURPOSE To familiarize students with Medium Scale Integration (MSI) technology, specifically adders. The student should also

More information

PLTW Engineering Digital Electronics Course Outline

PLTW Engineering Digital Electronics Course Outline Open doors to understanding electronics and foundations in circuit design. Digital electronics is the foundation of all modern electronic devices such as cellular phones, MP3 players, laptop computers,

More information

Edge Connector Light Level Detector

Edge Connector Light Level Detector Description This is a simple tutorial demonstrating how to use a Kitronik edge connector breakout with the BBC micro:bit. The tutorial will cover measuring ambient light levels with an LDR and dimming

More information

Alice EduPad Board. User s Guide Version /11/2017

Alice EduPad Board. User s Guide Version /11/2017 Alice EduPad Board User s Guide Version 1.02 08/11/2017 1 Table OF Contents Chapter 1. Overview... 3 1.1 Welcome... 3 1.2 Launchpad features... 4 1.3 Alice EduPad hardware features... 4 Chapter 2. Software

More information

Digital Electronics Course Outline

Digital Electronics Course Outline Digital Electronics Course Outline PLTW Engineering Digital Electronics Open doors to understanding electronics and foundations in circuit design. Digital electronics is the foundation of all modern electronic

More information

Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion. A k cos.! k t C k / (1)

Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion. A k cos.! k t C k / (1) DSP First, 2e Signal Processing First Lab P-6: Synthesis of Sinusoidal Signals A Music Illusion Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification:

More information

Ginger Bread House

Ginger Bread House Party @ Ginger Bread House After hundreds of years of listening to Christmas Jingles while working on Santa s toy sweatshop the Elves decided to break with tradition and throw a techno-rave party. But

More information

Combo Board.

Combo Board. Combo Board www.matrixtsl.com EB083 Contents About This Document 2 General Information 3 Board Layout 4 Testing This Product 5 Circuit Diagram 6 Liquid Crystal Display 7 Sensors 9 Circuit Diagram 10 About

More information

Modcan Touch Sequencer Manual

Modcan Touch Sequencer Manual Modcan Touch Sequencer Manual Normal 12V operation Only if +5V rail is available Screen Contrast Adjustment Remove big resistor if using with PSU with 5V rail Jumper TOP VEIW +5V (optional) +12V } GND

More information

Art M Digital codelock module

Art M Digital codelock module CODELOCK UNIT MODULES Art. 4900-4900M This module has on the front a 12 stainless steel button keypad (keys from 0 to 9 plus ENTER and CLEAR keys), 2 LEDS for operation signalling, the keypad illumination

More information

Data Acquisition Using LabVIEW

Data Acquisition Using LabVIEW Experiment-0 Data Acquisition Using LabVIEW Introduction The objectives of this experiment are to become acquainted with using computer-conrolled instrumentation for data acquisition. LabVIEW, a program

More information

Experiment # 4 Counters and Logic Analyzer

Experiment # 4 Counters and Logic Analyzer EE20L - Introduction to Digital Circuits Experiment # 4. Synopsis: Experiment # 4 Counters and Logic Analyzer In this lab we will build an up-counter and a down-counter using 74LS76A - Flip Flops. The

More information

Arduino LED Matrix Control. Controlling lots of LEDs

Arduino LED Matrix Control. Controlling lots of LEDs Arduino LED Matrix Control Controlling lots of LEDs Intro LED basics Matrix-connected LED arrays Example: Lego 10196 Grand Carousel LED V/I relation V I 3 2.5 diode current vs. voltage 2 Current flows,

More information

Lab #10: Building Output Ports with the 6811

Lab #10: Building Output Ports with the 6811 1 Tiffany Q. Liu April 11, 2011 CSC 270 Lab #10 Lab #10: Building Output Ports with the 6811 Introduction The purpose of this lab was to build a 1-bit as well as a 2-bit output port with the 6811 training

More information

Vtronix Incorporated. Simon Fraser University Burnaby, BC V5A 1S6 April 19, 1999

Vtronix Incorporated. Simon Fraser University Burnaby, BC V5A 1S6 April 19, 1999 Vtronix Incorporated Simon Fraser University Burnaby, BC V5A 1S6 vtronix-inc@sfu.ca April 19, 1999 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, BC V5A 1S6 Re: ENSC 370

More information

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops Objective Construct a two-bit binary decoder. Study multiplexers (MUX) and demultiplexers (DEMUX). Construct an RS flip-flop from discrete gates.

More information

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30 Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4312 Keywords: MAXQ1850, MAXQ1103, DS5250, DS5002, microcontroller, secure microcontroller, uc, DES, 3DES, RSA,

More information

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC LTC2286, LTC2287, LTC2288, LTC2290, LTC2291, LTC2292, LTC2293, LTC2294, LTC2295, LTC2296, LTC2297, LTC2298 or LTC2299 DESCRIPTION Demonstration circuit 816 supports a family of s. Each assembly features

More information

Fig. 1. The Front Panel (Graphical User Interface)

Fig. 1. The Front Panel (Graphical User Interface) ME 4710 Motion and Control Data Acquisition Software for Step Excitation Introduction o These notes describe LabVIEW software that can be used for data acquisition. The overall software characteristics

More information

ECE 372 Microcontroller Design

ECE 372 Microcontroller Design E.g. Port A, Port B Used to interface with many devices Switches LEDs LCD Keypads Relays Stepper Motors Interface with digital IO requires us to connect the devices correctly and write code to interface

More information

AD9884A Evaluation Kit Documentation

AD9884A Evaluation Kit Documentation a (centimeters) AD9884A Evaluation Kit Documentation Includes Documentation for: - AD9884A Evaluation Board - SXGA Panel Driver Board Rev 0 1/4/2000 Evaluation Board Documentation For the AD9884A Purpose

More information

Session 1 Introduction to Data Acquisition and Real-Time Control

Session 1 Introduction to Data Acquisition and Real-Time Control EE-371 CONTROL SYSTEMS LABORATORY Session 1 Introduction to Data Acquisition and Real-Time Control Purpose The objectives of this session are To gain familiarity with the MultiQ3 board and WinCon software.

More information

EE 367 Lab Part 1: Sequential Logic

EE 367 Lab Part 1: Sequential Logic EE367: Introduction to Microprocessors Section 1.0 EE 367 Lab Part 1: Sequential Logic Contents 1 Preface 1 1.1 Things you need to do before arriving in the Laboratory............... 2 1.2 Summary of material

More information

Introduction. The Clock Hardware. A Unique LED Clock Article by Craig A. Lindley

Introduction. The Clock Hardware. A Unique LED Clock Article by Craig A. Lindley Introduction As hard as it might be to believe, I have never built an electronic clock of any kind. I've always thought electronic clocks were passe and not worth the time to design and build one. In addition,

More information

EEM Digital Systems II

EEM Digital Systems II ANADOLU UNIVERSITY DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EEM 334 - Digital Systems II LAB 3 FPGA HARDWARE IMPLEMENTATION Purpose In the first experiment, four bit adder design was prepared

More information

Introduction 1. Green status LED, controlled by output signal ST. Sounder, controlled by output signal Q6. Push switch on input D6

Introduction 1. Green status LED, controlled by output signal ST. Sounder, controlled by output signal Q6. Push switch on input D6 Introduction 1 Welcome to the GENIE microcontroller system! The activity kit allows you to experiment with a wide variety of inputs and outputs... so why not try reading sensors, controlling lights or

More information

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC LTC2280, LTC2282, LTC2284, LTC2286, LTC2287, LTC2288 LTC2289, LTC2290, LTC2291, LTC2292, LTC2293, LTC2294, LTC2295, LTC2296, LTC2297, LTC2298 or LTC2299 DESCRIPTION Demonstration circuit 851 supports a

More information

SRV02-Series. Rotary Pendulum. User Manual

SRV02-Series. Rotary Pendulum. User Manual SRV02-Series Rotary Pendulum User Manual Table of Contents 1. Description...3 2. Purchase Options...3 2.1 Modular Options...4 3. System Nomenclature and Components...5 4. System Configuration and Assembly...6

More information

successive approximation register (SAR) Q digital estimate

successive approximation register (SAR) Q digital estimate Physics 5 Lab 4 Analog / igital Conversion The goal of this lab is to construct a successive approximation analog-to-digital converter (AC). The block diagram of such a converter is shown below. CLK comparator

More information

In total 2 project plans are submitted. Deadline for Plan 1 is on at 23:59. The plan must contain the following information:

In total 2 project plans are submitted. Deadline for Plan 1 is on at 23:59. The plan must contain the following information: Electronics II 2014 final project instructions (version 1) General: Your task is to design and implement an electric dice, an electric lock for a safe, a heart rate monitor, an electronic Braille translator,

More information

ENGR 1000, Introduction to Engineering Design

ENGR 1000, Introduction to Engineering Design Unit 2: Mechatronics ENGR 1000, Introduction to Engineering Design Lesson 2.3: Controlling Independent Systems Hardware: 12 VDC power supply Several lengths of wire NI-USB 6008 Device with USB cable Digital

More information

Building the ChronoDot Calendar Reminder

Building the ChronoDot Calendar Reminder Building the ChronoDot Calendar Reminder Being very forgetful and married is not a good combination. Luckily my wife comes up with solutions and suggested that we make some sort of reminder that would

More information

Informatics Enlightened Station 1 Sunflower

Informatics Enlightened Station 1 Sunflower Efficient Sunbathing For a sunflower, it is essential for survival to gather as much sunlight as possible. That is the reason why sunflowers slowly turn towards the brightest spot in the sky. Fig. 1: Sunflowers

More information

The Micropython Microcontroller

The Micropython Microcontroller Please do not remove this manual from the lab. It is available via Canvas Electronics Aims of this experiment Explore the capabilities of a modern microcontroller and some peripheral devices. Understand

More information

QTI Line Follower AppKit for the Boe-Bot (#28108)

QTI Line Follower AppKit for the Boe-Bot (#28108) Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

AES Channel Digital/Analog Audio Switcher/DA/Digital to Analog Converter

AES Channel Digital/Analog Audio Switcher/DA/Digital to Analog Converter Broadcast Devices, Inc. AES-408 8 Channel Digital/Analog Audio Switcher/DA/Digital to Analog Converter Technical Reference Manual Broadcast Devices, Inc. Tel. (914) 737-5032 Fax. (914) 736-6916 World Wide

More information

9/23/2014. Andrew Costin, Tom Syster, Ryan Cramer Advisor: Professor Hack Instructor: Professor Lin May 5 th, 2014

9/23/2014. Andrew Costin, Tom Syster, Ryan Cramer Advisor: Professor Hack Instructor: Professor Lin May 5 th, 2014 Andrew Costin, Tom Syster, Ryan Cramer Advisor: Professor Hack Instructor: Professor Lin May 5 th, 2014 1 Problem Statement Introduction Executive Summary Requirements Project Design Activities Project

More information

SHOWLINE SL NITRO 510 LED STROBE LUMINAIRE SPECIFICATIONS.

SHOWLINE SL NITRO 510 LED STROBE LUMINAIRE SPECIFICATIONS. GENERAL. A.) Overview. SHOWLINE SL NITRO 510 LED STROBE LUMINAIRE SPECIFICATIONS. 1.) The luminaire shall be an LED strobe luminaire employing one-thousand, three-hundred and fifty (1350) white LED engines.

More information

Computer Systems Architecture

Computer Systems Architecture Computer Systems Architecture Fundamentals Of Digital Logic 1 Our Goal Understand Fundamentals and basics Concepts How computers work at the lowest level Avoid whenever possible Complexity Implementation

More information

Vorne Industries. 87/719 Analog Input Module User's Manual Industrial Drive Itasca, IL (630) Telefax (630)

Vorne Industries. 87/719 Analog Input Module User's Manual Industrial Drive Itasca, IL (630) Telefax (630) Vorne Industries 87/719 Analog Input Module User's Manual 1445 Industrial Drive Itasca, IL 60143-1849 (630) 875-3600 Telefax (630) 875-3609 . 3 Chapter 1 Introduction... 1.1 Accessing Wiring Connections

More information

The New and Improved DJ Hands: A Better Way to Control Sound

The New and Improved DJ Hands: A Better Way to Control Sound Tyler Andrews Partners: Matthew Seaton, Patrick McCelvy, Brian Bresee For: P. Lehrman, ES-95: Electronic Musical Instrument Design May, 2011 The New and Improved DJ Hands: A Better Way to Control Sound

More information

Altera s Max+plus II Tutorial

Altera s Max+plus II Tutorial Altera s Max+plus II Tutorial Written by Kris Schindler To accompany Digital Principles and Design (by Donald D. Givone) 8/30/02 1 About Max+plus II Altera s Max+plus II is a powerful simulation package

More information

Extreme MINDSTORMS TM : An Advanced Guide to LEGO MINDSTORMS TM

Extreme MINDSTORMS TM : An Advanced Guide to LEGO MINDSTORMS TM IURQWIP3DJHL:HGQHVGD\2 WREHU30 Extreme MINDSTORMS TM : An Advanced Guide to LEGO MINDSTORMS TM DAVE BAUM, MICHAEL GASPERI, RALPH HEMPEL, AND LUIS VILLA IURQWIP3DJHLL:HGQHVGD\2 WREHU30 Extreme MINDSTORMS

More information

Telephony Training Systems

Telephony Training Systems Telephony Training Systems LabVolt Series Datasheet Festo Didactic en 120 V - 60 Hz 07/2018 Table of Contents General Description 2 Topic Coverage 6 Features & Benefits 6 List of Available Training Systems

More information

W0EB/W2CTX DSP Audio Filter Operating Manual V1.12

W0EB/W2CTX DSP Audio Filter Operating Manual V1.12 W0EB/W2CTX DSP Audio Filter Operating Manual V1.12 Manual and photographs Copyright W0EB/W2CTX, March 13, 2019. This document may be freely copied and distributed so long as no changes are made and the

More information

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1 Interfacing Analog to Digital Data Converters A/D D/A Converter 1 In most of the cases, the PPI 8255 is used for interfacing the analog to digital converters with microprocessor. The analog to digital

More information

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

SWITCH: Microcontroller Touch-switch Design & Test (Part 2) SWITCH: Microcontroller Touch-switch Design & Test (Part 2) 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON v2.09 Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Timetable... 2

More information

Assignment 3: 68HC11 Beep Lab

Assignment 3: 68HC11 Beep Lab ASSIGNMENT 3: 68HC11 Beep Lab Introduction In this assignment, you will: Analyze the timing of a program that makes a beep, calculating the precise frequency of oscillation. Use an oscilloscope in the

More information

LABORATORY # 1 LAB MANUAL. Digital Signals

LABORATORY # 1 LAB MANUAL. Digital Signals Department of Electrical Engineering University of California Riverside Laboratory #1 EE 120 A LABORATORY # 1 LAB MANUAL Digital Signals 2 Objectives Lab 1 contains 3 (three) parts and the objectives are

More information

ECE-320 Lab 5: Modeling and Controlling a Pendulum

ECE-320 Lab 5: Modeling and Controlling a Pendulum ECE-320 Lab 5: Modeling and Controlling a Pendulum Overview: In this lab we will model a pendulum using frequency response (Bode plot) methods, plus some intuition about the form of the transfer function.

More information