Shop OBEX P1 Docs P2 Docs Learn Events
How to create a analogic digital converter for a basic stamp 2 board — Parallax Forums

How to create a analogic digital converter for a basic stamp 2 board

gussirgussir Posts: 8
edited 2014-03-07 04:05 in General Discussion
Hello guys,

I'm on a project where I am using a resistive sensor to display the weight of an object (more precisely a FSR sensor). I wanted to know how it is possible to treat the analogic signal coming out of the sensor in order to have a digital one readable by the board and programmable. I was wondering how I could possibly build one or buy one somewhere.
Do any of you have an idea on how to do this?

Thanks!

Gussir

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2014-03-07 04:05
    If your sensor is resistive (changes resistance as force is applied), you can use the RCTIME command to give the Stamp a signal that varies with the force. See the Help file in the Stamp IDE. Other than a capacitor, no extra parts needed.

    You can also use a dedicated analog-to-digital converter like the LTC1298 to convert a voltage signal to a 12-bit WORD in the Stamp.

    Cheers,
Sign In or Register to comment.