
The Trinket's default I2C SDA and SCL pins are A4 and A5 respectively. The real time clock module is a continuous time keeper so your printer will know the time even when it is unplugged! The Trinket will poll the time from the RTC module via I2C and the wire.h library. Adafruit has an excellent hookup-guide for the printer if you want a more in-depth look at its capabilities. Remember that this is a cross-over situation where Trinket's TX pin connects to the printer's RX pin and vice-versa. Those pins are connected to the RX and TX pins on the thermal printer respectively.
Adafruit trinket softwareserial serial#
The Trinket will communicate with the thermal printer over serial using the SoftwareSerial library with the Trinket's pin 6 defined as TX (transmit) and pin 5 defined as RX (receive).
Adafruit trinket softwareserial pro#
The basic outline is like this: The device utilizes SoftwareSerial on the Pro Trinket as well as Adafruit's Thermal Printer Library, and Adafruit's RTC (Real Time Clock) Library. It is fairly simple and easy to customize for those with intermediate to advanced skills with an Arduino. That said, it is worth your while to look at the attached circuit diagrams and understand how the device is laid out. This a very simple circuit that requires no additional components other than those listed. The prints take about six hours total on my Replicator 2 so now would be a good time to get them going while you do the rest of the electronics work!


This project requires a little Arduino programming knowledge, some familiarity with prototyping and testing circuits and some basic mechanical skills.
