O'Reilly logo

BeagleBone Essentials by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing a real device

Echoing data over an emulated serial connection can be educational, but we want to manage real devices, so let's connect one to our BeagleBone Black.

The BeagleBone Black has six on-board serial ports but only one is enabled by default: the /dev/ttyO0 device that is coupled to the serial console, as we saw in the previous chapters. The other serial ports must be enabled before they can be used.

Note

The default serial port name for the BeagleBone Black is /dev/ttyOX, where X addresses the X-th available serial port.

If we do log in to the system, we can easily verify this using the following command:

root@BeagleBone:~# ls -l /dev/ttyO*
crw-rw---- 1 root tty 248, 0 Apr 23 20:20 /dev/ttyO0

Ok, the /dev/ttyO0 device is the only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required