Pololu Robotics & Electronics
My account Comments or questions? About Pololu Contact Ordering information Distributors

Pololu Forum

Help needed with maestro script


I am trying to use TCS3200 color sensor with maestro. Its output in frequency. Can you please guide me how can I convert digital frequency output of color sensor into a 0-255 scale) so that I can use mathematics to detect plant health? I am in need of script of maestro so that I can generate frequency for different colors and then detect IR/Red ratio to detect plant health. I will really appreciate any kind of feedback.



Hello, Aman,

The Maestro is not a practical choice for measuring frequencies like that since it does not support interrupts on its input channels.

You might consider a microcontroller like our Arduino compatible A-Star programmable controllers for reading those sensors.



Thanks for update