Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.07 seconds.

  1. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    Hi Corbet, have you tried changing your byte values to word, just to see if you are overloading your bytes as Dave suggested ?
    You could make redundant variables and store your current var value as...
  2. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    Just 1 question . . . Does it work now, or do you still have the same problem ?
  3. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    I think it's a good call, I want to think I bumbled around and had the same overrun problem when I first wrote code for servos. Problem is I have to learn everything several times before I can...
  4. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    Well now, we never saw the transmitter code did we? You think he is sending data bytes of size greater than 255-60 and overflowing the byte array's bytes?
  5. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    It probably isn't but in search for the ant queen, you kill a lot of ants.
    Make sure to change the OSC as shown above, are you using crystals, or what ?.
    Do you get bizarre behavior when you get...
  6. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    Tell us about the power supplies and what you have done to suppress any noise from the power supply going to the PIC. You should have (MUST ?) a bypass capacitor right between the PICs power pins,...
  7. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    Ok, well different theory,
    try using a pullup resistor and change mode from 84 to 32852, it is still 9600 True but with open collector instead of driven high.
    Try adding
    DEFINE CHAR_PACING 1000 ...
  8. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    Here is a shot in the dark.
    You have not posted any config fuses in your code so I am free to assume you are allowing your code to use the Default configs which are located in the 16F84.inc file...
  9. Replies
    20
    Views
    57,981

    Re: Serial Timeout Strange Issues

    I am guessing you are powering the pics from the same supply as the servo. A little electric motor like that can generate some serious voltage (back EMF) and distribute it back into the power supply....
Results 1 to 9 of 9