Shop OBEX P1 Docs P2 Docs Learn Events
About Compass and Acelerometer sensors — Parallax Forums

About Compass and Acelerometer sensors

pumajupumaju Posts: 9
edited 2008-01-08 15:58 in Robotics
hi everyone,

i want to use compass and acelerometer sensors,·BUT without using Basic Stamp Microcontrollers, i want to acquire data from my own microcontroller (in specific: a FPGA), so i want to know if it is posible. And what kind of "protocol" do i need to acquire "raw" data from these sensors??, and how data is interpreted??, in resume: how can i communicate with these sensors in low level??

thanks a lot for your help
Regards

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-01-01 16:19
    Which exact sensors are you talking about? Most sensors come with documentation that explains how to get data from them. (some (mlx90316) not as well as others)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • pumajupumaju Posts: 9
    edited 2008-01-01 18:37
    I am talking about: "Hitachi HM55B Compass Module" and "Memsic 2125 Dual-axis Accelerometer", but again, i want to acquire data from a FPGA, NOT from Basic STAMP Microcontrollers, is it posible??, how can i interpreted data??, how can i acquire data in low level??, what kind of "protocol" do i need to comunicate with these sensors??

    thanks
    Regards
  • pumajupumaju Posts: 9
    edited 2008-01-01 18:46
    in adding to message before, i have found some tutorials about these 2 sensors but examples are with STAMP Microcontroller and they use STAMP Microcontrollers instructions (instructions like PULSEIN and SHIFTIN / SHFITOUT), and the code also come with these kind of instructions, i want to know how interacting with sensors in low level (without using STAMP Microcontrollers).
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-01-01 19:39
    pumaju -

    The datasheets for both sensors, available on the Parallax web site as well as the respective manufacturer web sites will tell you exactly what the sensor expects in terms of interfacing. Parallax does not support FPGA's so you may want to check with the respective manufacturers of the sensors to see what recommendations they have.

    Just in passing, I suspect that both sesors probably use a Microwire (or similar) interface.

    Sorry there isn't more help.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • slashsplatslashsplat Posts: 63
    edited 2008-01-08 15:58
    Using the existing Parallax documentation and example programs, the hardware and data interfaces to the devices is very clearly laid out. The Pbasic programs show what is used to talk to the devices, and are great examples of how to process the data. I think everything you might need would be there, provided that you use Pbasic as a pseudo-code for your own code design.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    slashsplat
    /* Ira Chandler */
    BotConnect.com
Sign In or Register to comment.