VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » Knowledge, science, education » GreatScott!
How to Easily create Animations for your LED Matrix

How to Easily create Animations for your LED Matrix

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
How to Easily create Animations for your LED Matrix Lewis: One time I made a sketch to display images on a 14x9 LED matrix. It works by iterating through an array of 126 unsigned 8-bit integers and colouring a corresponding LED based on that value. I wrote a processing sketch to draw a 14x9 image and turn it into an array for the Arduino to draw on the 14x9 LED matrix. I can create animations by switching to the next frame after a set delay. It can only store a few frames before the arduino runs out of program memory.
Date: 2020-09-05

Comments and reviews: 9


Hey I just came across your video and I have a somewhat related question that I've been struggling to find any info on, so I just thought I'd run by ya in case you might have any ideas.
The reason I say somewhat related is because I'm not using Audrino (or even familiar with it to be honest) and I could be wrong but I don't think it can be used in my situation anyway, but I am dealing with a small dot matrix screen that I'd like to figure out how to create patterns and animations for like you were doing in the video.
I have a hat that I bought recently which has an led screen across the front (it's hidden under the material so when the lights are off it looks just like a normal hat) which is controlled by an android app through bluetooth. The app has options for displaying whatever text you type, a few different patterns & animations, controls for speed, direction, and effects of anything displayed, and an option called graffiti which will take whatever you draw (on a dot matrix grid in the app) and display it on the screen.
So I already have a way to get whatever patterns or animations that I want to display on the screen. so what I'm looking for is a way to either find pre-made patterns or animations to copy or possibly a way to convert pictures or symbols into dot matrix (basically like the program in your video did) so then I could just copy the pattern into the graffiti section (if that makes sense anyway.
Anyway I just thought I'd see if you'd possibly have any ideas on how I could go about doing that or maybe just some ideas on where to look? Either way I'd appreciate any suggestions or ideas you might have because it's actually a pretty awesome hat, but it would just be a lot better with some decent patterns and animations and I pretty much suck at drawing and coming up with my own lol. Thanks either way!

reply

Hello,
I managed doing this cool 10x10 led matrix, thanks to you.
Is there a way to change rather than the orientation, the leds order?
I explain, I have made a 10x10 matrix and I put the leds in this order:
1 2 3 4 5 6 7 8 9 10
20 19 18 17 16 14 13 12 11
21 22 23 24 25 26 27 28 29 30
40 39 38 37 36 35 34 33 32 31
But with the software LedMatrixControl it seems to be like this:
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
Can you help?

reply

hello greatscott! i watch all your videos and i want to make this led matrix. i get all parts: arduino nano and ws2812 leds. i downloaded software for controlling matrix and opened sketch. i changed number of leds but when i tried to upload sketch to arduino, it wrote me error error compiling for board arduino nano. please, help me. problem must be in sketch, because if i upload other sketch, everything works fine. please, find problem. PLEASE, HELP MAN!
reply

The Animation Code seems to disconnect the Arduino at the end of the Upload sequence, without actually completing the upload. Anyone know what's going on? The only way to reconnect the Arduino is to hold the Rest button while plugging in the Arduino via USB, and then continuing to hold the Reset button until you get the Uploading text, while uploading a blank sketch. However, going back to the coded sketch, the Arduino once again disconnects.
reply

hey Scott! i know this video is a few years old now, but im running into problems with the software. if i upload the code in the zip fire and then open the software, it works fine and i can connect to my arduino leonardo. but as soon as i switch to draw mode and draw one pixel, doesn't matter wich one, the program freezes and im forced to force-quit it. do you have any idea why this happens? is the code compatible with arduino leonardo?
reply

Hi Greatscott! I'm having trouble with the orientation of the Pixels in my 10x10 matrix. No. 1 is at bottom right corner, No. 100 is at top right corner. They're wired in a zig-zag pattern. Something is off using the software though. every second row seems flipped? Any idea?
reply

hey greatscott i made the matrix but realised that my orientation is mirrored ( not turned.
I don't wish to break my matrix
Is there anything i can do code wise
And the program of tyler is also showing it mirrored
Please help

reply

Is there a way to double the amount of lights used? My only guess is to run two data outs, basically having two 16x16 interfaces for one Arduino. I'm not sure how to go about that though; Would I need to double the power supply?
reply

Amazing program, but does it work for Serpentine layout matrixes, as in my matrix the leds are on the wrong side every other row. Is there any fix for this? And is there a mac program that works the same way?
reply
Add a review, comment






Other channel videos