- Posts: 702
- Thank you received: 152
Please Log in to join the conversation.
Please Log in to join the conversation.
Here is a simple sine generator, sorry I forgot to post it before:I tried to find the 'tone generator' mentioned in the FAQ for this build, but I couldn't find the source. I figured if I could somehow get my PI to generate a tone, I could at least check the output stage.
Here it is:If there was code you could point me to that could measure the input as well, I could probably diagnose if it were an input problem:
Yes, pedal pi is starting now and getting inertia, but dont worry we will provide the best support we can do.I've tried looking on the forum for either, but to no avail. There is much for the other pedals, not so much for the Pi-Zero.
Please Log in to join the conversation.
Please Log in to join the conversation.
If you are using the code that reads the switches and ADC and plot it on the screen (www.electrosmash.com/forum/pedal-pi/244-...nd-adc-pedal-pi-code) it is normal to not hear a good guitar sound, the printf function slows the code so much that the sample rate is just too slow for a good audio sound, so this code wont intend to create an audible guitar signal at the output.4. Guitar input connected, sending signal. All buttons recognized. ADC varies between 2375 and 1935 while foot switch IS engaged. Faint output best described as “the sound of bits flying furiously across wire” when outputting text to screen, silence otherwise.
Thats the most important part, I reckon that the problem is in the output stage.5. Signal generator makes no audible sound.
mine measures 1.60 but dont think is that important6. 1v6 voltage measures 1.7.
?? Pin 8 of the MCP6002 is VCC, shoud be 4.8V approx.7. When engaged and signal is going through, there is a distorted, low quality signal coming out of PIN 8 on the 6002 (vs. a cleaner signal coming from PIN 2 of the 3002).
I reckon that something is happening in the output stage, when playing the triangular generator you should see PWMs going through GPIO13 and GPIO18, you can also disconnect the Pi Zero from the shield and run the triangular generator, PWMs should be there even without the pedal attached.Would you happen to have any thoughts from a diagnostic standpoint where to go or what to check next? Any suggestions would be greatly appreciated. Below is the topside of my build.
Please Log in to join the conversation.
Please Log in to join the conversation.
The pin 5 of the op-amp is an input and the value is the same as the guitar with just and offset of 1.6 V, the signal should be good, maybe the DC level is affecting your sound probe.I misspoke regarding Pin 8 on the 6002 - I meant using an audio probe on Pin 5, I heard dirty output.
The sine generator does not print anything on the screen. This code is mean to test only the output stage. So it just generate this waveform and play it through the PWM output. In fact you dont even need the Pedal-Pi, it would be ideal if you can load the wave generator and check the PWM0 and PWM1 pins (GPIO 13 and GPIO18) and see if you can see a high PWM signal there.The one question I had was regarding your sine wave generator - was there any supposed output intended for the screen? They way it reads
Sorry I meant if you have access to an oscilloscope you will see the signals in the pins, maybe with an audio probe you can feel it (the PWM signal is in the KHZ region).implies I should see something - but where?
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.