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 |
Yes, the Config block generated errors.
Solved by writing :
ASM
__config _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_OFF & _CP_ON & _CPD_ON & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_ON...
Those errors comes from using the wrong syntax for the CONFIG block. The example Ioannis posted compiles just fine.
HenrikOlsson Today, 18:30Wow, I designed those into counting circuits about 45 years ago.....
DaveP Today, 13:04It looks like you have a 16F1826 selected instead of 16F1827.
DaveP Today, 13:02Thank you ! Just tried ... What could cause these two errors?
fratello Today, 07:00Got this from AllAboutCircuits. First time I hear about a MC14490, Hex Contact Bounce Eliminator:
https://www.youtube.com/watch?v=BeFYsx6M3BM
Too bad it's in multiples of 6 pins. It would...
If you expect the signal to swing between 0 and +5V then set the trigger level to somewhere around 2.5V.
As with input coupling the trigger coupling can usually be set to either AC or DC. Perhaps...
Here are my settings. Use it as a starting point.
#config
__config _CONFIG1, _FOSC_INTOSC & _WDTE_ON & _PWRTE_ON & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOREN_ON & _CLKOUTEN_OFF & _IESO_OFF &...
Wish you to enjoy your new toy!
Regarding the modes and trigger it is necessary to read the manual. Every scope may have its own quirks.
Nice buy, at a nice price.
The fast rotation of the...
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
Nice chip! I did not knew that one although I am of the CMOS era!
Ioannis Today, 20:14Anyway, since you master the art of software, I think is waste of money to add hardware when you can debounce in software.
...