Harness the power of the BeagleBone Black to manage external environments using C, Bash, and Python/PHP programming
The BeagleBone Black is an embedded system that is able to run complete GNU/Linux distributions such as Debian or Ubuntu. Having powerful distribution capabilities, and packed with an easily expandable embedded board, the BeagleBone Black is a device that will allow users to build powerful and versatile monitoring and controlling systems.
You start off by learning how to set up the board from scratch; you will be introduced to the concepts of compilation and cross-compilation of user-space and kernel-space applications with some basic debugging techniques. Next, you will move on to high-level programming by using scripting languages; you'll then learn how to get access to different kinds of peripherals such as serial ports, USB devices, I2C/SPI, and 1-Wire. Finally, you will discover how to use or develop system daemons in several programming languages, collect peripheral data, and control a device. Accessing all peripherals and writing good monitoring and controlling programs can be a complex task; it's all too easy to make mistakes early in development that lead to serious problems in production. This guide is an invaluable tutorial if you are planning to use a BeagleBone Black to control or monitor projects.
What You Will Learn
Set up and install a Debian operating system for your BeagleBone Black
Get access to the serial console to manage the BeagleBone Black's bootloader and kernel
Discover the pros and cons of native versus cross-compiling C applications
Compile the Linux kernel from scratch and add custom device drivers
Ascertain how a system daemon works and how high-level languages can interact with it
Work with electronic components to build a small circuit
Develop applications that interact with your circuits connected with the system's GPIOs, serial/USB ports, and I2C/SPI/1-Wire busses
Use RFID LF readers, temperature sensors, barcode readers, ADC/DAC, and other peripherals to monitor and control your surroundings
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.