serial to usb converter


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2006
    Posts
    20

    Wink serial to usb converter

    Hi everyone,

    I've got a project that worked fine with a standard serial port using VB code slightly modified to that of Rentron.com. Basically grab 4 bytes with the first 2 being an instruction to do something and the other 2 being information. For example 'aa2500' aa instructs to put a count of 2500 into a text box, bb3000 current count of 3000 into another box and soforth. As I said worked fine with a standard serial port. Things don't to well with a usb-serial converter, errors everywhere. I am suspecting that the converter may be adding control characters amongst the output but I'm not sure.

    I've seen that the sample provided in VB6, VBterm does remove these control characters such as LF, CR. Am I heading in the right direction??

    Ta

    john

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by nicjo View Post
    Things don't to well with a usb-serial converter, errors everywhere. I am suspecting that the converter may be adding control characters amongst the output but I'm not sure.
    I'd doubt it. USB-Serial converters don't (ok, shouldn't) modify the data and add characters as you suggest.
    What does the RAW data look like? Do you have any control of that at either end?

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807

    Default

    Is your communication time critical? Maybe the converter puts some delay in the flow of data.

    Ioannis

  4. #4

    Default USB to Serial time delays

    I think you are seeing the same effect as I see when trying to run an RS232 boot loader through a USB to serial converter. The boot loader seems to be very fussy about send/receive character delays and some converters, some of the time, work while others don't work ever.

    I have even managed to blow up the bootloader through a USB to serial converter and had to reload the bootloader via EPIC.

    I suggest you try several different USB to serial converters.

    HTH
    BrianT

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. FTDI USB to Serial converter chip
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd September 2007, 03:30
  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 : 1

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