Send over Serial Port with a Script

Thanks @Amm0 and @pe1chl for your Replys.
I’ll use an Arduino (or an ATtiny2313). So it yould be possible, to send Answers, like the OK. I rather won’t login as Terminal, but maybee it’s the best solution, since I still can use the serialport as emergency console.

Since my Hardware is a CCR2004-1G-2XS-PCIe-Card, i first have to solder the UART Connections. That shouldn’t be a problem.
But since I installed Router OS 7.20beta2 and I red in the Releasenotes:
v7.20beta [testing] is released! - Announcements - MikroTik community forum

*) console - added non-interactive (scriptable) serial-terminal support;

I hope there’s easy solution. But I couldn’t find further Infos to this new Function.

Also because it’s an PCIe Card and doesn’t have any USB-Ports. I can’t really use the Containers. Or can I?