Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 9
61  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 02:44:08 pm
I totally got rid of all the LEDs and LCD commands...I pretty much used your code and just changed ss0-ss3 to the pinouts for the Mega.....

When I open the serial monitor now....the 3rd and 4th matrices blink some but nothing accurate yet....

here is the code I'm using now....
62  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 02:41:12 pm
Oh yes, I did include a 10 u F and 100 nF on the Vcc line for the first Max7219.....are you saying each chip would need this?
63  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 02:26:44 pm
Attached is my schematic and how its wired up....
64  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 02:02:02 pm
Code:
65  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 01:58:02 pm
Ok I have replaced the 10K's with 33 K's I had.....feel much better....the Matrices that would work were very bright......

so I closed it all back up....now the first matrix lights up totally..

the second matrix = Row 2 is only lit up...matrix 3 and 4 = nothing


I'll try and paste my code here....

I may have to shrink it down some....

I'm going to start trying to get the matrices working....

My LCD , LEDs, Buttons all work fine,....
66  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 01:39:13 pm
Ok.....I must've missed that on the datasheet....

I'm going to open up the rats nest  (I have it all in an enclosure)

I'm going to replace the R's now...
67  Using Arduino / LEDs and Multiplexing / Re: Max72XX scrolling text code on: November 06, 2012, 01:32:43 pm
Ok.....I must've missed that on the datasheet....

I'm going to open up the rats nest  (I have it all in an enclosure)

I'm going to replace the R's now...
68  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 01:29:43 pm
I emailed you the .ino file

I will have to shrink down the code to try and put it here..it exceeds the 9500 character limit...

To upload, I'm using the USB, but after upload, I have 2  (3.9 V ) lithium batteries = 7.8 V powering it all...

I'll try and shrink it down..

I have a lot of LED commands that would be irrelevant here...
69  Using Arduino / LEDs and Multiplexing / Re: Max72XX scrolling text code on: November 06, 2012, 01:25:59 pm
I tried to mean 10 K resistors for Iset   or for each Max7219.....Typing too fast..didn't get the "K" in there....
70  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 06, 2012, 01:18:25 pm
This is rediculous.....I have all 4 matrices wired up now 1 each to each MAX7219..

SCK all in parallel

MOSI all in parallel

SS to each Max7219 (Pinouts assigned)

I'm using 10K resistors for Iset



I would like to email you....I want to include my code in an .ino and see if you could take a minute and browse through it and see if theres anything wrong...



Also, I open the serial monitor and just type    hello

it makes everything reset......

IDK
71  Using Arduino / LEDs and Multiplexing / Re: Max72XX scrolling text code on: November 06, 2012, 01:12:19 pm
I'm getting so frustrated with trying to do this.....I have been working with 'CrossRoads" as well to try and get mine working..

I have 4 MAX7219 and 4   8 x 8 matrices.....I can only get the first two matrices to light up totally (all 64 LEDs) on each but the other two blink when powered up and then nothing..

I have 1.0.1 and I don't understand why some of these posts say use "LedControl.h"   When I try that it just says error compiling....

I am using a Mega2560 and using SPI library...

I have 51 = MOSI

52 = CLK (SCK)

53 = (1st Chip Load)

49 = (2nd chip Load)

48 = (3rd chip Load)

47 = (4th chip Load)


My code is way too long to post here due to the mega also controlling other circuits but What am I doing wrong...

I have the (MOSI) DataIn pins all in parallel  (Im not using Data Out (Pin 24 of Max7219) to cascade)

I have SCK all in Parallel

and then the SS (Loads) are all individually connected to each Pin out assigned above.....

I have 10 Resistors for Iset


Trying to get them to scroll..........
Any help would be appreciated...
72  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 05, 2012, 10:51:16 pm
I guess I should mention this: so I have ss0 plugged into max7219 #1 which in the 32x8 display is the farthest on the left...then 2 goes to the second matrix from left and then 3 second from right and 4 farthest matrix to the right. MOSI all parallel, SCK all parallel, each ss (load) hooked up to individual chips......the matrices are wired up correctly too.....I just wanted to make that clear....
73  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 05, 2012, 09:32:12 pm
So far I have 3 of 4 matrices wired up. I paid extra close attention to the columns and rows ......the first 2 are lit up totally....all 64 on the first 2. The third has none lit up and that's when I probed the anodes(+) and cathodes(-) in rows vs. Columns and saw the negative voltage. I opened the serial monitor and typed hello, but didn't see any effect......I still have the 4th to wire up.....ill update you on how that one reacts. Oh I don't doubt your code and debug, you had yours working........I think there maybe an issue with the integration of what I have and integrating yours in. I have a lot of lines that control an LCD , some buttons and LEDs too.....
74  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 05, 2012, 07:44:18 pm
Guess I will wire up #4 and see if any scrolling takes place.....
75  Using Arduino / LEDs and Multiplexing / Re: Scrolling text on LED matrices using SPI and arduino Mega2560 on: November 05, 2012, 07:35:38 pm
Well there's something up with either the code or the sequence I have the chips ....I dont understand why 2 of 3 matrices are full on .....all 64 LEDs on 2 and the next matrix is totally off.
Pages: 1 ... 3 4 [5] 6 7 ... 9