Exploring Raspberry Pi: Interfacing to the Real World with Embedded Linux

Höfundur: Derek Molloy (Útgáfa: 1)
Exploring Raspberry Pi: Interfacing to the Real World with Embedded Linux

Kaup valmöguleikar

Stækkaðu möguleika Raspberry Pi með grundvallarreglum verkfræði. Exploring Raspberry Pi er leiðarvísir fyrir frumkvöðla sem vilja gæða Raspberry Pi lífi. Í stað þess að bjóða upp á tilbúnar uppskriftir leggur bókin áherslu á meginreglur verkfræði og veitir þér færni til að hanna og smíða eigin verkefni. Með verklegri nálgun öðlast þú skilning á grundvallaratriðum sem nýtist við hvers kyns rafeindabúnað, rafeindaeiningar og jaðartæki. Efnið hentar jafnt byrjendum sem sérfræðingum.

Bókin hefst á grunnatriðum Linux og forritunar og aðstoðar þig við að koma þér upp safni algengra íhluta og annars búnaðar. Því næst lærir þú að tengja íhluti saman þannig að markmiðum verkefnisins sé náð, óháð því hvaða búnað þú notar. Á fylgivef bókarinnar er heildstætt safn kóða og skriftna ásamt tenglum á kennslumyndbönd og ítarefni.

Þekktasti eiginleiki Raspberry Pi er hve auðvelt er að laga tækið að ólíkum verkefnum. Það má nota í þúsundir rafeindaverkefna og Linux-stýrikerfið eykur möguleikana enn frekar. Bókin hjálpar þér að nýta Raspberry Pi til fulls og kennir jafnframt þá grundvallarfærni í verkfræði sem þarf til að nota hvers kyns rafeindabúnað í eigin verkefnum.

  • Öðlastu færni í Linux og forritun til að þróa einföld forrit.
  • Komdu þér upp safni íhluta svo þú getir ávallt fundið lausn sem virkar.
  • Lærðu að tengjast, stýra og eiga samskipti við nánast hvaða íhlut sem er.
  • Kannaðu þróaðri notkunarmöguleika með mynd- og hljóðvinnslu, samskiptum við raunheiminn og fleiru.

Exploring Raspberry Pi veitir þér frelsi til að aðlaga, hanna og skapa.

Nánar um bókina

Útgefandi
Wiley Professional Development (P&T)
ISBN
9781119188698
Print ISBN
9781119188681
Format
ePub
Útgáfa
1
Höfundar
Derek Molloy
Tungumál
English
Útgefið
2016-06-13
Prent takmörkun á líftíma
100
Prent takmörkun
10
Afritunar takmörkun
2

Kaflar

  • Title Page
  • Introduction
  • How This Book Is Structured
  • Conventions Used in This Book
  • What You'll Need
  • Errata
  • Digital Content and Source Code
  • Part I: Raspberry Pi Basics
  • Chapter 1: Raspberry Pi Hardware
  • Introduction to the Platform
  • RPi Documentation
  • The RPi Hardware
  • Raspberry Pi Accessories
  • HATs
  • How to Destroy Your RPi!
  • Summary
  • Support
  • Chapter 2: Raspberry Pi Software
  • Linux on the Raspberry Pi
  • Connecting to a Network
  • Communicating with the RPi
  • Controlling the Raspberry Pi
  • Configuring the Raspberry Pi
  • Interacting with the Onboard LEDs
  • Shutdown and Reboot
  • Summary
  • Chapter 3: Exploring Embedded Linux Systems
  • Introducing Embedded Linux
  • Managing Linux Systems
  • Using Git for Version Control
  • Using Desktop Virtualization
  • Code for This Book
  • Summary
  • Further Reading
  • Bibliography
  • Chapter 4: Interfacing Electronics
  • Analyzing Your Circuits
  • Basic Circuit Principles
  • Discrete Components
  • Logic Gates
  • Analog-to-Digital Conversion
  • Concluding Advice
  • Summary
  • Further Reading
  • Chapter 5: Programming on the Raspberry Pi
  • Introduction
  • Scripting Languages
  • Dynamically Compiled Languages
  • C and C++ on the RPi
  • Overview of Object-Oriented Programming
  • Interfacing to the Linux OS
  • Improving the Performance of Python
  • Summary
  • Further Reading
  • Bibliography
  • Part II: Interfacing, Controlling, and Communicating
  • Chapter 6: Interfacing to the Raspberry Pi Input/Outputs
  • Introduction
  • General-Purpose Input/Outputs
  • C++ Control of GPIOs Using sysfs
  • Memory-Based GPIO Control
  • WiringPi
  • GPIOs and Permissions
  • Summary
  • Chapter 7: Cross-Compilation and the Eclipse IDE
  • Setting Up a Cross-Compilation Toolchain
  • Cross-Compilation Using Eclipse
  • Building Linux
  • Summary
  • Further Reading
  • Chapter 8: Interfacing to the Raspberry Pi Buses
  • Introduction to Bus Communication
  • I2C
  • SPI
  • UART
  • Logic-Level Translation
  • Summary
  • Further Reading
  • Chapter 9: Enhancing the Input/Output Interfaces on the RPi
  • Introduction
  • Analog-to-Digital Conversion
  • Digital-to-Analog Conversion
  • Adding PWM Outputs to the RPi
  • Extending the RPi GPIOs
  • Adding UARTs to the RPi
  • Summary
  • Chapter 10: Interacting with the Physical Environment
  • Interfacing to Actuators
  • Interfacing to Analog Sensors
  • Interfacing to Local Displays
  • Building C/C++ Libraries
  • Summary
  • Chapter 11: Real-Time Interfacing Using the Arduino
  • The Arduino
  • An Arduino Serial Slave
  • An Arduino I2C Slave
  • An Arduino SPI Slave
  • Programming the Arduino from the RPi Command Line
  • Summary
  • Part III: Advanced Interfacing and Interaction
  • Chapter 12: The Internet of Things
  • The Internet of Things (IoT)
  • The RPi as an IoT Sensor
  • The RPi as a Sensor Web Server
  • A C/C++ Web Client
  • The RPi as a “Thing”
  • Large-Scale IoT Frameworks
  • The C++ Client/Server
  • IoT Device Management
  • Summary
  • Chapter 13: Wireless Communication and Control
  • Introduction to Wireless Communications
  • Bluetooth Communications
  • Wi-Fi Communications
  • ZigBee Communications
  • Near Field Communication
  • Summary
  • Chapter 14: Raspberry Pi with a Rich User Interface
  • Rich UI RPi Architectures
  • Rich UI Application Development
  • Qt Primer
  • Remote UI Application Development
  • Summary
  • Further Reading
  • Chapter 15: Images, Video, and Audio
  • Capturing Images and Video
  • Streaming Video
  • Image Processing and Computer Vision
  • Raspberry Pi Audio
  • Summary
  • Further Reading
  • Chapter 16: Kernel Programming
  • Introduction
  • A First LKM Example
  • An Embedded LKM Example
  • Enhanced Button GPIO Driver LKM
  • Enhanced LED GPIO Driver LKM
  • Conclusions
  • Summary
  • End User License Agreement