Connecting PIC16F877 to Accelerometer and RS232 to Computer

Discussion in 'Embedded Systems and Microcontrollers' started by CVMichael, Jun 27, 2008.

  1. CVMichael

    Thread Starter Senior Member

    Aug 3, 2007
    416
    17
    Hi

    I just received my Accelerometer with Gyroscope:
    http://www.robotshop.ca/home/produc...nsors/spark-fun-6dof-imu-sensor-adxrs401.html

    From what I can see the Accelerometer uses a RS232 connection.

    I want to connect the Accelerometer to the Microcontroller PIC16F877, and the microcontroller to the RS232 to computer.

    Does the PIC16F877 have more than one RS232 connection ? From what I remember it does not, so then how can I connect the microcontroller to the Accelerometer and also to the computer at the same time ?
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    The manual says that the programming is done through the TTL header, and that the board transmits through BlueSMirf to a Bluetooth dongle. The programming is through serial data, but not RS-232. It connects directly to a UART.
     
  3. CVMichael

    Thread Starter Senior Member

    Aug 3, 2007
    416
    17
    Thanks for your reply, but the one I bought does not have the Bluetooth module.

    Even though the picture & manual shows a Bluetooth, the one I ordered does not have it...

    This is what I ordered:
    http://www.robotshop.ca/home/produc...nsors/spark-fun-6dof-imu-sensor-adxrs401.html

    And this one DOES have Bluetooth:
    http://www.robotshop.ca/home/produc...mu/spark-fun-6dof-imu-adxrs300-bluetooth.html

    But they show the same manual for both...

    So this means that I can connect the device directly to the microcontroller ?
    But then again... how do I connect the microcontroller to the device and computer at the same time ? if there is only one in/out for UART in the microcontroller ?
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Take that up with the Robotshop people. If you don't have what you paid for, perhaps they can be persuaded to make good on the product. You did pay for the BlueSMiRF link...
     
Loading...