Continue to Site

Welcome to EDAboard.com

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.

Recent content by johnnyprimavera

  1. J

    [PIC] Software PWM using PIC12F/16FXX Timer1 and Timer0.

    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...
  2. J

    [PIC] Software PWM using PIC12F/16FXX Timer1 and Timer0.

    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.
  3. J

    Earth detection circuit

    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.
  4. J

    [SOLVED] IR Remote receiver interface with 8051 using c

    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...
  5. J

    [PIC] Software PWM using PIC12F/16FXX Timer1 and Timer0.

    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*...
  6. J

    [PIC] Software PWM using PIC12F/16FXX Timer1 and Timer0.

    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...

Part and Inventory Search

Back
Top