DECFSZ [NOT AN] issue on the PIC 16F1509 ?

EDIT: I hate going to the message board… naturally I am licking my wounds from getting scolded for daring to use cblock… GPR_VAR UDATA var_name  RES 1 …. took care of this issue… at least that fiasco is over.. and I thought the PWM was going to be the hard part!  /EDIT This code is…

PWM on the PIC16F1509 in ASM

[Edit: If you’re looking for NCO (numerically controlled oscillator) usage instead of the PWM module take a look here instead. However note the code is in C (for XC8) not ASM] Another lazy Sunday… A lot of OT the last few weeks at work and Sunday about the only day I have for relaxation so…

Using a stepper motor as a rotary encoder

I won’t ruin the surprise on what I’m working on. No laser printer, or CNC machine for me (for now?). I borrowed the concept of using a stepper motor from this: website link.  I used a LM339 for my comparator because that’s what I had, it worked fine. I have some more testing but I’m…

Doubts about the IGBT isolated drive voltage

Fresh out of repair I hooked up my IGBT pack for testing one channel. I had vaporized some traces off the secondary supply voltage. I hooked up the load, the low voltage drive and then my best guess on the isolated power supply. I guessed wrong. I was hoping because the Chiller had a good…

Western Electric VOM

A brief glimpse into the start of my weekend: I pulled a Western Electric VOM out of my stash of “stuff to check out sometime”. This comes from stuff bought in HAM auctions found in boxes of random stuff amateurs tend to collect and pass on. I had hopes of getting this VOM serviceable as…

%d bloggers like this: