I was wondering if there is any way to program Arduino using Python.
I want to learn more about AI and I read that python is the best language for that purpose.
I think that using Arduino for AI is a little bit silly but I don't know any other microcontroller.
So, I want to tell me what IDE should I use to program Arduino using Python or any other microcontroller that I could use instead of Arduino.
Arduinos are only programmed in C++. Python is an interpreted language and an Arduino does not have enough memory or speed to run the Python interpreter.
I believe you can run MicroPython on an ESP32 module - I have bought some recently but have not tried MicroPython yet. I would expect that MicroPython will use a great deal of the "speed" of the ESP32 for its own internal purposes with the result that the code I write will probably be much slower than if I wrote it in C++.
You can program an ESP32 with the Arduino IDE if you install the appropriate core libraries.
I suspect it would make a lot more sense to do AI programming on a PC (or maybe a RaspberryPI) which will be very much faster than an ESP32, never mind an Arduino.
Robin2:
I believe you can run MicroPython on an ESP32 module - I have bought some recently but have not tried MicroPython yet. I would expect that MicroPython will use a great deal of the "speed" of the ESP32 for its own internal purposes with the result that the code I write will probably be much slower than if I wrote it in C++.
The fastest Arduino that I have is an esp8266. Do you know if ESP32 is better than ESP8266?
Robin2:
I suspect it would make a lot more sense to do AI programming on a PC (or maybe a RaspberryPI) which will be very much faster than an ESP32, never mind an Arduino.
How can I use a PC to program AI? I mean what software I need to do it.