Arduino With Python: How to Get Started

Microcontrollers have been around for a long time, and they’re used in everything from complex machinery to common household appliances. However, working with them has traditionally been reserved for those with formal technical training, such as technicians and electrical engineers.

The emergence of Arduino has made electronic application design much more accessible to all developers. In this course, you’ll discover how to use Arduino with Python to develop your own electronic projects.

You’ll cover the basics of Arduino with Python and learn how to:

  • Set up electronic circuits
  • Set up the Firmata protocol on Arduino
  • Write basic applications for Arduino in Python
  • Control analog and digital inputs and outputs
  • Integrate Arduino sensors and switches with higher-level apps
  • Trigger notifications on your PC and send emails using Arduino

About Christopher Bailey

Christopher Bailey Christopher Bailey

Chris is an avid Pythonista and creates video tutorials for Real Python. He is a programmer and data analyst. He creates music under the name Tripnet. Chris lives in Colorado with his wife and two dogs.

» More about Christopher

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

byronnelson on July 26, 2020

First exposure to firmata interested in possibilities of having a Raspberry Pi controlling pins on the Arduino you have opened a new world of possibilities… Thanks!

DW on June 9, 2020

Great introductory course! Many thanks.

avalidzy on April 19, 2020

Motivates me to acquire a couple of starter kits involving Arduino and RaspberryPi. Thanks Chris for your presentation! ;)

David Wright on April 17, 2020

Thank you for this very informative course. I enjoyed going through it and am excited about expanding on what I have learned.

Kevin Walsh on April 11, 2020

Thanks, I learned a lot. Will be ordering my supplies so that I can play around and continue to learn how to use Python in this manner. My son also has several applications on his small farm that he would like to automate if possible.

« Browse All Courses