• BlameTheAntifa@lemmy.world
    link
    fedilink
    arrow-up
    56
    arrow-down
    2
    ·
    1 day ago

    Arduino has been irrelevant for a while. There are better alternatives for everything they offer. For a start, take a look at Raspberry Pi’s microcontrollers.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        There are already several places chomping at the bit to unseat them as the SBC default.

      • Quetzalcutlass@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        22 hours ago

        The closest they’ve come so far is prioritizing industrial customers and compute modules for a while during a chip shortage, to my memory. Hopefully they stick to their roots in the hobbyist/educational sector.

        • Fiery@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          3
          ·
          21 hours ago

          To be fair, if most of your funding (source needed) comes from industrial customers, not supplying them is a good way to lose their patronage.

          So even if it sucked for hobbyists at that moment, keeping a big player like RbP viable for the long term might not be too bad of a tradeoff.

      • Tavi@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        ST looming in the background, NXP desperately trying to smash their own kneecaps with a hammer and failing. ESP getting hit with a lightning bolt every time they try to read documentation they printed out but not when its digital…

    • ByteOnBikes@discuss.online
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      1 day ago

      I stay away from all the micro tech drama and I feel like two years ago, that community was bitching that raspberry pi sold out and everyone should switch to arduino.

      I don’t have a side. I just pick whatever is easiest to make a emulation station.

      • BlameTheAntifa@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        edit-2
        1 day ago

        RbP created a publicly traded company for their hardware, which is almost-wholly-held by Raspberry Pi Foundation, which is a charity.

        That sort of thing ought not be allowed, ever. It’s similar to the path Arduino took to get here. There are still other competitors, but for the time being I’m happy enough with RbPi’s dirt-cheap microcontrollers. Their mini-PCs are a different story. We’re already seeing enshittification and price gouging there. It’s just a matter of time.

        • Professorozone@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          17 hours ago

          Yeah, I remember when the prices were high for a raspberry pi, I think it was $45, I went on Newegg and found a full size motherboard for $50. I mean, if you are looking for small that’s no good, but if cheap was all you were going for at that time, the pi wasn’t that great.

        • atomicbocks@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 day ago

          I agree that it shouldn’t be allowed. But for what it’s worth, a lot of non-profits that have a product do this. Mozilla for instance.

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      23 hours ago

      You can also use the Arduino hardware without their IDE or libraries. You just need avr-gcc, avr-libc and a makefile. The AVR microcontrollers are very easy to program. The Arduino libraries really just get in the way once you need to do anything with timers.

    • infinitesunrise@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 day ago

      True, but you can’t just port arduino code to python or whatever language the raspberry picos compile from. An arduino project would have to be completely rewritten, as far as I’m aware.

      • Captain Aggravated@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        you can program a Pi Pico with the Arduino IDE in C++. Some projects will just compile if you aren’t using some AVR specific features like the built-in EEPROM that the RP2040 doesn’t have.

        • infinitesunrise@slrpnk.net
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          edit-2
          1 day ago

          the Arduino IDE in C++

          That’s actually pretty cool, but aren’t the majority of Arduino projects written in Arduino (Java superset)? At least all of mine are, as that is how I was originally taught to program it.

          edit - Please don’t downvote people for seeking information. There was nothing disingenuous or underhanded about my comment, you’re either downvoting because you dislike people asking questions or don’t like something personal about my experience, which harms this community directly and also make the site feel unnecessarily hostile. This isn’t reddit.

          • Captain Aggravated@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            TL;DR: The Arduino language is C++ with an automatically included library, but it’s descended from a Java project with an automatically included library.

            Processing is a graphics and art based graphics library/IDE that uses the Java programming language. It basically includes some classes and methods by default on top of Java that makes programming graphics and even simple games a bit more straightforward.

            Processing’s IDE was forked by the Wiring project for the purposes of microcontroller hardware programming. Because the Java Virtual Machine is a bit much to ask a 16MHz 8-bit AVR to run, they switched the language to C++ which compiles straight to machine code that runs on the bare metal. Again, it’s just C++ with a library included, under the hood it uses gcc to compile and avrdude to program the chip. I believe the IDE itself is still written in Java.

            Arduino took Wiring and painted it teal. They’ve extended it quite a bit since then but in the early days Arduino was really a hardware project. They’ve since added support for non-AVR boards to the Arduino IDE, including ARM-Cortex and ESP32 based boards.

            Raspberry Pi offers C and C++ SDKs and a MicroPython interpreter for the Pico series. Someone contributed support for RP2040 based boards to the Arduino IDE; I don’t believe that was done officially by either RPi or Arduino.

            • infinitesunrise@slrpnk.net
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 day ago

              TIL that Processing actually predates Arduino. All these years I thought that it was the other way around and that Processing was a fork of Arduino. Thanks for the history lesson!

    • Croquette@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 day ago

      You can get an arduino clone for a lot cheaper than you can get an rpi clone.

      Sometimes, you just need something very simple and a cheap arduino is the right choice.

      Arduino is also a lot more user friendly for newcomers.

      It’s a shame that Qualcomm will be the end of it.