封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Setting Up for the First Time
Introduction
First boot up
Power requirements – basic guidelines
Display
Essential GNU/Linux commands – the command shell
Essential GNU/Linux commands – typical commands
Edit a text file from the command shell
Connectivity
Package management – Installing packages using apt-get
SSH / Remote access
System images
Chapter 2. Basic Programming Recipes
Introduction
Introduction to BoneScript
Toggle LED
Using the Cloud9 IDE
Node.js basic recipes
Adding a new module to Node.js
Using Node.js with Johnny-Five
Python basic recipes
Adding libraries
Running a Python script to control the LEDs
Chapter 3. Physical Computing Recipes Using JavaScript the BoneScript Library and Python
Introduction
Controlling external LEDs
Using buttons – button press function
Using analog sensors
Variable resistance sensor – photocell
Using motors
Chapter 4. Exploring GNU/Linux Recipes Using Bash Autotools Debugger and systemd
Introduction
The basic shell script
Epoch Time shell script
Compile and install
Compile and install Git from source
Debugging
Debug a simple C-code application from the command line using GDB
Debug an application remotely from Eclipse and GDB server
systemd services
Basic commands for systemd services
Optimize boot time
Create a systemd service to run at boot time
Chapter 5. Basic Programming Recipes with the Linux Kernel
Introduction
Kernel application binary interface
Installing the latest kernel image
Installing and building a custom kernel
Interactions with the kernel – sysfs entries and controlling the GPIOs
Device Tree and its roots
Device Tree / basic build
Device Tree / advanced – adding DT overlay to run a custom cape
Universal cape overlay
Running a script to check DT usage on GPIO pins
Chapter 6. Run Faster Run Real Time
Introduction
Installing a test tool
Modifying the kernel using RT-PREEMPT
Modifying the kernel using Xenomai
Programmable real-time units – an introduction
A simple PRU test with an assembler
Running an ultrasonic range sensor with the PRUs
Using Python with the PRUs
Chapter 7. Applied Recipes – Sound Picture and Video
Introduction
Wiring up a mini amp and speakers
Creating a high-quality audio platform with Volumio
Using videos and displays in projects
Testing a mini LCD cape
Making a video chat client prototype using Linphone
Chapter 8. The Internet of Things
Introduction
Location-based recipes – hooking up GPS
Location-based recipes – Bluetooth LE and Beacons
Using sensors and data with ThingSpeak
Making things smarter – building a wireless digital picture frame
Chapter 9. The Black in Outer Space
Introduction
Grabbing the International Space Station flyover data and visualizing it
Tracking using RTL-SDR
Airplane tracking with RTL-SDR
Satellite tracking using GPredict and RTL-SDR
Satellite tracking using the SatNogs Network client / ground station and RTL-SDR
Adding other interfaces – ISS tracking and text to speech
Index
更新时间:2021-08-05 16:38:18