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.

  • nnullzz@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    20 days 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
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 days 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