On the completion of the first project, you successfully started Python-Arduino interfacing. We also interfaced multiple hardware components, that is, motion sensor and LEDs with Arduino via digital pins. During the project, you learned more about the Firmata protocol while utilizing simple Python methods that helped you to establish a connection between your Arduino board and the Python program. When you are working on complex projects, you need more than basic methods to implement the different features that are required by the projects and their associated electronics components. This chapter is designed to give you a comprehensive experience of interfacing so that you can start working on hard problems from the next chapter onwards. We have described various interfacing protocols at the Python-Arduino and Arduino-to-components levels. This chapter also includes practical examples for these protocols with appropriate code and circuit diagrams...
Python Programming for Arduino
Python Programming for Arduino
Overview of this book
Table of Contents (18 chapters)
Python Programming for Arduino
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Python and Arduino
Working with the Firmata Protocol and the pySerial Library
The First Project – Motion-triggered LEDs
Diving into Python-Arduino Prototyping
Working with the Python GUI
Storing and Plotting Arduino Data
The Midterm Project – a Portable DIY Thermostat
Introduction to Arduino Networking
Arduino and the Internet of Things
The Final Project – a Remote Home Monitoring System
Tweet-a-PowerStrip
Index
Customer Reviews