I soldered the buttons and LEDs to the IO expanders. The lights required resistors to dampen the 5V outputs, so I used 990-ohm resistors from my soldering kit.
I wired up all the devices that needed positive, negative, and I₂C connections, such as the IO expanders, screen, and potentiometers. My wires were red for 5V, green for 0V, yellow for SDA, and blue for SCL.
I wired up the external USB-C port's power wires to the battery charging board and ran the data wires to the microcontroller. This arrangement should allow me to charge the battery while talking to the microcontroller after I reseal the guitar.
I finished the microcontroller prototyping board's power lines and connected the Arduino to the computer. I wrote a program to monitor the analog inputs and confirmed that I correctly wired the whammy bar, tone switch, and velocity potentiometer.
I could not see the I₂C devices and tracked it to some crossed data lines. I had to shuffle them for over an hour, which badly singed the prototyping board, but I could see the IO expanders and the screen.
Right after I got the data lines working, they stopped. I was going to start testing my IO, but I could not detect anything. I did some quick debugging but stopped to think about the next steps.
The rest of the summary posts have been arranged by date.
First time here?
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8
Completed projects from year 9
Completed projects from year 10
Completed projects from year 11
Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.
Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
IO expanders wired and addressed |
I wired up all the devices that needed positive, negative, and I₂C connections, such as the IO expanders, screen, and potentiometers. My wires were red for 5V, green for 0V, yellow for SDA, and blue for SCL.
Analog and I₂C data lines |
I wired up the external USB-C port's power wires to the battery charging board and ran the data wires to the microcontroller. This arrangement should allow me to charge the battery while talking to the microcontroller after I reseal the guitar.
Power and USB data |
I finished the microcontroller prototyping board's power lines and connected the Arduino to the computer. I wrote a program to monitor the analog inputs and confirmed that I correctly wired the whammy bar, tone switch, and velocity potentiometer.
Three correct analog values |
I could not see the I₂C devices and tracked it to some crossed data lines. I had to shuffle them for over an hour, which badly singed the prototyping board, but I could see the IO expanders and the screen.
Three I₂C addresses |
Right after I got the data lines working, they stopped. I was going to start testing my IO, but I could not detect anything. I did some quick debugging but stopped to think about the next steps.
No visible I₂C addresss |
The rest of the summary posts have been arranged by date.
First time here?
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8
Completed projects from year 9
Completed projects from year 10
Completed projects from year 11
Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.
Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
Comments
Post a Comment