this post was submitted on 30 Aug 2024
3 points (100.0% liked)
Microcontrollers
117 readers
2 users here now
Discussion about any and all microcontrollers. Arduino, ESP32, ESP8266, PIC, STM, whatever!
Hardware and software welcome.
You are welcome to show off your project here!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
With a Raspberry Pi, you can use it as a microcontroller but also as a computer that can run an OS. So it’ll have things like networking, display outputs, but also have pins to connect devices to. You program a Pi with Python.
An Arduino is more a microcontroller in the classical sense. It doesn’t run an OS, but rather the program you send to it, and that’s it. It’ll run that program forever. The programming language (or library as some refer to it) is more akin to C++.
EDIT: I should note that an arduino can have peripherals and things like networking too, but you’ll need to buy “hats” as they’re called. They sit on top of the arduino, extending the pins but also giving you extra functionality.
So I would say that if you’re explicitly trying to use Python, a Pi is the way to go. That said, there are toooons of guides out there with say “10 Raspberry Pi Projects for Beginners”. Sometimes Humble Bundle has bundles with those kinds of books.
Get yourself a kit online with basic components if you don’t have them already. And maybe a breadboard. Just dive in. Don’t overthink the projects in the beginning. Just try the easy stuff till you understand enough that you can try making your own devices.
I will point out you can run micropython on a lot of embedded boards now. I haven't used it, so I don't know if it's actually good or if it's more like those software-gore "here is my python package for building web front ends that is somehow worse than JS" packages you always see on python boards
Ah true, good point.