I have made such a device on a breadboard and it's working fine - EXCEPT ...
when I make some "noise" =connect/disconnect a power-adaptor in the powercord beside the the one for my device.
I want to find out what is picking up this noise !
I beleave my power supply is "good enough" for powering this device, because NO FAILURE is comming up if I make NO NOISE with the extra power adaptor.
Question 1)
Can I leave my power supply out as causing the troubles ?
What I beleave is that my input (RB0 interrupt counting incomming pulses) is picking up the noise.
The way I see that there is some noise picked up is, that the numbers change in an strange way on the display (4 X 7 segment LED) - the display is showing the content of a variable in my program (multiplexed).
I too beleave the ONLY way the digits can change in this strange way is by changing the content of my variable. Because this variable is changed by interupt on RB0 I HAVE to beleave the noise is triggering the RB0 interrupt.
Another thing that's making me beleave this is that, IF I short the input to ground (or +5V) and make a lot of noise . then NO NOISE is shown in my display.
Question 2)
Am I right when assuming that the ONLY way my display can change is when the content of my variable is changed ?
Question 3)
... and that the noise IS picked up by my input only ?
My software is running into error handling when the incomming "puls-frequence" is 6.5 KHz
Question 4)
What are the method or formula for finding out a the values for some "RC-****" placed in my input ?
(I'm not skilled into electronics - just very interested hobbyist !)
Best regards
KSor, Denmark
when I make some "noise" =connect/disconnect a power-adaptor in the powercord beside the the one for my device.
I want to find out what is picking up this noise !
I beleave my power supply is "good enough" for powering this device, because NO FAILURE is comming up if I make NO NOISE with the extra power adaptor.
Question 1)
Can I leave my power supply out as causing the troubles ?
What I beleave is that my input (RB0 interrupt counting incomming pulses) is picking up the noise.
The way I see that there is some noise picked up is, that the numbers change in an strange way on the display (4 X 7 segment LED) - the display is showing the content of a variable in my program (multiplexed).
I too beleave the ONLY way the digits can change in this strange way is by changing the content of my variable. Because this variable is changed by interupt on RB0 I HAVE to beleave the noise is triggering the RB0 interrupt.
Another thing that's making me beleave this is that, IF I short the input to ground (or +5V) and make a lot of noise . then NO NOISE is shown in my display.
Question 2)
Am I right when assuming that the ONLY way my display can change is when the content of my variable is changed ?
Question 3)
... and that the noise IS picked up by my input only ?
My software is running into error handling when the incomming "puls-frequence" is 6.5 KHz
Question 4)
What are the method or formula for finding out a the values for some "RC-****" placed in my input ?
(I'm not skilled into electronics - just very interested hobbyist !)
Best regards
KSor, Denmark
Last edited: