Author Topic: Compass w/Serial Port interface?  (Read 2682 times)

0 Members and 1 Guest are viewing this topic.

Offline bulkheadTopic starter

  • Full Member
  • ***
  • Posts: 102
  • Helpful? 0
Compass w/Serial Port interface?
« on: November 29, 2008, 11:32:29 PM »
Is there one under $200?  The higher the resolution the better.

If there aren't any (at all or within that price range), I will probably use a dedicated microcontroller to make my own serial port interface.  Any recommendations on the most effective way to send data?  For example, should it send data 20 times per second (start_byte, data1, data2, stop_byte), or should it be polled by the host device (a computer in my case)?

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Compass w/Serial Port interface?
« Reply #1 on: November 29, 2008, 11:55:41 PM »
heres what I would do

get a regular ATmega with UART
have it sample the compass sensor
output data onto the serial port at a speed that allows the compass sensor to refresh between readings
TTL to RS232 or TTL to USB connection from microcontroller UART to computer


You only need a start byte , don't need a stop byte.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots

 

SMF spam blocked by CleanTalk