Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    315

    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
  2. Replies
    9
    Views
    315

    Re: 125KHz HW PWM Output

    Ioannis,

    Thanks for the feedback!

    I have been using the attached calculator from Mister E.

    9245
    ...
  3. Replies
    9
    Views
    315

    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 =...
  4. Replies
    9
    Views
    315

    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...
  5. Replies
    3
    Views
    445

    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...
  6. Replies
    8
    Views
    810

    Re: Best General Purpose PIC

    MPGmike,

    Thank you for your feedback.

    I will firstly scope out the PIC16F18313.

    Peace,

    Jay Zebryk
  7. Replies
    8
    Views
    810

    Re: Best General Purpose PIC

    Richard,

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

    Jay Zebryk
  8. Replies
    8
    Views
    810

    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...
  9. 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
  10. Re: UnderWater Antenna 125KHz Driver using a 16F628 @20MHz Example Code

    This might make things easier:-)

    9211
  11. 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...
  12. Replies
    11
    Views
    18,636

    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...
  13. Replies
    11
    Views
    18,636

    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...
  14. Replies
    11
    Views
    18,636

    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.)
  15. Replies
    11
    Views
    18,636

    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...
  16. Replies
    2
    Views
    2,146

    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,...
  17. Replies
    2
    Views
    2,146

    @ 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...
  18. Replies
    2
    Views
    3,591

    Re: PIC10F32x Configuration Settings

    Charles Leo just confirmed the bad news:-(

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

    Re: PIC10F32x Configuration Settings

    Just did a search on the melabls forum:

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

    RATS!
  20. Replies
    2
    Views
    3,591

    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...
  21. Replies
    3
    Views
    2,368

    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!
  22. Replies
    7
    Views
    4,968

    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
  23. Replies
    7
    Views
    4,968

    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.
  24. Replies
    7
    Views
    4,968

    Re: Simple 1 Byte Checksum Method

    Right. That's simple.
    Problem is when they add up greater than 256 becoming a WORD.
  25. Replies
    3
    Views
    2,368

    Incrementing Upper Nibble Only (HighNibble)

    Hello Again,

    How does one increment only the upper nibble of a byte?

    Apparently there is no HighNibble or LowNibble function in PICBASIC?

    My goal is to add 1, to the value of Bits [7654]...
Results 1 to 25 of 39
Page 1 of 2 1 2