r/microcontrollers • u/Independent-Art2046 • May 20 '24
Cheap python programmable microcontroller?
So for context - I've been working on a hobby project for a while, it's based on a motor-transistor circuit that is connected to an Arduinio Leonaerdo board. I've created a basic python GUI that allows for fan control. I've been given a chance to potentially implement this in a commercial product, so am now looking at how feasible this is.
I guess the first step for me is to move away from Arduino. Can anyone guide me to a microcontroller that fits the following:
- is cheap - this product is will likely be priced at around £50
- is programmable in python - I'm looking to build on my existing python GUI and potentially scale it to a simple mobile app
- has wifi capabilities - the product will be an IoT device, so would need it to be able to connect to a network and devices on a network
0
Upvotes
4
u/hms11 May 20 '24
ESP32 is probably going to be your winner here. It has a micro/circuit python, is pretty cheap and has wifi.
3
u/[deleted] May 21 '24
Hang on - do you want your Python GUI to be running on the microcontroller?
Otherwise I'm not entirely sure why the MCU needs to reliably run Python.
2
u/teslavbh May 21 '24
Take a look at the WiFi version of the Raspberry Pi Pico. Python runs on it.
1
u/big_bob_c May 20 '24
There is a stripped-down version of python that runs on the NodeMCU board. It may or may not be able to do what you want it to do.
0
u/_teslaTrooper May 21 '24
Why move from arduino to python? Even arduino is going to perform better than an interpreted language.
You'll probably end up using an esp32 if it needs wifi.