Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2020

Rust for the IoT

Building Internet of Things Apps with Rust and Raspberry Pi

Apress

Authors:

(view affiliations)
  • The first book on learning Rust for the Internet of Things

  • Includes many code-laden examples along the way

  • Covers all aspects of getting your code running

Buying options

eBook
USD 49.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-5860-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD 64.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xx
  2. Introduction

    • Joseph Faisal Nusairat
    Pages 1-31
  3. Server Side

    • Joseph Faisal Nusairat
    Pages 33-90
  4. File Uploading and Parsing

    • Joseph Faisal Nusairat
    Pages 91-131
  5. Messaging and GraphQL

    • Joseph Faisal Nusairat
    Pages 133-172
  6. Performance

    • Joseph Faisal Nusairat
    Pages 173-235
  7. Security

    • Joseph Faisal Nusairat
    Pages 237-288
  8. Deployment

    • Joseph Faisal Nusairat
    Pages 289-389
  9. Raspberry Pi

    • Joseph Faisal Nusairat
    Pages 391-427
  10. Sense HAT

    • Joseph Faisal Nusairat
    Pages 429-481
  11. Camera

    • Joseph Faisal Nusairat
    Pages 483-523
  12. Integration

    • Joseph Faisal Nusairat
    Pages 525-576
  13. Final Thoughts

    • Joseph Faisal Nusairat
    Pages 577-584
  14. Back Matter

    Pages 585-595

About this book

Get started programming Rust applications for the Internet of Things (IoT). This book is a programming skills migration book that teaches you the Rust programming techniques most useful for IoT applications. You'll step through from server to board development in creating a set of IoT applications.

 

In Rust for the IoT, you'll learn how to build a modern server side application using Rust on the backend. Then you'll use docker and Kubernetes to deploy these to a managed cloud. Finally you will use a Raspberry Pi with a SenseHat and Camera to capture the world around you and send that information to the cloud.

 

While you will be able to follow along without any cloud or hardware, to make the most of it we recommend a few cloud pieces and hardware that is designed to integrate with the software in this book. After reading and using this book, you'll see how to apply Rust to the Internet of Things.  

 

You will:

  • Create a modern Rust backend complete with handling eventual consistency and interacting via a GraphQL interface
  • Use the Raspberry PI to serve as a cheap IoT device that one can easily deploy around the house
  • Capture temperature, video, and use the interactive joystick to interact with the software you’ve created
  • Use OpenCV to perform facial detection from the PI’s camera and save that information to the cloud.
  • Create deployable helm charts for the cloud, and for the device create complete ISOs that allow you to easily deploy the Pi’s OS + custom software

Keywords

  • Rust
  • learn
  • IoT
  • Internet
  • Things
  • Raspberry Pi
  • C++
  • source
  • code
  • programming
  • development
  • software
  • applications
  • Alexa
  • RPi

Authors and Affiliations

  • Scottsdale, USA

    Joseph Faisal Nusairat

About the author

Joseph Faisal Nusairat is a a senior partner at Integrallis Software and is a software developer who has been working full-time in the Columbus, Ohio, area since 1998, primarily focused on Java and most recently Rust application development. His career has taken him into a variety of Fortune 500 industries, including military applications, data centers, banking, Internet security, pharmaceuticals, and insurance. Throughout this experience, he has worked on all varieties of application development from design to architecture to development. Joseph, like most Java developers, is particularly fond of open source projects and tries to use as much open source software as possible when working with clients. Joseph is a graduate of Ohio University with dual degrees in computer science and microbiology and a minor in chemistry. While at Ohio University, Joseph also dabbled in student politics and was a research assistant in the virology labs.

Bibliographic Information

Buying options

eBook
USD 49.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-5860-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD 64.99
Price excludes VAT (USA)