Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    7,229

    I know that it is working and that it doesn't...

    I know that it is working and that it doesn't really matter but I want to check my oscilloscope readings correspond with the correct convention.
  2. Replies
    9
    Views
    7,229

    I just want to confirm my code, am I using the GE...

    I just want to confirm my code, am I using the GE Thomas Convention where "1" is "10" or am I using the IEEE convention where "1" is "01" because it seems like I'm encoding it the IEEE convention way...
  3. Replies
    9
    Views
    7,229

    Manchester coding question

    I have been using manchester coding, $55 as the preamble and $aa as the leader bit for PIC to PIC RF transmission and everything is working. I would like to know the technical reason why I am using...
  4. I'm using PIC16F88. I have 4 $55 and am using...

    I'm using PIC16F88. I have 4 $55 and am using Manchester Encoding.
  5. I am using the digital data output pin. Also,...

    I am using the digital data output pin. Also, since I need to send my data 5 times and with a pause of 5 does it mean that I should make my preamble longer?
  6. The pause helps if I need to send the data more...

    The pause helps if I need to send the data more than once. But when I only send it once it doesn't help
  7. I think my decoding is ok. When I tried my...

    I think my decoding is ok. When I tried my decoding and your decoding the same result happened. But when I only wait for $AA it messes up my data. I tested it by putting a PIC next to the...
  8. I cleaned up my microcontroller codes. I am...

    I cleaned up my microcontroller codes. I am doing serout only once this time with 4 $55 and 1 $aa in the preamble. The problem now is my PIC to PIC communication works perfectly with a wire. But...
  9. The serial out I plan to use at transmitter:...

    The serial out I plan to use at transmitter:
    serout PORTB.2, n2400, [ "A" , encode2 ]

    The serial in I plan to use at receiver:
    serin2 PORTB.0, n2400, [WAIT("A"),BIN8 encode1] 'take in data at...
  10. Yes, I am using a breadboard. Do you think it is...

    Yes, I am using a breadboard. Do you think it is possible that maybe that area of the breadboard is messed up?
    Could it be a training problem for the transmitter/receiver also?
  11. I find that sometimes when I connect by wire it...

    I find that sometimes when I connect by wire it doesn't work. Sometimes my wireless connection works if I first connect the wire remove it and then I reconnect my wireless connection it works again....
  12. Can you give me an example of how to use checksum...

    Can you give me an example of how to use checksum or a data identifier in my program? Also, is it a problem if I have to send it multiple times for the PIC to pick it up by wire?
  13. I figured out that if I connect the two PICs I am...

    I figured out that if I connect the two PICs I am having trouble with by a wire it works properly. But, when I use the RF modules it does not work properly and sometimes it reads in the wrong data.
  14. I changed it so that it will only send the first...

    I changed it so that it will only send the first two bits of the code that I sent in (the address). Did I write the code properly so that it will only take the address bits correctly. For example...
  15. Would it be smarter if I just transmit two bits...

    Would it be smarter if I just transmit two bits back because I only need the address bits on the other side anyway. That would not involve any bit changing just sending two bits. Also, would there be...
  16. In the receiver code I posted in post #6 only a...

    In the receiver code I posted in post #6 only a code of 1101 works.
    In the receiver code I posted in post #7 1100, 0101, 0100 works but not 1101. In all these cases the forward link (434 MHz)...
  17. Ok, I guess I will keep $55 and $aa. But, I do...

    Ok, I guess I will keep $55 and $aa. But, I do not understand why my reverse link (315 MHz) works only for some combinations or not at all for other combinations, even though I am sending it 50...
  18. Should I change my preamble to a different byte...

    Should I change my preamble to a different byte such as $66, $66, $66, $66, $bb,... or should I increase the size?
  19. Receiver (after 434 MHz receiver and before 315...

    Receiver (after 434 MHz receiver and before 315 MHz transmitter) code 1
    (works for 0101, 0100, 1100)

    'IEEE encoding
    Include "Modedefs.bas"
    'trisb = 0
    s var byte : B0 var bit : B1 var bit :...
  20. I updated my code and tested it out. But, I...

    I updated my code and tested it out. But, I noticed that my code does not work in every case. There is one code that only works for one combination (1101) and nothing else. While there is another...
  21. I increased the amount of $55 at the receiver (to...

    I increased the amount of $55 at the receiver (to transmit) and kept the amount of $55 that the other receiver needs to detect the same, it seems to be working every time. Also, the data that it is...
  22. Also, should I continue to serout more than once...

    Also, should I continue to serout more than once at my receiver microcontroller (RLP-434 output to TLP-315)?
  23. Microcontroller with 2 way paging application problem

    I am trying to make a 2 way paging system with a TLP-434, RLP-434, TLP-315 and RLP-315. The 434 MHz is the uplink and 315 MHz is the downlink. The uplink works perfectly since it always receives...
  24. Replies
    30
    Views
    15,101

    For my code, I use If ((s.3==0) && (s.2==1)) then...

    For my code, I use If ((s.3==0) && (s.2==1)) then
    goto L3

    Is it better to place L3 before the if statement or after it?
    Is it a good idea to do If ((s.3==0) &&...
  25. Replies
    30
    Views
    15,101

    I'm using a 4 MHz crystal oscillator. I'm sure...

    I'm using a 4 MHz crystal oscillator. I'm sure that the stuff is encoding and decoding correctly since it is written correctly in my EEPROM and my logic works most of the time. It seems like my...
Results 1 to 25 of 42
Page 1 of 2 1 2