Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

Type: Posts; User: Zebryk; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    471

    Re: 16Bit 125KHz PWM with PIC12F1572

    FYI:

    1. I just requested a current PBP manual to see if the HWPWM feature now includes >32767Hz.
    2. I have the PIC12F1572 data sheet which seems to have a completely differenct PWM operation than...
  2. Replies
    8
    Views
    471

    16Bit 125KHz PWM with PIC12F1572

    Hello,

    I am upgrading from a 16F628 to a 12F1572 to take advantage of it's "Precision" 16Bit PWM.

    How do I configure PBP 3 to take advantage of it's HWPWM function?
    (Needed is a symetrical...
  3. Replies
    9
    Views
    625

    Re: 125KHz HW PWM Output

    Hi,

    That implies one needs to set the Duty Cycle to 80 to get a 4uS On / 4uS Off square wave?
    (This does not make sense to me.)

    Thanks,

    Jay Zebryk
  4. Replies
    9
    Views
    625

    Re: 125KHz HW PWM Output

    Ioannis,

    Thanks for the feedback!

    I have been using the attached calculator from Mister E.

    9245
    ...
  5. Replies
    9
    Views
    625

    Re: 125KHz HW PWM Output

    I found this:

    https://www.micro-examples.com/public/microex-navig/doc/097-pwm-calculator.html

    Which produces this:

    PR2 = 0b00001001 ;
    T2CON = 0b00000101 ;
    CCPR1L = 0b00000100 ;
    CCP1CON =...
  6. Replies
    9
    Views
    625

    125KHz HW PWM Output

    Greetings!

    Having problems generating a clean 50% duty cycle hardware PWM @125KHz using a PIC16F628 with a 20MHz crystal.
    The below is from a 2002 Microchip AppNote: (Which specified a 16F628 in...
  7. Replies
    3
    Views
    546

    View Post

    Hello,

    I am interested in using a low cost GPS receiver for producing a TTL pulse for every meter of distance cd travelled. This as an alternative to hacking into the vehicles transmission or ABS...
  8. Replies
    8
    Views
    943

    Re: Best General Purpose PIC

    MPGmike,

    Thank you for your feedback.

    I will firstly scope out the PIC16F18313.

    Peace,

    Jay Zebryk
  9. Replies
    8
    Views
    943

    Re: Best General Purpose PIC

    Richard,

    Oh no!
    Certainly not Landfill.
    They were pretty good and deserve a better fate than that!

    Jay Zebryk
  10. Replies
    8
    Views
    943

    Best General Purpose PIC

    Hi,

    Years ago, I was pretty keen on the 16F88 being a great general purpose PIC.

    Wondering what has replaced it for experimentation?

    Not terribly concerned about cost but flexibility is...
  11. Re: UnderWater Antenna 125KHz Driver using a 16F628 @20MHz Example Code

    Ioannis,

    I have the beast generating 125KHz from the hardware module quite nicely.
    To modulate a data stream, I am simply changing TRISB.3 from an Output to an Input.

    Peace,

    Jay Zebryk
  12. Re: UnderWater Antenna 125KHz Driver using a 16F628 @20MHz Example Code

    This might make things easier:-)

    9211
  13. UnderWater Antenna 125KHz Driver using a 16F628 @20MHz Example Code

    Hello,

    I am looking for a PBP 3.1 example of how to implement hardware PWM @125KHz using a 16F628.
    Attached below is a link to the Microchip App note showing the schematic that I intended to...
  14. Replies
    11
    Views
    19,946

    Re: Writing & Reading 2 Bytes to/from Flash

    Ioannis,

    This is getting more complicated than I figured.
    Might you be available to implement this for a fee?
    I can send you money in advance via PayPal.

    Thanks,

    Jay Zebryk
    Zebryk...
  15. Replies
    11
    Views
    19,946

    Re: Writing & Reading 2 Bytes to/from Flash

    Richard,

    I tried your suggestion but it did not work.
    As my whole code is >73,000 characters it will not post.
    I am using PBPX 3.0.7.4
    The PIC is a PIC18F27J13.

    Is my syntax / technique...
  16. Replies
    11
    Views
    19,946

    Re: Writing & Reading 2 Bytes to/from Flash

    I have looked high and low but cannot see where this is set.
    What exactly is this called and where can I find it?

    (I have the U2 Programmer with version 4.51.)
  17. Replies
    11
    Views
    19,946

    Writing & Reading 2 Bytes to/from Flash

    Hello,

    I want to store and recall 2 Bytes from Flash on a PIC18F27J13 for pairing up a remote control to a mobile unit.
    These are RadioID(RF Address) and RadioCH (Channel#) which are both just 8...
  18. Replies
    2
    Views
    2,177

    Re: @ Sleep Usage & Need to Read PortB

    Right. The data sheet says there are (3) ways to clear the "mismatch".
    But, just doing the below seems both simple and direct.

    INTCON.0 = 0 ' Clear RBIF (PortB Interrupt Flag)

    Not sure how,...
  19. Replies
    2
    Views
    2,177

    @ Sleep Usage & Need to Read PortB

    Hi All,

    I wrote a little routine for putting PIC18F47J13 to Sleep and Waking Up from a key press. Works fine. Interested in the need to read PortB before @ Sleep? Reading various articles, I think...
  20. Replies
    2
    Views
    3,651

    Re: PIC10F32x Configuration Settings

    Charles Leo just confirmed the bad news:-(

    (I think I have been down this road before.)
  21. Replies
    2
    Views
    3,651

    Re: PIC10F32x Configuration Settings

    Just did a search on the melabls forum:

    http://support.melabs.com/threads/351-PBP3-and-PIC10F32x?highlight=10f322

    RATS!
  22. Replies
    2
    Views
    3,651

    PIC10F32x Configuration Settings

    Hello,

    Just setting up the new PIC10F32x Development Board which is both a really extreme chip and a really nice experimenter platform.

    Only $12!

    77417742

    However, it appears to need...
  23. Replies
    3
    Views
    2,415

    Re: Incrementing Upper Nibble Only (HighNibble)

    Richard,

    Wonderful! Works beautifully!

    number var byte
    number=number+16 will increment high nibble

    Again, very clean and easy.

    Thank you very much!
  24. Replies
    7
    Views
    5,032

    Re: Simple 1 Byte Checksum Method

    Richard,

    Wow!
    That is so clean and easy.
    (I do have a tendency of making things complicated.)

    Thank you very much!

    Jay Zebryk
    Southbridge, Massachusetts
  25. Replies
    7
    Views
    5,032

    Re: Simple 1 Byte Checksum Method

    It can't be that simple?
    What if there were more than 2 Bytes like 10?

    No it's not a weatherstation, more like a entry door counter.
Results 1 to 25 of 41
Page 1 of 2 1 2