Last week I saw a neat post from Johngineer where he took an Arduino and a couple RC filters and made a Xmas Tree on his scope.
I downloaded John's Arduino sketch and took a look at it to see what I'd have to do to change the picture displayed on the scope. His code is very well laid out and the picture is defined by the number of points and the X Y coordinates stored as two arrays.
Now how do I draw a picture of a snowman and get X Y coordinates out of it? I tried GIMP and Paint, but ended up using Scilab...... yes a fancy math program to draw a snowman! The nice thing about Scilab is you can plot pictures using the same X & Y arrays needed for the Arduino sketch.
Once I got the X Y coordinates figured out I cut and paste them in to John's sketch and loaded it into my ProtoStack Arduino Clone from a previous post.
We grabbed a bread board and I let my 4 year old insert the 10K Ohm and 0.1uF caps and hook up the scope probes.
My daughters had fun making him taller and shorter and skinny and fat all with a few button presses. Thanks John for the great idea; my girls and I had a lot of fun!
We did a Xmastree that dies...ReplyDelete
Too funny, I love the xmas lights that flicker just a little bit on the dieing tree. Very original idea!ReplyDelete
puedes montar como usar el scilab por favorReplyDelete