(ps. looks like I cant post the vide and audio file due to size limit, will see this evening if i can compress them a little and post them, in the mean time may be this is giving some idea of the issue I have ... ?)
Hi guys, need your help about some clicking noise I've in my project.
(project details
- stand alone arduino, built by myself, it takes care of switching 6 relays, lighting 6+2 LEDs, and reading + buttons.
- relay board, again built by myself, it takes care of switching 6 relays with relevant LEDs, via an ULN2083 (ok don't tell me about 74HC595, I'm just studying it.... :))
Please hear the audio on this video, hear the noise ? I can get rid of this noise getting the processor busy to blink some LEDs outside the main loop, but as soon as the process return into main loop, the noise is back again.
(bear with me, this is not an guitar/effects/audio noise, it comes from the process. Lowering guitar volume the noise is still present)
I've noticed, after a whole day of trial ...., that if I slow down, say with a delay of about 300ms (IIRC), the main loop, the noise become a "timed" click, you can hear it clicking in the attached mp4 file.
And also found that //ing this line
char thisSwitch = keypad.getKey();
the click totally dissapear.
So my ?s are, is it possible that the Keypad library is, checking/changing the status of pins/ports, creating this noise ?
or
Is something inside the whole procedure producing this ?
and
What is, normally/usually, producing this sort of clicking.
(I've attached the full and big code, as there's no way i can put it all in /code, though it's not well commented do hard to follow... ![]()
Thanks guys in advance for your help!!
Cheer
Armando
