Need help 16x16 matrix

Hello! I recently got my led matrix in, but due to the delay from canada post and a time crunch on this project i need help with the code.

I need the screen just to show a simple face (same as image attached) wondering if someone is able to create a code for me, i will pay for your time! Just give me a quote

Im super interested in learning arduino codes myself and i will after this time senstive project! I have tried led matrix control to no sucsess

Thank you.

httcreations:
Hello! I recently got my led matrix in, but due to the delay from canada post and a time crunch on this project i need help with the code.

I need the screen just to show a simple face (same as image attached) wondering if someone is able to create a code for me, i will pay for your time! Just give me a quote

Im super interested in learning arduino codes myself and i will after this time senstive project! I have tried led matrix control to no sucsess

Thank you.

I can help You, It will be fun for me and more practice with coding.

Ok, You have 16-16 led matrix.
How You want connect it? From arduino will use almost all pins available for that, but is possible.

Do You have multimetr to measure volts? It will be needed to test some pins.

Do You want have static picture? Or few pictures?
I am assuming that You want start from simple thing.

With arduino will be possible using only multiplexing way for that display. I learn it on my tests. That means that Your leds will not flash to bright, but enough bright to be happy.

And is possible with that amount of leds to use only digital on of mode. PWM will be to slow.

The OP's image:-


Is that a face?

If you want someone to do this for you will have to supply a lot more information, like what LED matrix this is and how it is connected to your Arduino. Also it needs to be in the right section as it is in LEDs & Multiplexing at the moment. Click on "Report to moderator" and request it is moved to the Gigs & Collaboration section.

For 16/16 led You should think it about 1 long string.
Array is best choice to save what pixel can be on and what of.

Array Looks like that :" ledarray[] = { 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1... } " and so on.
to work with leds You need another string with pin numbers at what leds will be turned on and what of...
ledPinArray[] = [3, 4, 5, 6, ... } and so on...

Then You will need use for loop witch will read information needed to display Your image.

And most important making life easy, is using functions. Many peoples new to coding including me in the past, I was scared to use functions. But this is really not hard. Is very simple and code can be really small and clean to look at it.

Now with external power source like batery, check pins on your display, what pins are rows, and what colums.
My 8/8 display is tricky. my display have mixed set pins, they dont have typical order, and i was pusht to search pin layout on internet.
This is important to define and conecting to arduino. Other wise You will get random light on leds,
See attachment


Like You see, pin layout is mixed.

To make a face, and nicer You can do smal trick in coding. Rather 1 long string, You can kut it to smaller sections.

byte face[16][16] = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
{ 0, 0, 0, 0, 1 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
{ 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0],
{ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
{ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
... and so on ... }

Try define pixels and write them ass 0 and 1. ) means off and 1 means on.
This array is 2 dimensional.
Do for me that face, and I will move forward with future coding.
Greatings.

the matrix is 16x16 WS2812B's the image is a face and its exactly how I need it to look for my costume lol

controlled by an Arduino Uno Data pin 7
Arduino is plugged into a 9 colt connector
screen is connected to 5v
I need the leds to be green

FASTLED Test codes work perfectly.

just having issues making my own code...

You need a list of what LED numbers in the matrix are on.

Put that list into an array.

Then write a routine to set the display for all one colour, the background. Then set all the LED numbers in the array to the colour you want.

When making this list you have to match the numbering to the way your LED matrix is wired. This could be in many ways so check first before you take the trouble writing down your numbers. It will be a very simple code once you get the numbers right.

You have rgb leds matrix??

This link should give You help.

I was not playing with neopixels, You didn't mention that before. I was thinking that You have standard arduino led matrix showed on previouse picture.


And You mean this one ?

With neopixels I will not help You because, I dont have opportunity to play with.

For beginners You should first try with simple one, to understand what is going one with arrays. They are very important to store bigger amount of information and read information from it.

So i actually got the code going it wasnt that hard i think all the words was overwhelming

PS, Read this post about working with neopixels.

@maxim2511
Yes you are new to this forum so please take this as a lesson, do not put much effort into an answer before you get all the relevant information from the OP.

Look at my reply #2, it was composed while you were composing yours and the first thing I asked was :-

what LED matrix this

Grumpy_Mike yes, that will be a lesson for future.