3

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 ?
  • Software
    • I've already my IDE VisualCodium
      What is MicroPython Vs CircuitPython ?

If you have any resources I'm all eras.

Thanks.

you are viewing a single comment's thread
view the rest of the comments
[-] nnullzz@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

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.

[-] bjorney@lemmy.ca 2 points 1 month ago

So I would say that if you’re explicitly trying to use Python, a Pi is the way to go.

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

[-] nnullzz@lemmy.world 1 points 1 month ago

Ah true, good point.

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