O'Reilly logo

Rapid BeagleBoard Prototyping with MATLAB and Simulink by Dr.Fei Qin, Dr. Xuewu Dai

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

Chapter 5. Digital I/O and Serial Communication

In this chapter we will introduce how to utilize digital I/O and serial communication ports to drive external sensors, for example, an infrared (IR) sensor for motion detection in smart home applications. Driving sensors to collect data is an essential task in prototyping development. In this chapter's demo, an IR sensor is employed as the data acquisition input, driven by code that enables the system making use of the sensor data.

The following topics are discussed in detail:

  • Voltage shifting: Voltage conversion between the BeagleBoard and external devices
  • Digital I/O: Interfacing a device via the BeagleBoard's digital I/O
  • Serial communication: Interfacing a device via the BeagleBoard's serial port ...

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