Hello to all, Ok. Yes I'm new here, but not to electronics.
Today, I spent over 5 hrs reading over similar posts in this forum and I'm still unsure how to implement this.
I'm trying to replace a 555 adjustable Astable timer circuit (10Hz - 4KHz) , with a PIC12F1572 (aka as the inevitable 12F675 replacement), without inheriting the unavoidable change of duty cycle of the 555. In other words I would like to output a true square wave and be able to adjust the frequency. No PWM needed. My biggest hurdle is understanding what happens in the chip that converts "voltage" to digital?? Is it all black magic? Do I have to use the comparetor module or is the ADC enough?
How to best process the bits in ADRESH and convert it to a digital number to implement them into a useful variable time delay. From the delay on, I know how to turn the output on off.
I've look at quite a few tutorials and Yes the analog portion is somewhat overwhelming.
Maybe this is too simple for some, but I'm pushing 60 and things seem to get more difficult as years progress. Thanks for your time.
P.S. I only program in Assembler.
Today, I spent over 5 hrs reading over similar posts in this forum and I'm still unsure how to implement this.
I'm trying to replace a 555 adjustable Astable timer circuit (10Hz - 4KHz) , with a PIC12F1572 (aka as the inevitable 12F675 replacement), without inheriting the unavoidable change of duty cycle of the 555. In other words I would like to output a true square wave and be able to adjust the frequency. No PWM needed. My biggest hurdle is understanding what happens in the chip that converts "voltage" to digital?? Is it all black magic? Do I have to use the comparetor module or is the ADC enough?
How to best process the bits in ADRESH and convert it to a digital number to implement them into a useful variable time delay. From the delay on, I know how to turn the output on off.
I've look at quite a few tutorials and Yes the analog portion is somewhat overwhelming.
Maybe this is too simple for some, but I'm pushing 60 and things seem to get more difficult as years progress. Thanks for your time.
P.S. I only program in Assembler.
Last edited: