--
You received this message because you are subscribed to the Google Groups "Not Just Arduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to not-just-ardui...@googlegroups.com.
To post to this group, send email to not-just...@googlegroups.com.
Visit this group at http://groups.google.com/group/not-just-arduino.
For more options, visit https://groups.google.com/d/optout.
Hi Dan,
My thoughts on this.
* I think it might be possible to use a dynamo for the bike. Arduino has some ADC conversion pins for detecting analogue voltage and this forum thread suggests a method for detecting direction.
http://forum.arduino.cc/index.php?topic=11803.0
* A reasonably quick and low effort way to deal with frame by frame video can be implemented using Java, as can the rest of your program.
http://stackoverflow.com/questions/24552486/how-to-read-a-video-frame-by-frame
I unfortunately do not have spare time at the moment but thought I would give my thoughts on what I consider to be your core requirements.
Kind Regards,
Paul
Hi Dan,
A rotary encoder mounted somehow on the bike could work well for this as it will turn infinitely and you can measure direction and how many clicks the encoder has moved for distance.
I'd probably step down the rotations though with gears or a series of pulleys so that the encoder doesn't get hot / break under speed.
After the encoder has been attached though you could read it through an Arduino board and I could help you write a small Processing script that was controlled by the encoder rather than relying on QuickTime!
I don't really have much experience in mounting the parts but I could easily help you get the encoder spooling through video :)
Best,
Sam