Unleash the potential of BeagleBone using Python
About This Book
- Configure and customize your BeagleBone to seamlessly connect it to external hardware using Python
- Learn to write programs that interface with the real world using GPIO ports
- Clear and step-by-step examples, complete with component lists, circuit diagrams, and Python code
Who This Book Is For
If you have experience with the Python language and are interested in getting started with electronics, then BeagleBone Black is the perfect platform for you and this book will provide you with the information you need.
What You Will Learn
- Set up BeagleBone Black for development with the PyBBIO and Adafruit_BBIO Python libraries
- Understand how each of BeagleBone Black's hardware interface subsystems work
- Connect many different types of hardware to BeagleBone Black
- Use Python code to control and communicate with external hardware
- Write programs that interact with the physical world around you
In Detail
BeagleBone is a barebone computer that can be configured and customized for different applications and is almost half the price of a standard computer. This book will cover the basics of how BeagleBone Black's hardware interface subsystems work, and can be controlled using two popular Python libraries for BeagleBone Black. You will be introduced to BeagleBone Black's GPIO, PWM, ADC, UART, SPI, I2C, and eQEP subsystems. We will then dive deep into more complex built-in peripherals, demonstrating different ways to receive input from a user including buttons, potentiometers, and rotary encoders with the eQEP module. We will also learn about interfacing with external devices; this will be demonstrated using the serial modules to interface with external devices such as temperature sensors and accelerometers. Towards the end of the book, we will present a couple of real-world problems and demonstrate how to solve them with the skills you've acquired.