Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Let's get it down to an assembly level:
Each IF is implemented by the compiler as either a BTFSC or BTFSS two-cycle instruction. The < operator for two bytes roughly takes 4 instruction cycles. Using an internal timer0 as counter, it increases automatically after a known amount of time, thus...
I'm using two timers to reduce CPU working time to a minimum. All is handled by Timer peripherals and the interrupts.
MikroBasic Has an in-built library for PWM, however it implies the PIC has the hard PWM module, which PIC12F629, PIC10F200 or PIC12F675 haven't.
Why don't you do some sort of continuity tester circuit?
Also you've got the Fairchild KA2803B earth leakage detector, though don't know if it would work.
Hi!
I'm not sure I have completely understood what you mean by "i have success in detecting pulses but counting and changes with respect to numbers."
But let's have this straight:
First of all, you may know that IR protocol frequency may vary from 38 to 42 KHz. The IR protocol varies slightly...
Thanks Brian, of course, the 4MHz internal clock. I can't understand know how I've overseen it.
But have you got any more insight about how to compensate those offsets? Something like counting the assembly instructions and clock cycles. I've checked that:
Duty | measured
Cycle* | DC*...
Hello everyone.
I'm using a PIC12F629 (PIC10F200 or PIC12F675 should also work) and I'd like to implement Pulse Width Modulation using Timer1 and Timer0 and the internal clock at 8Mhz. I'm aware that, for example, PIC12F683 has hard PWM CCP module built in, but for backward compatibility in my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.