Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: shug on March 28, 2014, 11:11:48 AM

Title: Olimex A20 and Adafruit Thermal Printer
Post by: shug on March 28, 2014, 11:11:48 AM
Hello all,
I'm leaving the raspberry world to enter the wonderfull Olimex one. With my RPI I have a little thermal printer (ref 597 @ adafruit) that works with only a TX and a Ground pin (serial).

I would like to make it work with my A20 (with debian). If I plug my in on the TX and Ground pins on the UART0 it works fine on /dev/ttyS0 but it seems to be the console as I also print error, reboot messages ...
So I think I should plug it on one of the GPIO/UEXT but here I'm lost : which one should I choose ? How to know to wich /dev/ttySx will it be linked ?
Thanks for your help !
Title: Re: Olimex A20 and Adafruit Thermal Printer
Post by: rfk on March 28, 2014, 02:22:19 PM
Hi shug,


ttyS0 indeed is the console.
You can use UEXT1 with ttyS1 or UEXT2 with ttyS7 (see at https://www.olimex.com/wiki/A20-OLinuXino-MICRO (https://www.olimex.com/wiki/A20-OLinuXino-MICRO) dow, where it says "Tested board peripherals with this image")
With a level shifter you can also use Rx ...

Work nice!