O'Reilly logo

Python Programming for Arduino by Pratik Desai

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Method 1 – using a standalone Arduino sketch

As we discussed in the previous chapters, a project can be implemented by creating project-specific native Arduino code or by using a Python-Arduino hybrid approach.

The native Arduino sketches are useful in applications where negligible or no communication with a computer system is required. Although this type of standalone project enables continuous operation in the absence of serial connectivity, it is difficult to keep updating and uploading an Arduino sketch for minor modifications.

If you look at the various applications of this project, you will notice that only a few of them require the project to be implemented as a standalone system that just detects motion and blinks LEDs. This type of system ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required