Shop OBEX P1 Docs P2 Docs Learn Events
QTI and Propeller — Parallax Forums

QTI and Propeller

sailman58sailman58 Posts: 162
edited 2009-11-22 15:44 in Accessories
Although the QTI page refers me to the Object Exchange, I was not able to find one referring to the QTI. Did I miss it?

Thanks,

Ron

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-11-22 15:44
    I didn't find it either, but instead I just use the MCP3208 ADC object. Since I have it on the stingray (with the 5v level shifters) I use 20k pullup resistors and sample the eight channels as a 12 bit value. I calibrate it by having it look at both dark and light, recording those extremes, then averaging them and adding in a bit of threshold. From there I can use that value in calculating the binary representation (light or dark) very easily. It works very well.
Sign In or Register to comment.