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 ...

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.