loading
1Instructables610Views2 Comments

Tell us about yourself!

Complete Your Profile
  • $10 ATtiny85/45 POV display!! (works really well)

    Updated the code for anyone still interested. The letters on the device are capital letters, but the input is lowercase. This was a gotcha that needed to be fixed. Also added a character for a space, so you could put a space between words. int delayTime = 2;int charBreak = 5;int LED1 = 4;int LED2 = 3;int LED3 = 2;int LED4 = 1;int LED5 = 0;void setup(){pinMode(LED1, OUTPUT);pinMode(LED2, OUTPUT);pinMode(LED3, OUTPUT);pinMode(LED4, OUTPUT);pinMode(LED5, OUTPUT);}int A[] = {7, 10, 18, 10, 7};int B[] = {31, 21, 21, 10, 0};int C[] = {14, 17, 17, 10, 0};int D[] = {31, 17, 17, 14, 0};int E[] = {31, 21, 21, 17, 0};int F[] = {31, 20, 20, 16, 0};int G[] = {14, 17, 19, 10, 0};int H[] = {31, 4, 4, 4, 31};int I[] = {0, 17, 31, 17, 0};int J[] = {0, 17, 30, 16, 0};int K[] = {31, 4, 10, 17, 0};int L...see more »Updated the code for anyone still interested. The letters on the device are capital letters, but the input is lowercase. This was a gotcha that needed to be fixed. Also added a character for a space, so you could put a space between words. int delayTime = 2;int charBreak = 5;int LED1 = 4;int LED2 = 3;int LED3 = 2;int LED4 = 1;int LED5 = 0;void setup(){pinMode(LED1, OUTPUT);pinMode(LED2, OUTPUT);pinMode(LED3, OUTPUT);pinMode(LED4, OUTPUT);pinMode(LED5, OUTPUT);}int A[] = {7, 10, 18, 10, 7};int B[] = {31, 21, 21, 10, 0};int C[] = {14, 17, 17, 10, 0};int D[] = {31, 17, 17, 14, 0};int E[] = {31, 21, 21, 17, 0};int F[] = {31, 20, 20, 16, 0};int G[] = {14, 17, 19, 10, 0};int H[] = {31, 4, 4, 4, 31};int I[] = {0, 17, 31, 17, 0};int J[] = {0, 17, 30, 16, 0};int K[] = {31, 4, 10, 17, 0};int L[] = {31, 1, 1, 1, 0};int M[] = {31, 12, 3, 12, 31};int N[] = {31, 12, 3, 31, 0};int O[] = {14, 17, 17, 14, 0};int P[] = {31, 20, 20, 8, 0};int Q[] = {31, 17, 17, 19, 31};int R[] = {31, 20, 22, 9, 0};int S[] = {8, 21, 21, 2, 0};int T[] = {16, 16, 31, 16, 16};int U[] = {30, 1, 1, 30, 0};int V[] = {24, 6, 1, 6, 24};int W[] = {28, 3, 12, 3, 28};int X[] = {17, 10, 4, 10, 17};int Y[] = {17, 10, 4, 8, 16};int Z[] = {19, 21, 21, 25, 0};int eos[] = {0, 1, 0, 0, 0};int excl[] = {0, 29, 0, 0, 0};int ques[] = {8, 19, 20, 8, 0};int spc[] = {0, 0, 0, 0};void displayLine(int line){int myline;myline = line;if (myline>=16) {digitalWrite(LED1, HIGH); myline-=16;} else {digitalWrite(LED1, LOW);}if (myline>=8) {digitalWrite(LED2, HIGH); myline-=8;} else {digitalWrite(LED2, LOW);}if (myline>=4) {digitalWrite(LED3, HIGH); myline-=4;} else {digitalWrite(LED3, LOW);}if (myline>=2) {digitalWrite(LED4, HIGH); myline-=2;} else {digitalWrite(LED4, LOW);}if (myline>=1) {digitalWrite(LED5, HIGH); myline-=1;} else {digitalWrite(LED5, LOW);}}void displayChar(char c){if (c == 'A'){for (int i = 0; i <5; i++){displayLine(A[i]);delay(delayTime);}displayLine(0);}if (c == 'B'){for (int i = 0; i <5; i++){displayLine(B[i]);delay(delayTime);}displayLine(0);}if (c == 'C'){for (int i = 0; i <5; i++){displayLine(C[i]);delay(delayTime);}displayLine(0);}if (c == 'D'){for (int i = 0; i <5; i++){displayLine(D[i]);delay(delayTime);}displayLine(0);}if (c == 'E'){for (int i = 0; i <5; i++){displayLine(E[i]);delay(delayTime);}displayLine(0);}if (c == 'F'){for (int i = 0; i <5; i++){displayLine(F[i]);delay(delayTime);}displayLine(0);}if (c == 'G'){for (int i = 0; i <5; i++){displayLine(G[i]);delay(delayTime);}displayLine(0);}if (c == 'H'){for (int i = 0; i <5; i++){displayLine(H[i]);delay(delayTime);}displayLine(0);}if (c == 'I'){for (int it = 0; it <5; it++){displayLine(I[it]);delay(delayTime);}displayLine(0);}if (c == 'J'){for (int i = 0; i <5; i++){displayLine(J[i]);delay(delayTime);}displayLine(0);}if (c == 'K'){for (int i = 0; i <5; i++){displayLine(K[i]);delay(delayTime);}displayLine(0);}if (c == 'L'){for (int i = 0; i <5; i++){displayLine(L[i]);delay(delayTime);}displayLine(0);}if (c == 'M'){for (int i = 0; i <5; i++){displayLine(M[i]);delay(delayTime);}displayLine(0);}if (c == 'N'){for (int i = 0; i <5; i++){displayLine(N[i]);delay(delayTime);}displayLine(0);}if (c == 'O'){for (int i = 0; i <5; i++){displayLine(O[i]);delay(delayTime);}displayLine(0);}if (c == 'P'){for (int i = 0; i <5; i++){displayLine(P[i]);delay(delayTime);}displayLine(0);}if (c == 'Q'){for (int i = 0; i <5; i++){displayLine(Q[i]);delay(delayTime);}displayLine(0);}if (c == 'R'){for (int i = 0; i <5; i++){displayLine(R[i]);delay(delayTime);}displayLine(0);}if (c == 'S'){for (int i = 0; i <5; i++){displayLine(S[i]);delay(delayTime);}displayLine(0);}if (c == 'T'){for (int i = 0; i <5; i++){displayLine(T[i]);delay(delayTime);}displayLine(0);}if (c == 'U'){for (int i = 0; i <5; i++){displayLine(U[i]);delay(delayTime);}displayLine(0);}if (c == 'V'){for (int i = 0; i <5; i++){displayLine(V[i]);delay(delayTime);}displayLine(0);}if (c == 'W'){for (int i = 0; i <5; i++){displayLine(W[i]);delay(delayTime);}displayLine(0);}if (c == 'X'){for (int i = 0; i <5; i++){displayLine(X[i]);delay(delayTime);}displayLine(0);}if (c == 'Y'){for (int i = 0; i <5; i++){displayLine(Y[i]);delay(delayTime);}displayLine(0);}if (c == 'Z'){for (int i = 0; i <5; i++){displayLine(Z[i]);delay(delayTime);}displayLine(0);}if (c == '!'){for (int i = 0; i <5; i++){displayLine(excl[i]);delay(delayTime);}displayLine(0);}if (c == '?'){for (int i = 0; i <5; i++){displayLine(ques[i]);delay(delayTime);}displayLine(0);}if (c == '.'){for (int i = 0; i <5; i++){displayLine(eos[i]);delay(delayTime);}displayLine(0);}if (c == ' '){for (int i = 0; i <5; i++){displayLine(spc[i]);delay(delayTime);}displayLine(0);} delay(charBreak);}void displayString(char* s){for (int i = 0; i<=strlen(s); i++){displayChar(s[i]);}}void loop(){displayString("GOD BLESS AMERICA!!!.... ");// displayString("JULIUS! ");}

    View Instructable »
  • How to Interface Stepper Motor With Arduino and Stepper Motor Driver

    You are showing 8-35v going to the driver and to the Arduino. 35v seems a bit high for the Arduino. Might put a warning label on your wiring schematic to limit voltage to 16v if using this arrangement. Otherwise, I like your project.

    View Instructable »