Python programming for Arduino

Develop practical Internet of Things prototypes and applications with Arduino and Python

Home Tutorials Code bundle

Welcome

The future belongs to applications and services that involve connected devices, requiring physical components to communicate with web-level applications. Arduino combined with the popular open source software platform Python can be used to develop the next level of advanced Internet of Things (IoT) projects with graphical user interfaces and Internet-connected applications.

Starting with designing hardware prototypes using Arduino, this book will then show you everything you need to know to be able to develop complex cloud applications. You will delve into domain-specific topics with incremental complexity, ending with real-world projects. You will quickly learn to develop user interfaces, plots, remote access, messaging protocols, and cloud connectivity. Each successive topic, accompanied by plenty of examples, will help you develop your cutting-edge hardware applications.

Python programming for Arduino

Table of Contents

  1. Getting Started with Python and Arduino
  2. Working with the Firmata Protocol and the pySerial Library
  3. The First Project – Motion-triggered LEDs
  4. Diving into Python-Arduino Prototyping
  5. Working with the Python GUI
  6. Storing and Plotting Arduino Data
  7. The Midterm Project – a Portable DIY Thermostat
  8. Introduction to Arduino Networking
  9. Arduino and the Internet of Things
  10. The Final Project – a Remote Home Monitoring System
  11. Tweet-a-PowerStrip

Locations to get the book

Amazon

http://www.amazon.com/Python-Programming-Arduino-Pratik-Desai-ebook/dp/B00U64KQMC/

Packt

https://www.packtpub.com/application-development/python-programming-arduino

Google Play Books

https://play.google.com/store/books/details/Pratik_Desai_Python_Programming_for_Arduino?id=O0PfBgAAQBAJ

What You Will Learn

  • Design and develop your own hardware prototypes using Arduino
  • Interface Arduino to a computer using the Firmata protocol and Python
  • Acquire hands-on experience in developing applications for a variety of popular sensors
  • Develop graphical user interfaces to control your components and plots to visualize sensor data
  • Access your Arduino prototype from the Internet
  • Implement messaging protocols for Arduino communication
  • Connect your hardware project to cloud-based services
  • Create advanced Internet of Things applications through projects in the book

About This Book

  • Transform your hardware ideas into real-world applications using Arduino and Python
  • Design and develop hardware prototypes, interactive user interfaces, and cloud-connected applications for your projects
  • Explore and expand examples to enrich your connected device’s applications with this step-by-step guide

Who This Book Is For

This is the book for you if you are a student, hobbyist, developer, or designer with little or no programming and hardware prototyping experience, and you want to develop IoT applications.

If you are a software developer or a hardware designer and want to create connected devices applications, then this book will help you get started.

About Author

Pratik Desai

Pratik Desai, PhD, is the Principal Scientist and cofounder of a connected devices start-up, Imbue Labs, where he develops scalable and interoperable architecture for wearable devices and Internet of Things (IoT) platforms during the day. At night, he leads the development of an open source IoT initiative, the Semantic Repository of Things. Pratik has 8 years of research and design experience in various layers of the IoT and its predecessor technologies such as wireless sensor networks, RFID, and machine-to-machine (M2M) communication. His domains of expertise are the IoT, Semantic Web, machine learning, robotics, and artificial intelligence.

Pratik completed his MS and PhD from Wright State University, Ohio, and collaborated with the Ohio Center of Excellence in Knowledge-enabled Computing (Kno.e.sis) during his doctoral research. His doctoral research was focused on developing situation awareness frameworks for IoT devices, enabling semantic web-based reasoning and handling the uncertainty associated with sensor data.

In his personal life, Pratik is an avid DIY junkie and likes to get hands-on experience on upcoming technologies. He extensively expresses his views on technology and shares interesting developments on Twitter (@chheplo).

Contact

For any questions regarding code or exercises, you can contact me at @chheplo.