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.

watch futurama on an 8x8 pixel screen

Step 9Python makes it easy...

python makes it easy...
calculating and entering in a bunch of binary data is for people who are living in the sixties. this is the oughts, so we let the computer do it for us!

first dig up a video file that you want to use ( i used Futurama s05e10 the Farnsworth Paradox )

second generate a bunch of jpegs. to do so type this is an empty directory:
mplayer -ss 00:17:20 -vo jpeg:quality=50 ~/tv/futurama.mpg
the '-ss 00:17:20' seeks to 17 minutes 20 seconds in the file (funny part) and the '-vo jpeg:quality=50' tells mplayer that you want to output mid quality jpegs instead of say, video on your screen. i never tested that quality setting, but given what comes next i don't think it matters.

third run this handy python script: `python ./led_matrix_formatted_data.py ./*.jpg` to create the "RGout.t" file, which is full of data to paste into the c code file.

fourth copy and paste the contents of RGout.t into led_matrix_template.c, and save it as matrix.c.

fifth compile and load the program onto your avr with a programmer. be sure to check the makefile to set the type of programmer you have! (btw i didn't write that makefile, i found it on google and modified it.)

sixth watch pixelly cartoons!

« 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!
2
Followers
1
Author:sethj