Shop OBEX P1 Docs P2 Docs Learn Events
MLX90316 Rotary position sensor — Parallax Forums

MLX90316 Rotary position sensor

MoskogMoskog Posts: 554
edited 2007-12-17 20:23 in BASIC Stamp
I bought a MLX90316 Rotary position sensor IC, got an idea on use this to
detect wind direction. Here is a link to the data sheet:

http://www.mlxsemi.com/prodfiles/0004834_DatasheetMLX90316_Rev003.pdf

Seems like the IC also have a serial protocol and I think it should be able to be
connected to the Basic Stamp.
Does anyone know about this IC, I'm looking for ideas and example code as my experience
with serial communication still is very limited.

KjellO

·

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-12-14 01:58
    Which one did you get? (actual part number)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • MoskogMoskog Posts: 554
    edited 2007-12-14 05:12
    Stephen,

    It is the MLX90316KDC-SPI.

    KjellO
  • MoskogMoskog Posts: 554
    edited 2007-12-17 20:23
    Well, I put aside the MLX90316 SPI for a while as the serial protocol was too hard to understand at this moment. Instead I ordered the·analog version of the same device. This one output an analog voltage from 0,5 to 4,5 V (0-360 deg). If I connect this sensor to an ADC0831 (8-bit analog to digital converter) I hope I can get a byte sized variable instead, and much easier! Does this seems like a good idea?

    But there is another big problem to handle yet. Its the sensor itself. It comes in a SO8 package, for surface mounting and so small that if it drops on the floor I probably never find it no more. Does anyone have any experience with soldering things like that? I had an idea on try to solder the sensor on top of an 8-pin DIP socket. But I'm not sure if it really can be done.··Jameco have a SOIC to DIP adapter (291208) that could do the job..but Jameco is at the opposite side of Earth and mail gets slow due to the Christmas holidays here in Norway.

    KjellO
Sign In or Register to comment.