Frequently Asked Questions
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
April 28, 2012
about 9 months ago
Hi there. I wrote a blog post a while back on connecting an Arduino to a Pi via serial communication - should work just as well with this: http://robotblogging.blogspot.co.uk/2013/01/raspberry-pi-chats-to-arduino.html
about 3 years ago
I’ve written a much better (I think anyway…) wrapper for the camera if you want it: https://www.box.com/s/ca8e4f5f97793840e298
I spent a couple of days trying to get examples to work using a hardware serial connection on Arduino Mega. If you intend to do the same you’ll need to make sure your code waits for 42 bytes to arrive when you request 32 bytes of data.
The examples wait for a 5 byte response, followed by 32 bytes of image and ignore the fact that there’s an extra 5 bytes at the end.
With software serial you get away with this due to timing, but with hardware serial you gotta make sure you wait for (and ignore) those extra 5 bytes or bam!
After 2 days finding out it’s 42 not 37, turns out to be an awesome camera. My experiences with it are here if you’re interested: http://robotblogging.blogspot.co.uk/ (check out the camera blog bits)
No public wish lists :(
Forgot your password?
No account? Register one!