Digital Electronics Lecture Assignment #4

Simplifying Code Using an Array and Loops Video: Code: // make variable for each of the components on the breadboard int ledArray[4] = {7, 8, 9, 10}; int buttonPin = 33; int buttonPin2 = 34; int potValue = 0; int slideSwitch = 32; int totalLeds = 4; void setup() {  for (int i = 0;Continue reading “Digital Electronics Lecture Assignment #4”

Digital Electronics Lab #4

Video: Code: int blueLed = 7;                      // create variables for each of the components on the breadboard int greenLed = 8; int whiteLed = 9; int yellowLed = 10; int tempoPin = A13; int potPin1 = A14; int potPin2 = A15; int potPin3 = A16; int potPin4 = A17; int octaveSwitch = 28; int powerSwitchContinue reading “Digital Electronics Lab #4”

Digital Electronics Lecture Assignment #3

Button Code Explanation: While it may seem overly-simplified and even non-sensical at first glance, the button code utilized for MIDI keyboards, and all devices with keyboards is very easy to use, and very logical in its construction. In order to best understand the code, let’s walk through how it is written, and then observe itContinue reading “Digital Electronics Lecture Assignment #3”

Digital Electronics Lecture Homework #2

Part #1: Find the Errors: In this code, there are three errors that prevent the circuit, particularly the second button and corresponding LED, from working properly. “int buttonpin= 7” needs semicolon, so, “int button 7;”The first error is a simple syntax problem. In establishing the integer for the first button, there needs to be semicolonContinue reading “Digital Electronics Lecture Homework #2”

Digital Electronics Lab #3

Completed Circuit Demo Video: Completed Code: int blueLed = 7;                            // make variable for each of the components on the breadboard int greenLed = 8; int whiteLed = 9; int yellowLed = 10; int buttonPin1 = 33; int buttonPin2 = 34; int buttonPin3 = 35; int buttonPin4 = 36; int potValue = 0; int slideSwitchContinue reading “Digital Electronics Lab #3”

Digital Electronics Lab #1

1.) Research: [For this blog post, I will be utilizing the research I completed from the last blog post for Analog Electronics, and adding additional entries and information.] Arduino Projects “32-Band Audio Spectrum Visualizer Analyzer” Link to project: https://create.arduino.cc/projecthub/Shajeeb/32-band-audio-spectrum-visualizer-analyzer-902f51 After doing some research on Arduino, I found that it has many uses in both theContinue reading “Digital Electronics Lab #1”

Digital Electronics Lecture Assignment #1

Tinkercard: [Link to Tinkercard account: https://www.tinkercad.com/things/cFP7X98ORUE%5D 5 Changes to Circuit: Change the delay time for the LED’s In making changes to this circuit, I decided to start with a simple alteration. I changed the delay time on the green and blue LEDs from 500 milliseconds to 1000 milliseconds, or a full second. This ultimately meansContinue reading “Digital Electronics Lecture Assignment #1”

Analog Electronics Lab #13

Digital Electronics Hall of Fame Yasmin Williams: “The Drum Glove” “The Drum Glove” is a unique MIDI controller, which allows the user to play drum samples using their hands by wearing the special, motion-sensor glove. In Yasmin’s example, she is able to play the guitar with her left hand, and play drum samples with herContinue reading “Analog Electronics Lab #13”

Design a site like this with WordPress.com
Get started