Olimex A20 and Adafruit Thermal Printer

Started by shug, March 28, 2014, 11:11:48 AM

Previous topic - Next topic

shug

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 !

rfk

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 dow, where it says "Tested board peripherals with this image")
With a level shifter you can also use Rx ...

Work nice!
-- rfk