Hi everybody!
I realise I might be a bit cheeky asking for input or help in my first post ever on the EEVBlog Forum, but in my defence I have been following this community for a long time, without taking an active part. First now I am taking the plunge to become an active member. I hope it is OK with you guys and gals!
First a little backstory, I am an electronics engineer, or what in the olden days was called a radio/tv repair guy. (Waaay back in the CRT-times). Hence I got electronics repair experience, but not so much design experience. The project I am taking on now, might be a bit to big, but I think I will be able to cope, someone is helping me with the code for the ATMega, thankfully.
So, to the meat of things;
I am planning to make a box with ten 8x8 LED matrices, configured in a way so they form a 40x16 LED "display". Ie. 2 rows of 5 on top of each other.
I would like the display to show a clock, maybe some "random" patterns, and most important a custom message which can be entered by using a rotary encoder with a built in switch function.
This whole thing is a gift for a 3-year old who loves buttons and already wants to write his, and his mothers, name all over. Hence the custom message bit
I come to you, and your collective genius, to hopefully get some good input on my progress with this project. I have come to the stage that I have designed a schematic and drawn up a board with everything I think I'll need, in the order I think it aught to be. Everything is wired according to reference designs in the relevant data-sheets. But before I press go and get a board made up and everything I would like someone to have a look and maybe see some obvious mistakes I have made.
I have drawn the design in Eagle, and can provide the files to people who wish to help. I'll attach images of the schematic here as well as a board layout. I'll also attach the relevant data-sheets.
The circuit consists of a bunch of passives (obviously) but the major players are:
1x ATMega328P - as the brain of things
10x 8x8 LED Matrix (3mm diodes) - making up the display
10x Max7219 - to drive the LEDs
1x DS3231 - RTC to keep time
1x Rotary encoder - to enter messages to be displayed
2x POTs - to control scroll speed and brightness of LED
3x Switches - to toggle a "save" function, switch modes (clock/message/pattern), toggle CAPITAL letters.
I hope to power this off a typical 5V USB adapter/charger. I aim to keep the amp draw low (below 2A at least).
My experience with an microcontroller is low, so I hope I have understood the documentation correctly and wired things sensibly. I am not using the ADC, so I have left the ADC and AREF floating, manybe that is a mistake?
I have used a 40k resistor on the ISET of the Max-chip to limit the current of the output to the LED matrix to around 10-15mA. Is this to conservative? I do not want this to be to bright, and those LEDs at their rated current and FV are bright! Also I am not sure if I have done the layout in a sensible way. The first LED matrix is at the top right of the screen, the last is at the bottom left.
Okay, so it might be easier if I answer questions from this point on, I think..
Hopefully someone can give me some tips and tricks!
Cheerio and thank you for your time!
-Stewart