Shop OBEX P1 Docs P2 Docs Learn Events
UART to PC — Parallax Forums

UART to PC

RemusRemus Posts: 1
edited 2011-02-07 22:27 in Robotics
Does anyone have experience using a PC to talk to a one-wire UART on a microcontroller? We are trying to use LabView, but may be able to use C or C++ if possible. We’re also playing around with trying to create a circuit that will turn the two-wire serial communication to a one wire UART. Any ideas? We're trying to get our robot's motor controllers working with the computer. Thanks!

Comments

  • Rick PriceRick Price Posts: 36
    edited 2009-05-15 19:34
    Did you ever get this working+
  • kwinnkwinn Posts: 8,697
    edited 2009-05-16 14:57
    Rick, if you want to do this it should not be too difficult. There are only 3 requirements (4 for 2 way communications).

    1 Match the voltage levels

    2 Connect ground and serial data line

    3 Jumper the handshake signals or disable handshaking in software
  • richardmynorichardmyno Posts: 3
    edited 2011-02-07 00:46
    I'm having the same problem. Could someone please explain how I can connect through LabVIEW?

    Thanks,
    Richard
  • FranklinFranklin Posts: 4,747
    edited 2011-02-07 19:52
    Richard, connect what to what and how do you have them connected now?
  • Alex899654Alex899654 Posts: 11
    edited 2011-02-07 22:27
    @...Reemus......Check the CD that came with your kit:nerd:......The one that came with my Boe-Bot Kit has general software and a varying sort of Docs......Look at the Old "Nuts&Vults" articles some are interesting like "Using BS2 Serial Communication: Serin and Serout Demystified", "[FONT=Arial,Bold][FONT=Arial,Bold]Data Exchange with Visual BASIC", or[/FONT][/FONT]
    [FONT=Arial,Bold][FONT=Arial,Bold]"PlayStation Control Redux"...I also found the C#2005 code with BS2 code that MSRS.1.5 used for communication "on the side" if you want to play with that.....I hope this get you started in the right direction.:smile:
    [/FONT][/FONT]
Sign In or Register to comment.