- ホーム
- > 洋書
- > 英文書
- > Science / Mathematics
Full Description
The BeagleBone Black PrimerMaster BeagleBone Black:Today's most powerful low-cost embedded development platform!You can do amazing things with BeagleBone Black. Get started in just five minutes: all you need is a USB cable and this easy, hands-on primer!Brian McLaughlin teaches you enough to be seriously dangerous. Start with the simplest embedded programming concepts. Explore BeagleBone Black's capabilities, and learn all the essentials, from controlling I/O to establishing network connections.Then, step by step, master increasingly advanced techniques with the Cloud9 IDE and BoneScript...Integrate external hardware...Install Linux or Android...Use Cape expansion boards to do even more.Don't just learn it: do it. This guide is packed with projects, from weather stations, to car computers, to a "capstone" project using Software Defined Radio to capture signals from local airspace and orbiting satellites!You won't just put BeagleBone Black to work: you'll start imagining great projects of your own. And then you'll build them.Discover how BeagleBone Black works, and what it can do Get your BeagleBone Black-and get it working, fastLink your BeagleBone Black to the world, and link yourself to the global BeagleBone communityLearn to read schematics and use them to connect hardwarePrototype your projects with breadboardsExtend BeagleBone Black with CapesAdd sensors to capture and use data from the environmentUse actuators to make things happen in the real worldMake your BeagleBone Black recognize your faceLearn from mistakes, and go beyond what you've already learnedBrian McLaughlin is an engineer by profession and by hobby. Building on a solid foundation in software, he was first exposed to advanced hardware topics while working on the Hubble Space Telescope. After working for Lockheed Martin, he joined NASA, where he's supported many of NASA's most exciting missions. He holds a B.S. in computer science (North Carolina State University) and an M.S. in systems engineering (University of Maryland). He's also written for GeekDad and is a member of the growing Maker community.
Contents
&>IntroductionWho This Book Is For ....................................................................1How This Book Is Organized .........................................................2Conventions Used in This Book .....................................................3Let Me Know What You Think .......................................................3Chapter 1 Embedded Computers and Electronics ......................... 5What Are Embedded Electronics? ..................................................5Arduino .........................................................................................9What Should Readers Get Out of This Book? ...............................12Chapter 2 Introduction to the Hardware ................................... 15A Short Lineage of the BeagleBone Black .....................................15BeagleBone Black Hardware Specification ....................................19Processor .................................................................................20RAM ........................................................................................21Onboard Flash and MicroSD External Storage ...........................22Ethernet ...................................................................................22General-Purpose Input/Output .................................................22Chapter 3 Getting Started ....................................................... 25Setting Up and Saying "Hello, World!" ........................................26Connecting to Ethernet ................................................................32Chapter 4 Hardware Basics ..................................................... 39Electronics Basics: Voltage, Current, Power, and Resistance .........39The Short Circuit .........................................................................43The Resistor .............................................................................45Diodes and LEDs ......................................................................48Build an LED Circuit .................................................................50Chapter 5 A Little Deeper into Development .............................. 57Interpreted Code .........................................................................57Python-A Step Above Interpreted Language ..............................59Implementing Blinking Lights In Python .....................................62Compiled Code ...........................................................................65Chapter 6 Trying Other Operating Systems ............................... 71History of the Linux World: Part I ................................................71Picking an Operating System .......................................................73Loading the microSD Card ..........................................................73Chapter 7 Expanding the Hardware Horizon .............................. 81Binary Basics ...............................................................................81Hardware Representation .........................................................83Serial Communications ................................................................91Inspecting UART ......................................................................93Chapter 8 Low-Level Hardware and Capes ................................. 97Linux Hardware Through The File System .....................................97Hardware in the File System .......................................................100One Pin, Multiple Functions ......................................................103Hardware Configuration ............................................................108Chapter 9 Interacting with Your World, Part 1: Sensors .......... 113Sensor Basics ............................................................................113Analog Versus Digital .............................................................120Sample Rates .........................................................................124Chapter 10 Remote Monitoring and Data Collection ................... 127Project Outline ..........................................................................127Wiring Up The Project ...............................................................130Seeing the Light .........................................................................134Publishing the Sensor Data ........................................................137Start Collecting Data .................................................................142Chapter 11 Interacting with Your World, Part 2: Feedback and Actuators 149Controlling Current ...................................................................149Blinking to Fading .....................................................................156Vibration Motors .......................................................................159Servo Motors ............................................................................161Stepper Motors .........................................................................165Chapter 12 Computer Vision ................................................... 171Connecting a Camera ................................................................171Utilizing OpenCV Libraries .........................................................177A Better Photo Booth ................................................................178Cascade Classifiers ....................................................................180Tracking a Face .........................................................................182Chapter 13 Sniffing Out Car Trouble ......................................... 189Car Computers ..........................................................................189Interfacing to the Car ................................................................191Reading the Car's Status ............................................................198Interpreting the Data .................................................................199Chapter 14 Ground Control to Major Beagle ............................. 205Radio Data ...............................................................................205WiFi ..........................................................................................210Software Defined Radio .............................................................212Grabbing Libraries with Git ........................................................215Radio Testing ............................................................................216Calibrating the Radio ................................................................219Listening to Aviation Data .........................................................221BeagleBone Black Air Traffic Control Station..............................223Chapter 15 Moving Forward .................................................... 225Project Ideas .............................................................................226Portable Gaming Solutions .....................................................226Weather Station .....................................................................227In-Car Computer ....................................................................227More Advanced Aircraft "RADAR" ..........................................228Satellite Ground Station .........................................................228Tools ........................................................................................230Resources ..................................................................................230Index ................................................................... 233