+ 3

How to code Arduino with python.?

I would like to know how it has been done.

3rd Aug 2019, 5:00 PM
VISHNUPRASHOB S
VISHNUPRASHOB S - avatar
3 Réponses
+ 1
So if I understand Martin Taylor correctly, the impact of the Arduino not directly running Python is that you MUST have the Arduino connected to a computer in order for Python to be used with an Arduino. You couldn’t run it solo and for example, powered by battery. This might be a huge limitation for your project. For most people, its probably fair to say programming your Arduino in Processing (similar to C++) is a better idea.
19th Aug 2019, 1:07 PM
Jeremy White
Jeremy White - avatar
+ 2
Hi! You can flash your microcontroller with program that returns obtained data in string format through COM port of your computer. I use Arduino to receive data from temperature and relative humidity sensors and display them on my computer. The obtained data displayed in real-time charts by use of Python libraries (such as serial, matplotlib and drawnow). You also can ask Google for Python Arduino and it give you a lot of examples.
3rd Aug 2019, 7:50 PM
Dmytro Novak
Dmytro Novak - avatar