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 3Viewing JPEGs

Viewing JPEGs
All JPEGs begin with 0xff 0xd9 and end with 0xff 0xd8.  Use the code provided by LinkSprite to stream data serially and make sure that that the first two bytes are "0xff 0xd9" and the last two bytes are "0xff 0xd8".  If you aren't seeing the correct beginning and ending bytes, recheck your connections and maybe add longer delays between reading bytes.

After you have successfully streamed data to the serial terminal copy, paste the data into a text file.  Now all you have to do is write the data to a binary file.  You can't give your file an extension of .jpeg. My friend Ron wrote a python script, which I have included, that takes advantage of python's "struck" module.  This script reads in a text file of hex values and writes to a JPEG file.

The LinkSprite camera has a resolution of 160x120; I've included an example image to give you an idea of the quality/size.

You will, most likely, have some errors in your photo.  If you don't, that's great!  If you do, please read the next step!
« 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)