So, customers walk in, take a number and wait to be called. But what if you can replace that old Take a Number dispenser with Arduino and a Thermal Printer?
The new system will be able to print your shop address, your Instagram account and also discount codes and promotions.
The best part? It is really simple.
Get the parts, download and install Adafruit Thermal Printer Library (download from https://github.com/adafruit/Adafruit-Thermal-Printer-Library) and a small code will do the trick
#include "Adafruit_Thermal.h" // library required
#include "SoftwareSerial.h"
#define TX_PIN 6 // Arduino transmit YELLOW WIRE labeled RX on printer
#define RX_PIN 5 // Arduino receive GREEN WIRE labeled TX on printer
// in setup
mySerial.begin(19200);
printer.begin();
// in loop, detect switch and print using
printer.boldOn();
printer.setSize('L');
printer.println(F("Mi Store"));
Complete code can be downloaded for free with Kindle Unlimited
Comments
Please log in or sign up to comment.