Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Python Programming for Arduino
  • Toc
  • feedback
Python Programming for Arduino

Python Programming for Arduino

By : Pratik Desai
4.6 (22)
close
Python Programming for Arduino

Python Programming for Arduino

4.6 (22)
By: Pratik Desai

Overview of this book

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.
Table of Contents (13 chapters)
close
12
Index

What this book covers

Chapter 1, Getting Started with Python and Arduino, introduces the fundamentals of the Arduino and Python platforms. It also provides comprehensive installation and configuration steps to set up the necessary software tools.

Chapter 2, Working with the Firmata Protocol and the pySerial Library, discusses the interfacing of the Arduino hardware with the Python program by explaining the Firmata protocol and the serial interfacing library.

Chapter 3, The First Project – Motion-triggered LEDs, provides comprehensive guidelines to create your first Python-Arduino project, which controls different LEDs according to the detected motion.

Chapter 4, Diving into Python-Arduino Prototyping, takes you beyond the basic prototyping that we performed in the previous project and provides an in-depth description of prototyping methods, with appropriate examples.

Chapter 5, Working with the Python GUI, begins our two-chapter journey into developing graphical interfaces using Python. The chapter introduces the Tkinter library, which provides the graphical frontend for the Arduino hardware.

Chapter 6, Storing and Plotting Arduino Data, covers Python libraries, CSV and matplotlib that are used to store and plot the sensor data respectively.

Chapter 7, The Midterm Project – a Portable DIY Thermostat, contains a practical and deployable project that utilizes the material that we covered in previous chapters such as serial interfacing, a graphical frontend, and a plot of the sensor data.

Chapter 8, Introduction to Arduino Networking, introduces computer networking for Arduino while utilizing various protocols to establish Ethernet communication between the Python program and Arduino. This chapter also explores a messaging protocol called MQTT, with basic examples. This protocol is specifically designed for resource-constrained hardware devices such as Arduino.

Chapter 9, Arduino and the Internet of Things, discusses the domain of the IoT while providing step-by-step guidelines to develop cloud-based IoT applications.

Chapter 10, The Final Project – a Remote Home Monitoring System, teaches a design methodology for the hardware product, followed by a comprehensive project that interfaces the cloud platform with Arduino and Python.

Chapter 11, Tweet-a-PowerStrip, contains another IoT project that is based on everything that we learned in the book. The project explores a unique approach to integrate a social network, Twitter, with the Python-Arduino application.

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete