loading

Hi,

I do it because i need a calculator for my girl friend (i'm preparing a gift for her :))

Anyway, it's easy. I attached standart code for arduino 8x8 dot matrix 7219. Then you can create your text with my excel file and copy codes from the excel, paste to the arduino code editor. But then you have to do something, because i don't finished all codes for excel file. You just copy codes from excel, paste to an editor (i'm using notepad++, it's my personal choise) and add "{" characters to all start of rows and add "}," to all end of rows. That's it!

How you can use the excel file? Very easy. When you open the excel file, you will see some texts (it's written with "1" characters. It's an example and you can change it. Then you can use "left" and "calculate" buttons for scrolling and codes. Thats it. Please try, if you cannot use, write to here, i can help you.

Have a nice day.

<p>hey bro i need ur help ....i want the circuit diagram plssssssssssssssssssss</p><p>m no. +919549874312(whatsapp no.)</p><p>email id: ravianpara26@gmail.com</p><p>thank u....</p>
Nice project. Thanx for sharing with us.
<p>You're welcome ;)</p>
<p>can we get codes for displaying small alphabets??</p>
Tonight i will.
<p>hi ,</p><p>this code working but not scrolling!!!!! just changing character but your video show is that scrolling how is that is the code is different??????</p>
Hi,<br><br>It's scrolling. I am sure about it. Please check everything again.
<p>unsigned char i;</p><p> unsigned char j; </p><p>/*Port Definitions*/</p><p>int Max7219_pinCLK = 10;</p><p>int Max7219_pinCS = 9;</p><p>int Max7219_pinDIN = 8;</p><p>unsigned char disp1[38][8]={</p><p>{0x3C,0x42,0x42,0x42,0x42,0x42,0x42,0x3C},//0</p><p>{0x8,0x18,0x28,0x8,0x8,0x8,0x8,0x8},//1</p><p>{0x7E,0x2,0x2,0x7E,0x40,0x40,0x40,0x7E},//2</p><p>{0x3E,0x2,0x2,0x3E,0x2,0x2,0x3E,0x0},//3</p><p>{0x8,0x18,0x28,0x48,0xFE,0x8,0x8,0x8},//4</p><p>{0x3C,0x20,0x20,0x3C,0x4,0x4,0x3C,0x0},//5</p><p>{0x3C,0x20,0x20,0x3C,0x24,0x24,0x3C,0x0},//6</p><p>{0x3E,0x22,0x4,0x8,0x8,0x8,0x8,0x8},//7</p><p>{0x0,0x3E,0x22,0x22,0x3E,0x22,0x22,0x3E},//8</p><p>{0x3E,0x22,0x22,0x3E,0x2,0x2,0x2,0x3E},//9</p><p>{0x8,0x14,0x22,0x3E,0x22,0x22,0x22,0x22},//A</p><p>{0x3C,0x22,0x22,0x3E,0x22,0x22,0x3C,0x0},//B</p><p>{0x3C,0x40,0x40,0x40,0x40,0x40,0x3C,0x0},//C</p><p>{0x7C,0x42,0x42,0x42,0x42,0x42,0x7C,0x0},//D</p><p>{0x7C,0x40,0x40,0x7C,0x40,0x40,0x40,0x7C},//E</p><p>{0x7C,0x40,0x40,0x7C,0x40,0x40,0x40,0x40},//F</p><p>{0x3C,0x40,0x40,0x40,0x40,0x44,0x44,0x3C},//G</p><p>{0x44,0x44,0x44,0x7C,0x44,0x44,0x44,0x44},//H</p><p>{0x7C,0x10,0x10,0x10,0x10,0x10,0x10,0x7C},//I</p><p>{0x3C,0x8,0x8,0x8,0x8,0x8,0x48,0x30},//J</p><p>{0x0,0x24,0x28,0x30,0x20,0x30,0x28,0x24},//K</p><p>{0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x7C},//L</p><p>{0x81,0xC3,0xA5,0x99,0x81,0x81,0x81,0x81},//M</p><p>{0x0,0x42,0x62,0x52,0x4A,0x46,0x42,0x0},//N</p><p>{0x3C,0x42,0x42,0x42,0x42,0x42,0x42,0x3C},//O</p><p>{0x3C,0x22,0x22,0x22,0x3C,0x20,0x20,0x20},//P</p><p>{0x1C,0x22,0x22,0x22,0x22,0x26,0x22,0x1D},//Q</p><p>{0x3C,0x22,0x22,0x22,0x3C,0x24,0x22,0x21},//R</p><p>{0x0,0x1E,0x20,0x20,0x3E,0x2,0x2,0x3C},//S</p><p>{0x0,0x3E,0x8,0x8,0x8,0x8,0x8,0x8},//T</p><p>{0x42,0x42,0x42,0x42,0x42,0x42,0x22,0x1C},//U</p><p>{0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18},//V</p><p>{0x0,0x49,0x49,0x49,0x49,0x2A,0x1C,0x0},//W</p><p>{0x0,0x41,0x22,0x14,0x8,0x14,0x22,0x41},//X</p><p>{0x41,0x22,0x14,0x8,0x8,0x8,0x8,0x8},//Y</p><p>{0x0,0x7F,0x2,0x4,0x8,0x10,0x20,0x7F},//Z</p><p>};</p><p>void Write_Max7219_byte(unsigned char DATA) </p><p>{ </p><p> unsigned char i;</p><p> digitalWrite(Max7219_pinCS,LOW);</p><p> for(i=8;i&gt;=1;i--)</p><p> { </p><p> digitalWrite(Max7219_pinCLK,LOW);</p><p> digitalWrite(Max7219_pinDIN,DATA&amp;0x80);// Extracting a bit data</p><p> DATA = DATA&lt;&lt;1;</p><p> digitalWrite(Max7219_pinCLK,HIGH);</p><p> } </p><p>}</p><p>void Write_Max7219(unsigned char address,unsigned char dat)</p><p>{</p><p> digitalWrite(Max7219_pinCS,LOW);</p><p> Write_Max7219_byte(address); //address,code of LED</p><p> Write_Max7219_byte(dat); //data,figure on LED </p><p> digitalWrite(Max7219_pinCS,HIGH);</p><p>}</p><p>void Init_MAX7219(void)</p><p>{</p><p> Write_Max7219(0x09, 0x00); //decoding :BCD</p><p> Write_Max7219(0x0a, 0x03); //brightness </p><p> Write_Max7219(0x0b, 0x07); //scanlimit;8 LEDs</p><p> Write_Max7219(0x0c, 0x01); //power-down mode:0,normal mode:1</p><p> Write_Max7219(0x0f, 0x00); //test display:1;EOT,display:0</p><p>}</p><p>void setup()</p><p>{</p><p> pinMode(Max7219_pinCLK,OUTPUT);</p><p> pinMode(Max7219_pinCS,OUTPUT);</p><p> pinMode(Max7219_pinDIN,OUTPUT);</p><p> delay(50);</p><p> Init_MAX7219();</p><p>}</p><p>void loop()</p><p>{ </p><p> for(j=0;j&lt;38;j++)</p><p> {</p><p> for(i=1;i&lt;9;i++)</p><p> Write_Max7219(i,disp1[j][i-1]);</p><p> delay(500);</p><p> } </p><p>}</p>
You're welcome :)
This is awesome! Nice idea, thanks for sharing :)
<p>Thank you for this instructable!</p>

About This Instructable

6,975views

26favorites

License:

More by onderyilmaz:Arduino 8x8 Dot Led Matrix Scrolling Text Calculator 
Add instructable to: