USB Serial Communication Continuous


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    11

    Default

    Quote Originally Posted by mister_e View Post
    Few post before you said you didn't use the RF for now.. is this still true?

    If you receive always different things, it sounds like a baudrate problem to me... dpending your config fuses settings, hardware it may ruine your whole life..

    try a simple serial comm before adding the USB.
    Its true, I tested the TX/RX using a wire initially and there were absolutely no problems with the baudrate or noise etc

    Now that I have attached the RF modules I get errors..its probably because this module uses ASK

    Ideally the module should not require CRC bits, what I mean is if you send a '1' you should get a '1'

    Im trying another data link from here:
    www.cappels.org/dproj/LCRFLINK/LCRFLINK.htm

    i'll try it and let you guys know...

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by pic-ker View Post
    Its true, I tested the TX/RX using a wire initially and there were absolutely no problems with the baudrate or noise etc
    Now that I have attached the RF modules I get errors..its probably because this module uses ASK
    Ideally the module should not require CRC bits, what I mean is if you send a '1' you should get a '1'
    Im trying another data link from here:
    www.cappels.org/dproj/LCRFLINK/LCRFLINK.htm
    i'll try it and let you guys know...
    Most of those RF modules use ASK. And generally, they don't need CRC bits (that's all up to you), but what they do need is manchester encoding (aka bi-phase encoding) to keep the internal data slicer from losing it's mind.
    Search for and check that thread I mentioned earlier and you'll see. Basically, you end up cutting your data rate in half by changing all the 1's to '10' and 0's to '01'. Sounds silly but it works great.

  3. #3
    Join Date
    Feb 2007
    Posts
    11

    Default

    Quote Originally Posted by skimask View Post
    Most of those RF modules use ASK. And generally, they don't need CRC bits (that's all up to you), but what they do need is manchester encoding (aka bi-phase encoding) to keep the internal data slicer from losing it's mind.
    Search for and check that thread I mentioned earlier and you'll see. Basically, you end up cutting your data rate in half by changing all the 1's to '10' and 0's to '01'. Sounds silly but it works great.
    I got my RF module to work...I was using the +VCC from the USB port to power the receiver and that was causing some continuous ripple

    I used a battery supply,connected the grounds,used a 0.01uF decoupling cap and now it works..

    Thank you guys for your suggestions...
    I will post the complete project once the VB.net Code is complete..

Similar Threads

  1. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  2. Serial data to USB
    By cooksydesign in forum USB
    Replies: 18
    Last Post: - 29th October 2008, 15:10
  3. USB and serial cable connection(s)
    By ardhuru in forum Schematics
    Replies: 3
    Last Post: - 18th August 2008, 15:26
  4. Bafo USB to serial adapter
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 29th July 2006, 18:48
  5. Serial to USB converter
    By jrt4fun in forum USB
    Replies: 6
    Last Post: - 8th August 2005, 15:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts