Shop OBEX P1 Docs P2 Docs Learn Events
My first object upload to the obex! — Parallax Forums

My first object upload to the obex!

kf4ixmkf4ixm Posts: 529
edited 2011-03-11 23:59 in Propeller 1
Here is my first object contribution to the OBEX, it's not much, but it demonstrates the use of MCP3208 adc chip connected to the Parallax prop demo board. I think i have it pretty well documented but am open to suggestions. If you have a mcp3208 chip, check it out and let me know what you think! :)

http://obex.parallax.com/objects/717/

Comments

  • doggiedocdoggiedoc Posts: 2,245
    edited 2011-03-11 14:36
    Awesome! I've been looking for a good excuse to order some ADCs. The MCP3208 should be a good place to start.
  • kf4ixmkf4ixm Posts: 529
    edited 2011-03-11 14:48
    The mcp3208 is a pretty awesome chip i think. it works great with joysticks like the 2-axis joystick from parallax.
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-03-11 23:52
    Hi kf4ixm,

    I took a look into your code - pretty good.

    Anyway I have a question: You have to variables DAC digital to analog conversion.
    Did I miss something about the MCP3208? I thought it is just ADC analog to digital conversion 8 channels but not any more like DAC.

    What are the DAC-variables are doing? oh just a moment! aha! I got it! You added a sigma-delta DAC which can be used within the MCP3208-object.
    So it is not a pure MCP3208-object it is a MCP3208-Sigma-Delta-DACobject.

    best regards

    Stefan
  • kf4ixmkf4ixm Posts: 529
    edited 2011-03-11 23:59
    The DAC is part of the original mcp3208 object by Chip. I didn't use it in the demo part, but i left it there for continuity. Thanks for checking it out and the feedback! :)
Sign In or Register to comment.