Welcome, Guest Username: Password: Remember me
 Page:123

## How to Troubleshoot pedalSHIELD MEGA 3 years 4 months ago #1228

 Ray OFFLINE Moderator Posts: 706 Thank you received: 151 Karma: 44 This guide will help you to find and fix any issue with the pedalSHIELD MEGA hardware. As an introduction, I have to say that 99% of the problems are due to silly mistakes that can be fixed with a careful visual inspection (take your time). Before doing any serious troubleshooting just try to re-touch with the soldering iron ALL the solder joints, it is pretty easy to get a (disconnected) cold joint, especially in the header or op-amp socket (also try unplugging and plugging the op-amp). Take some time an re-heat the components joints to have perfect smooth connections. If you only have problems with the OLED display, have a look to the OLED troubleshooting topic: www.electrosmash.com/forum/pedalshield-m...8x64-troubleshooting Top 4 Silly Mistakes: Guitar connects to the right and the amp to the left hand side jack connector, like: <- <- Make sure that the RV1 trimmer is in a good position. This trimmer resistor adjusts the level of the guitar signal going into the pedal. Having it in the middle position (the notch facing up) is a good starting point for any guitar, then you can go a bit clock/anti-clockwise to get a louder signal but not clipped. Electrolytic Caps or op-amp placed wrong: Have a look to a good PCB in high resolution and check that you have yours in the right orientation. Check any short circuit between nearby pads and check that all solder points are good. Once all the things above are checked, take again your soldering iron and re-solder again all the joints (you can apply some extra solder if needed). This will fix any dry joins. This action takes a minute and solves a lot of problems. Don't forget the pin headers and also un-plug and plug the op-amp into the socket again. Now, the best way to troubleshoot the pedalSHIELD MEGA PCB is following these 4 steps: 1. Check the power supplies: There are 3 test points on the PCB labeled as GND, +2.5V, and +5V. Using a multimeter make sure that you have there the right voltages at those points. Also, check that the op-amp is correctly powered (GND on pin 4 and +5V on pin 8 ). Additionally, check that you have the voltages of the image below: 2. Check the output stage: You can load the sine-wave generator program. It only uses the output stage independently if the input stage is wrong. If it works you can be sure that the second 1/2 op-amp area is good. The sinewave generator code is here: www.electrosmash.com/forum/pedalshield-m...rduino-mega-2560-adk 3. Check the input stage: Be sure that the trimmer VR1 is in a "medium" position, you can adjust it better later. Load a clean/volume pedal and check if you are able to get it working. Note that it is mandatory to have the sinewave code working before trying the Clean pedal. The Clean pedal code is here: www.electrosmash.com/forum/pedalshield-m...5-clean-guitar-pedal 4. Check your Arduino MEGA board. Sometimes there are some dodgy PCBs that do not work properly and can drive you crazy. Load a simple code to blink the LED: www.electrosmash.com/forum/pedalshield-m...blinking-led-program 4. Use the pedalSHIELD MEGA Monitor program: This code will show you the status of all the switches, LED, push-buttons, ADC, etc It will give you a good idea of what is not working properly. The Monitor code is here: www.electrosmash.com/forum/pedalshield-m...lshield-mega-monitor As a tip I can to say that 99,9% of the errors are due to some connection is wrong or some component is misplaced. From previous experience building dozens of pedalSHIELDs they always work straight away from soldering correctly, but we are all humans and we all make mistakes. If all the above fails, just carefully component by component that it is well placed and orientated, don't take anything for granted. If you can borrow another pair of eyes to have a look at it, do it. Sometimes others can easily see things that we are passing over. If you have an oscilloscope and a signal generator (I use Visual Analyzer) you can trace a sinewave from the input jack -> op-amp input -> op-amp output -> input ADC. You can also trace the output signal from the Pi Zero PWM outputs to the op-amp, etc... . Last Edit: 1 year 11 months ago by Ray. The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 3 years 1 month ago #1374

 Sonstwer OFFLINE New Member Posts: 12 Thank you received: 1 Karma: 1 Hi, i got some strong noise problem, i bought this Power Supply DC 500mA 1A 2A 220V www.amazon.de/gp/product/B01EWI95RY/ref=...00_s01?ie=UTF8&psc=1 that helped reduce the noise a little bit, but not enough i also turned the RV1 trimmer without any (strong) effect i will re-check every soldering tomorrow (or soon), is my chip set in right? are there other things i could have done wrong? do i have to (somehow) ground the pedal? Edit: the only thing i realize i did a bit differently was that i made the led much shorter (i thought it should be very close to the shield as well and only realized later) Last Edit: 3 years 1 month ago by Sonstwer. The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 3 years 1 month ago #1375

 Ray OFFLINE Moderator Posts: 706 Thank you received: 151 Karma: 44 Hi Sonstwer, the only thing i realize i did a bit differently was that i made the led much shorter (i thought it should be very close to the shield as well and only realized later)That won't be a problem, the LED legs length has no effect over the sonic performance. i bought this Power Supply DC 500mA 1A 2A 220V www.amazon.de/gp/product/B01EWI95RY/ref=...00_s01?ie=UTF8&psc=1Looks like a good power supply, as far as the Arduino MEGA is happy with it, the shield will be happy too. I have compared your board against mine and all seems to be in place. Have you tried just using the sinewave generator, that code should be pretty clean and it should not create much hiss noise. Could you describe the noise? is more like a hummmmm or like a noise hisssss. The Arduino MEGA is not the best piece of hi-fi but the sound quality should be at least as good as the one we have in the MEGA video in youtube, we did not apply any noise reduction. Sometimes ground loops could be a problem, try to connect the arduino DC power supply close to your amplifier mains connector (also disconnect it from the computer (no USB)) The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 3 years 1 month ago #1379

 Sonstwer OFFLINE New Member Posts: 12 Thank you received: 1 Karma: 1 Hi, Today I checked all soldering points again and repaired every single one of them that didn't look very nice. The power supply I used is crap I made a video comparison with a battery pack I got myself, not with the effects you proposed, but I'm not near my computer to change effects right now. The sound distortion is quite good to hear Which of the shields you have at electrosmash sounds best? Last Edit: 3 years 1 month ago by Sonstwer. The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 3 years 1 month ago #1380

 Sonstwer OFFLINE New Member Posts: 12 Thank you received: 1 Karma: 1 So, i was finally able to change the sinewave generator. i found a funny bug (or maybe an indicator that i indeed did something wrong when i build my shield) what do you say? The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 3 years 1 month ago #1382

 Ray OFFLINE Moderator Posts: 706 Thank you received: 151 Karma: 44 - In the first video, I can hear that the sound has improved with the 9V battery pack that you use. The power supply noise is maybe the biggest factor of noise in this project. The noise is still noticeable so I wonder if maybe the gain that you are using at the amp is a bit too high, there is no guitar signal to compare. I don't know if I am explaining myself clearly but if the amp gain is pretty high, it is "normal" to have some background noise as the general guitar level and noise will be playing over it. In terms of sound quality I think that the DUE shield sounds better, but just by a small margin, they are not completely different animals. - In the second video, the signal generator can be heard even with the effect disconnected, this can be fixed by software by addingspeed=0;after the sentence:digitalWrite(LED, LOW); // switch-off the LEDBasically, it will stop the signal generator when the effect is off. This again could be seen if the gain of the amp after the pedal is too high, although in theory the effect is completely disconnected due to the action of the 3PDT footswitch, a tiny portion of the signal could be coupling into the audio path through the switch and the amp could be amplifying it... Just in case... could you check (with a multimeter (if you have one)) that your 3PDT connects the pins like the image below?: The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 2 years 5 months ago #1628

 lreinhart OFFLINE New Member Retired Engineer Posts: 6 Thank you received: 1 Karma: 1 The buttons and switches all work. The OLED works. The Sin Wave program sounds nice. The value for the ADC is around 32704; that is close to max as I understand it. I will take a close look at the circuit board and components tomorrow, but if this sort of thing has been seen before it could save me time. The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 2 years 5 months ago #1629

 Ray OFFLINE Moderator Posts: 706 Thank you received: 151 Karma: 44 The value for the ADC is around 32704; that is close to max as I understand itwww.electrosmash.com/images/tech/pedalsh...d-mega-schematic.jpg with nothing connected to the pedal (just power) make sure that the op-amps pins 5,6 and 7 are around 2.1 to 2.5V approx. Also, check that the ADC A0 pin is around 2.1 to 2.5V The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 2 years 5 months ago #1632

 lreinhart OFFLINE New Member Retired Engineer Posts: 6 Thank you received: 1 Karma: 1 Fixed up some insufficient solder joints and found that using batteries is the only way to keep it quiet. I am using two 2500 mah lithium cells that produce 8.25 volts and there are no noise problems at all. I am not seeing a big difference between the effects on and off, but there is a difference. The sound is very clean though. I wonder if I need a higher voltage, the next cell would take me a bit over 12 volts fully charged. The bit cruncher, for example does nothing until I reduce the number to 9 then all off a sudden it gets real loud. I haven't done anything with the pot, it is still in the middle position. So far I like the Chorus and Vibrato the best. I will start messing with the programming soon. The administrator has disabled public write access.

## How to Troubleshoot pedalSHIELD MEGA 2 years 5 months ago #1633

 lreinhart OFFLINE New Member Retired Engineer Posts: 6 Thank you received: 1 Karma: 1 I adjusted the pot so the output is the same for both switch positions (pass through, effects) and I think the battery is fine. My favorite is still chorus and tremolo, but I will try each for awhile and make a multi with my favorites. I see the VUE meter in some pictures, but not in any of the published code. Does the Mega not have enough power to handle it? I like the Mega shield, it meets my expectations. The administrator has disabled public write access.
 Page:123
Time to create page: 0.314 seconds
Joomla SEF URLs by Artio