3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.


Image Capturing Bird Feeder

Step 4Adjusting Camera Parameters

Adjusting Camera Parameters
If your photos are have columns or rows of what looks like corrupted data but is an otherwise clear image, it probably means that there was a problem reading out the data from the camera.  Because we are going to be using the serial port of the wireless connection, we need to use the NewSoftSerial library already used by the LinkSprite example code. 

Ideally, we would like to read out data as quickly as possible.  While the NewSoftSerial library is great and does a lot to ensure accuracy at high baud rates, it is still not quite perfect and can lead to corrupted bytes here and there.  But even so, since the image is 13KB several incorrect bytes is usually tolerable.

The default baud rate of the LinkSprite is 38400.  I played things safe and lowered the baud rate to 9600.  The hex values which must be issued to the camera t o change the baud rate are: {0x56, 0x00, 0x24,0x03, 0x01,XX,XX}.  Replacing the last two bytes "XX,XX" with "0xAE,0xC8" sets the baud at 9600.  For other baud rates and info, please consult the LinkSprite manual.

To see how to change baud rates, please download the Arduino code at the end of this instructable.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
38
Followers
11
Author:quasiben(Electric Stitches)