Difference between revisions of "Don't Fret"
Line 100: | Line 100: | ||
=== Final Code and Case Design === | === Final Code and Case Design === | ||
+ | Jared's writing about code. | ||
+ | |||
+ | https://github.com/jaredmalkin/dontfret | ||
+ | |||
+ | The case that had to be designed had to contain the Raspberry Pi 3, the circuit board that contained the whole effect circuit and the switch/LED sequence, and the jacks. The case also had to have the integrity and strength required to hold the pressure of a foot on the pushbutton for many uses. For the purposes of designing a case with possible collaboration and check-ins OnShape was identified as the best platform for designing the case. OnShape had enough depth to properly design a functional case and also the online platform allowed for easy multiuser work. | ||
+ | |||
+ | The actual case was 18 cm by 16 cm with a height of 7 cm. The case was designed accounting for the possibility of a larger space requirement that could of arose when the circuit was being soldered. The designed case had riser with holes so that the Raspberry Pi and the main circuit board could be screwed down so that there would be no motion inside the case during use that could lead to faults. The cases walls had to be 0.25 cm or thinner so that all the jacks and switches could properly integrate into the design. This thinness of wall and size of box made the strength of the open box very small. Further work had to be done to make sure that the design could take the pressure. To accomplish this we moved the push button location to the corner and built out the wall in that area, essentially making a pillar support that could take the pressure of the foot and still stand. To further this we planned to make the infill of this area higher than the rest of the case. | ||
<gallery> | <gallery> | ||
File:CAD FILE.PNG | File:CAD FILE.PNG | ||
</gallery> | </gallery> | ||
− | |||
− | |||
== Finishing Stages == | == Finishing Stages == |
Revision as of 02:34, 1 May 2018
Contents
Overview
For many guitarists, when they go on tour or play a multiple song set require various effects to effectively perform. For instance a set played in Chicago may need a pedal that is more oriented towards blues music that includes distortion or overdrive as opposed to a set played in Nashville may require a compressor. This means that a guitarist may have to take a handful of pedals that have a high per unit cost.
The concept of our solution solves this issue. We need to design a pedal that can handle multiple effects for when multiple effects are called for in one set and also a pedal that can reprogrammed easily so if the set changes day by day a guitarist can adapt. This solution will reduce the amount of pedals that a guitarist has to carry and will also greatly reduce the cost as the guitarist will only need one pedal that can handle absolutely any effect where one single pedal can cost anywhere between $25-$1000.
The goal of this project is to create a device that takes a sound input, specifically from a guitar, and outputs a manipulated sound. The device will utilize a Raspberry Pi to take the input from an instrument and return an edited sound. The coding will most likely be done in C and allows for a unique effects from the standard reverb, fuzz, etc. effects as well as extensive capability to reprogram.
Work Log
Link to Log: https://classes.engineering.wustl.edu/ese205/core/index.php?title=Don%27t_Fret_Log
Team Members
- Chance Bayles
- GraceAnne Aldred
- Jared Malkin
- TA: John Fordice
Objectives
- Learn to utilize Raspberry Pi (basics)
- Adapt code from https://www.electrosmash.com/pedal-pi and https://blog.hackster.io/program-your-own-guitar-effects-with-pedal-pi-d77b8c56c0b0 to allow the pedal to run two effects
- Adapt circuitry from the single function pedal on https://www.electrosmash.com/pedal-pi to account for an additional pushbutton to trigger second effect
- Learn how to 3D print a cover and design a cover that allows for usage of both pushbuttons
- Assemble together as a unit and test with guitar and amplifier
Challenges
- Learn to program a Raspberry Pi
- Allowing Raspberry Pi to take input (instrument) and give output (amplifier or microphone)
- Putting together circuitry to add a second function
- Coding for a second function
Materials
Supplied
- Raspberry Pi 3
- Assorted Capacitors and Resistors
- 3mm LEDs
Purchased
- Resistor Trimmer $0.38
- Op-amp rail-to-rail, pdip8 $0.40**
- 12bit ADC, p-dip8 $3.47**
- socket dor dip8 $0.10 x2
- 3PDT footswitch $7.73
- SPDT toogle switch $2.11
- off-on pushbutton $1.01 x2
- stereo 6.35mm jack $2.01 x5
- Plastic Case $7.44
(Total Shipping Cost)
- $43.46
TOTAL: $80.49
Ghant Chart
Project Proposal Presentation
Design and Solutions
Ideation and Acquisition
After preliminary research, we came across a project that had been worked on by the open source British electronics group Electrosmash. The project can be found here, Electrosmash. This project gave us the basis for the design project we embarked on. Electrosmash used a Raspberry Pi to great a single effect pedal. The project would provide us with the basic circuitry we would use to create our pedal and also would provide the baseline for the code used by the Pi to create the effect.
To improve upon this previous project we knew that we would change the configuration of switches to easily change between two effects and we would adapt the code to allow for multiple effects to be ran and easily changed. A case had to also be designed that provides enough support to be stomped on multiple times as a guitarist would over the course of a tour.
This defined what we had to build so we identified parts that were needed, covered above in materials, and purchased them off of Mouser Electronics, an online distributor of electronic components.
Building the Circuit
Debugging the Circuit
Final Code and Case Design
Jared's writing about code.
https://github.com/jaredmalkin/dontfret
The case that had to be designed had to contain the Raspberry Pi 3, the circuit board that contained the whole effect circuit and the switch/LED sequence, and the jacks. The case also had to have the integrity and strength required to hold the pressure of a foot on the pushbutton for many uses. For the purposes of designing a case with possible collaboration and check-ins OnShape was identified as the best platform for designing the case. OnShape had enough depth to properly design a functional case and also the online platform allowed for easy multiuser work.
The actual case was 18 cm by 16 cm with a height of 7 cm. The case was designed accounting for the possibility of a larger space requirement that could of arose when the circuit was being soldered. The designed case had riser with holes so that the Raspberry Pi and the main circuit board could be screwed down so that there would be no motion inside the case during use that could lead to faults. The cases walls had to be 0.25 cm or thinner so that all the jacks and switches could properly integrate into the design. This thinness of wall and size of box made the strength of the open box very small. Further work had to be done to make sure that the design could take the pressure. To accomplish this we moved the push button location to the corner and built out the wall in that area, essentially making a pillar support that could take the pressure of the foot and still stand. To further this we planned to make the infill of this area higher than the rest of the case.