Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Troy,

    You were right on in assuming that I misunderstood how the Qualifier works. With your help, now I do!

    I've modified the program accordingly and now it works perfectly!

    Thank you...
  2. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Richard,

    Thank you and appreciate for your input.

    The function of this program is to allow the reprogramming of the Receiver's ID.
    The program is structured to provide a five second period...
  3. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Troy,

    I understand what you're saying. But I do declare ProdIDRx as a Byte variable in the beginning of the program as "ProgIDRx VAR BYTE".

    What am I missing here?
  4. Re: Serin Not Recognizing Qualifier From Another PIC

    This is a photo of the packet (8N1) generated by my PIC transmitter and that for some reason is not being received by my PIC receiver port GPIO.5. It's a two byte transmission $A and $61. Its in...
  5. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Amgen,

    I don't recall why I included a PPL in my oscillator comment but, I believe that I have my OSCON statement correct for an internal 4 MHz cock. Right?

    OSCCON = %01100000 ' Set system...
  6. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Troy,
    Here's my OSCON
    OSCCON = %01100000 ' Set system clock 4MHz(1MHz internal w/x4 PLL enabled)

    My SERIN SYNTAX
    SERIN PrgIn,1,5000,PassProg,[ProgIDRx],IDByteRx ' Check for...
  7. Re: Serin Not Recognizing Qualifier From Another PIC

    Still no progress. Beating my head against my desk on this one!
  8. Re: Serin Not Recognizing Qualifier From Another PIC

    Thanks Amgen. Good advice!
  9. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Troy,

    Yes, the bracketed variable is the qualifier. SERIN won't receive or pass the data until it recognizes the presence of the qualifier in the received packet. For some reason, my qualifier...
  10. Re: Serin Not Recognizing Qualifier From Another PIC

    Hi Amgen,

    Thanks for the reply. Yes, ProgIDRx is cleared. And its value is $A (or10). But, I haven't been able to receive it yet because nothing is being received. SERIN always exits upon the 5...
  11. Re: Serin Not Recognizing Qualifier From Another PIC

    Thank you Henrik for you prompt reply.

    The Receiver PIC's GPIO.5 is indeed configured as an input and the two systems do share a common ground.

    Transmit PIC - GPIO.2 is set as an output and...
  12. Serin Not Recognizing Qualifier From Another PIC

    Hi Experts,

    I have a very simple task to perform. I need to pass a couple of bytes from one PIC12F683 to another PIC12F683 and can't get it to work! I've tried everything that I could think of and...
  13. Replies
    5
    Views
    50,483

    Re: PID Filter Coefficient

    Now that is a cool routine! I am looking forward to experimenting with it.

    I have seen filtering applied to the PID output signal before. I'm not quite sure why except for maybe any minimal noise...
  14. Replies
    5
    Views
    50,483

    Re: PID Filter Coefficient

    Thanks for the reply Henrik,

    I thought that I might have to disable that feature in Simulink. The PID Tuner should still be able to generate the optimum P, I, and D gains.

    I can add noise...
  15. Replies
    5
    Views
    50,483

    PID Filter Coefficient

    Hi everyone, this is my first post.

    I have implemented Henrik's PID INC routine in my controller for regulating flame temperature in an external combustion chamber. The PID filter is excellent and...
Results 1 to 15 of 15