Step 5It is time to program
If you don't know how to work with ports on the arduino I recommend to go on the arduio web site a learn before you start.
here a link : http://arduino.cc/en/Reference/PortManipulation
If you want to make your own images I have made a little tool with excel that will make writing images a lot easier(the instructions come with the tool)
If you don't have excel, I recommend making a matrix in paint and drawing the image there and then it would be a lot easier to write the bytes.
And the last things is to not forget to unplug pins 0 and 1 when you upload your program because this pins also used as communication pins and may cause some errors with the program.
If you choose to use shift register you will not need to worry about disconnecting the 0 and 1 pin on the arduino. I have added the code to control the matrix with shift registers too.
| « Previous Step | Download PDFView All Steps | Next Step » |

















































digitalWrite(clock,HIGH)
delay(5)
digitalWrite(clock,LOW)
everytime this happens we move on to the next row?
digitalWrite(reset,HIGH);
digitalWrite(reset,LOW);
This will create a short pulse on the reset pin of the 4017
please could you email me the schematic for the matrix with only the 4017 and transistor and the code. i couldnt find the shift registers and instructables does not let me view the other pictures....
adilmalik_n@hotmail.com
You can use my code for scrolling text and kust change the code a little bit to go from row to row without the decade counter.
Thanx
gigavolt
thanks crosserhenk.
Basically I made 8x1 arrays stored in eeprom that have a byte per row. Each mem block in eeprom is a byte in size, so I subtract 65 from each character and do that+7 rows of reading in the eeprom. That gives me the character/sprite, and I can flash it static or scroll it. You predefine your strings with this example (and store them in flash to save ram) but the function just takes a string, could be user input.