In the previous section, sensors or actuators were directly communicating with Arduino via digital, analog, or PWM pins. These methods are utilized by a large number of basic, low-level sensors and you will be widely using them in your future Arduino projects. Beside these methods, there is a wide variety of popular sensors that are based on integrated circuit (IC), which require different ways of communication. These IC-based advanced sensors utilize I2C- or SPI bus-based methods to communicate with the microcontroller. As we are going to use I2C-based sensors in the upcoming projects, the section will only cover the I2C protocol and practical example to understand the protocol in a better way. Once you understand the fundamentals of the I2C protocol, you can learn the SPI protocol very quickly.
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