PICBASIC PRO program displays to 3 x 7 segments LED display the result of pulse count on PORTA.4 pin/sec. Based on a 16F84A. Schematic included. Written by Steve Monfette counter.zip |
I noticed that "rhythmic pulse" too. I figured it might be the breadboard.
I wanted to enjoy my scope for a few days before tweaking it and messing it up.
😄
Your waveforms seem to indicate that you might benefit from adjusting the trimmer capacitor on your probe(s).
HenrikOlsson Yesterday, 17:21Darn tootin' right.
It's nice to finally use it as a diagnostic/testing tool. The scope has always been a mystery to me. I've always wanted to use one, but never had any electronics training. ...
What a magic tool Oscilloscope is, right?
Ioannis
I wanted to see just how sharp a Schmitt trigger could clean up a signal.
This is using a MR0102 with rocker actuator, followed by the Bourns RC debounce circuit, and then inverted with a...
This can work just fine:
1. Set up a timer interrupt at 10ms. Or even at 1ms and after ten int's do step 2.
2. Every interrupt read the buttons into the arrays. You can use a low priority...
I also found the MAX6818 debouncer, but it's $4.37 for 8-bit at JLCPCB.
More like master of none. :wink:
Nice chip! I did not knew that one although I am of the CMOS era!
Anyway, since you master the art of software, I think is waste of money to add hardware when you can debounce in software.
...
PICBASIC PRO program displays to 3 x 7 segments LED display the result of pulse count on PORTA.4 pin/sec. Based on a 16F84A. Schematic included. Written by Steve Monfette counter.zip |
Re: Scanning encoder debounce on new scope
OK, if you just want to see squiggly lines on the screen :-)
HenrikOlsson Today, 06:19But you're not going to mess it up. It's part of verifying that it actually works as it should.
Compensating the probe, or at least...