On Wed, Jul 20, 2011 at 12:33 AM, <[email protected]> wrote: > Hi > > You can do something similar by placing a finger over the camera and shining > a light on your finger. > > Unfortunately TurtleArt is a little slow to capture your pulse, the following > executes a cycle in about 0.5 sec on a XO1.5 > > forever > show camera > read pixel > show heap > empty heap > > This prints the rgb of one pixel centre image ( which is OK because the image > is out of focus) > > forever > print brightness > > averages over the image and takes round 2 seconds
I have a partially complete refactoring of the camera code that should speed things up; in the meantime, I wonder if a simple resistive light sensor run through the mic input wouldn't do just as well. I also have a vague memory of someone trying something similar using audio and the Measure activity. -walter > > Tony > > >> http://www.kickstarter.com/projects/1342192419/pulse-sensor-an-open-source-heart-rate-sensor-that >> >> Minus the Arduino, can this plug into the audio/mic port? >> >> Sameer >> _______________________________________________ >> Devel mailing list >> [email protected] >> http://lists.laptop.org/listinfo/devel >> >> _____________________________________________________ >> This mail has been virus scanned by Australia On Line >> see http://www.australiaonline.net.au/mailscanning > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.laptop.org/listinfo/devel > -- Walter Bender Sugar Labs http://www.sugarlabs.org _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
