So is micro python the best and easiest to program an arduino esp 32

Hi all,
curious to hear opinions on what peoples choices are regarding using Micro Python as one of the easiest OS’s to program an Arduino ESP 32.
Regards
Dave

Dave,
I think it’s more a choice of the programming language and whether there is support for the devices you want to attach.
I’ve found there is a lot of Arduino (C/ C++) code for most things and if not directly able to run on ESPs, then the changes are usually determining which GPIO is used in the various librarys.
That said (micro)Python is a higher level language and if modules exist for your needs then the code is much easier to read/write/follow/hack.
Whether you have experience in Python or ‘Arduino C’ (or other languages) may make a difference too.

Dave W

Hi Dave,

I find that Python is very easy to code with, but offers slightly less control than Arduino does.

Arduino also has many more examples floating around the web to help you out. That said, if microPython is an option, that would be the language I’d start with!

Micropython is awesome to develop with. One of the great features is the REPL prompt, you can test your code / syntax as you develop it and then add it to your program file once it is doing what you want it to. No more program, compile, download, test, whoops, and repeat. Just connect to your device, develop and test in the same spot as you build it. The other thing that is great is being able to use other python code as a base, I just finished a project where I was able to use some open source python libraries and port those across to micropython (easily) and this helped my development cycle. So go for it, highly recommended.

2 Likes

+1 MicroPython