Chapter 3. The First Project – Motion-triggered LEDs

In the preceding chapter, you learned the basics of Python-Arduino interfacing. We went through some exercises to provide hands-on experience with a useful Arduino protocol, Firmata, and the Python library. Now, it's time for your first 'Python + Arduino' project.

We will start this chapter by discussing the project goals and the required components to design the software flow and the hardware layout for the project. Just like any other microcontroller-based hardware project, you can use code and implement the entire logic of your project on Arduino itself. However, the goal of this book is to help you to utilize Python in such a way that you can simplify and extend your hardware projects. Although ...

Get Python Programming for Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.