Shop OBEX P1 Docs P2 Docs Learn Events
Odour sensing robot — Parallax Forums

Odour sensing robot

dannychiadannychia Posts: 3
edited 2007-09-10 02:58 in BASIC Stamp
Hi there,

I am making a odour sensing robot using BS2e·as my microcontroller. How can I read the analog voltage from the sensor to my microcontroller?
I know I have to convert the analog voltage to digital voltage. Can anyone give some examples on how to do it? And one more thing is what Pbasic
command is used to sense the odour, read the analog voltage and convert it to digital?

Please help and I really appreciate that. Thx....

Comments

  • Dave-WDave-W Posts: 94
    edited 2007-09-10 02:58
    Hello,

    Go here:

    http://www.parallax.com/detail.asp?product_id=604-00001

    There is even sample code to do your conversion.



    <!--StartFragment -->

    In BASIC Stamp, dannychia wrote:Hi there, I am making a odour sensing robot using BS2e as my microcontroller. How can I read the analog voltage from the sensor to my microcontroller?I know I have to convert the analog voltage to digital voltage. Can anyone give some examples on how to do it? And one more thing is what Pbasic command is used to sense the odour, read the analog voltage and convert it to digital? Please help and I really appreciate that. Thx....
    End of Message

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    D. A. Wreski
Sign In or Register to comment.