Where to start with Microcontroller and Python ?
Where to start with Microcontroller and Python ?
Hi everyone,
I would like to learn to program and built project using MicroControllers
I'm a Python dev. Therefore I would like to use it to program those.
But I've no idea where to start..
- For the hardware:
- What will be the best Raspberry Pi or Arduino ?
\ I know they are not the same thing but could tell me in which situation you use more one than the other ? Or do you use something else ?
- What will be the best Raspberry Pi or Arduino ?
- Software
- I've already my IDE VisualCodium
\ What is MicroPython Vs CircuitPython ?
- I've already my IDE VisualCodium
If you have any resources I'm all eras.
Thanks.
If you want to start from scratch, recommend getting an ESP-32 based dev board from Adafruit or Sparkfun, then installing either of the Pythons on them.
If you want to get into soldering, a plain no-name off AliExpress will also work. But Sparkfun has a small connector called Qwiic (Adafruit also has a similar one they call Stemma QT). Then get a few fun peripherals like a switch, a lamp, an environment sensor, and maybe a stepper motor with those connectors. They just plug into each other and you're good to start coding.
If you want it all in a compact package, including a screen, then check out M5Stack. They are the same inside, but in a more approachable package. They use a different wiring system called 'grove' so it's easier to plug and play with their peripherals.
If you want to get into home automation, check out HomeAssistant and their ESPHome project.
The nice thing about using python is that there's no separate compile-then-flash step. In most cases, you plug the board in, it appears as a drive, and you drag-drop your code file onto it. As your skills improve, you may find that your ideas may outgrow the tools. Feel free to jump up to Arduino, FreeRTOS, a linux, or an Android based system.
It's all good. Best of Luck!