Skip to Content
Python Programming for Arduino
book

Python Programming for Arduino

by Pratik Desai
February 2015
Intermediate to advanced
400 pages
9h 49m
English
Packt Publishing
Content preview from Python Programming for Arduino

Method 2 – using Python and Firmata

In the previous chapter, we discussed the benefits of using Python programming that is assisted by Firmata over using native Arduino sketches. The Python-based programming approach provides tangible experience when performing any algorithmic or parametric changes. In this section, we are going to explore these benefits and also learn important Python programming paradigms.

The project setup

Let's make sure that you have done the following before we go ahead with Python programming:

  • Made sure that the hardware components are set up, as described in the system design
  • Connected the Arduino to your computer using a USB cable
  • Uploaded the StandardFirmata sketch back to Arduino
  • Made sure that you have Python and the Python ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with Raspberry Pi

Python Programming with Raspberry Pi

Srihari Yamanoor, Sai Yamanoor

Publisher Resources

ISBN: 9781783285938Supplemental Content