top of page

How to Make Thermal Printer

Updated: Jun 6




Download stl file.... click......


Circuit...


How to work circuit



Demo Video:




//Programming....

int a = 2;

int b = 3;

int c = 4;

int d = 5;

int e = 6;

int f = 7;

int g = 8;

int A = 9;

int B = 10;

int C = 11;

int D = 12;

int E = 13;

int F = A0;

int G = A1;

int H = A2;

int I = A3;

int J = A4;

void setup() {

pinMode(a, OUTPUT);

pinMode(b, OUTPUT);

pinMode(c, OUTPUT);

pinMode(d, OUTPUT);

pinMode(e, OUTPUT);

pinMode(f, OUTPUT);

pinMode(g, OUTPUT);

pinMode(A, INPUT);

pinMode(B, INPUT);

pinMode(C, INPUT);

pinMode(D, INPUT);

pinMode(E, INPUT);

pinMode(F, INPUT);

pinMode(G, INPUT);

pinMode(H, INPUT);

pinMode(I, INPUT);

pinMode(J, INPUT);

digitalWrite(a, LOW);

digitalWrite(b, LOW);

digitalWrite(c, LOW);

digitalWrite(d, LOW);

digitalWrite(e, LOW);

digitalWrite(f, LOW);

digitalWrite(g, LOW);

}

void loop() {

if (digitalRead(A) == HIGH){ // one

digitalWrite(a, LOW);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, LOW);

digitalWrite(e, LOW);

digitalWrite(f, LOW);

digitalWrite(g, LOW);

delay(100);

}

if (digitalRead(B) == HIGH){ // two

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, LOW);

digitalWrite(d, HIGH);

digitalWrite(e, HIGH);

digitalWrite(f, LOW);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(C) == HIGH){ // three

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, LOW);

digitalWrite(f, LOW);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(D) == HIGH){ // four

digitalWrite(a, LOW);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, LOW);

digitalWrite(e, LOW);

digitalWrite(f, HIGH);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(E) == HIGH){ // five

digitalWrite(a, HIGH);

digitalWrite(b, LOW);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, LOW);

digitalWrite(f, HIGH);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(F) == HIGH){ // six

digitalWrite(a, HIGH);

digitalWrite(b, LOW);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, HIGH);

digitalWrite(f, HIGH);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(G) == HIGH){ // seven

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, LOW);

digitalWrite(e, LOW);

digitalWrite(f, LOW);

digitalWrite(g, LOW);

delay(100);

}

if (digitalRead(H) == HIGH){ // eight

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, HIGH);

digitalWrite(f, HIGH);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(I) == HIGH){ // nine

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, LOW);

digitalWrite(f, HIGH);

digitalWrite(g, HIGH);

delay(100);

}

if (digitalRead(J) == HIGH){ // zero

digitalWrite(a, HIGH);

digitalWrite(b, HIGH);

digitalWrite(c, HIGH);

digitalWrite(d, HIGH);

digitalWrite(e, HIGH);

digitalWrite(f, HIGH);

digitalWrite(g, LOW);

delay(100);

}

}


566 views0 comments

Recent Posts

See All

Comments


bottom of page