Shamelessly stolen from you know where

  • Aceticon@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    31
    ·
    1 month ago

    Not even the more expensive microcontrollers run Linux.

    The kind of thing you would see in such a simple device like a dildo are the cheaper smaller ones with RAM sizes and Flash Memory sizes in the KB range and costs less that $1 in bulk.

    Mind you, you can squeeze a Linux kernel into a really small amount of memory, but why for a production device pay more for a larger than needed microcontroller and then use most of its storage for a Linux kernel leaving little space for the actual functional code when you don’t need support for things like filesystems or networking?

    Microcontrollers are a whole different world from microprocessors.

    • laserm@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      For the lolz probably. There doesn’t have to be a rational reason for everything…

      • Aceticon@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 month ago

        The only experience I have with those (I’m an EE but don’t practice it professionally so have only have done embedded circuits for fun) is things like the ESP8266 and ESP32 and those come with an RTOS, though at least the latter should be powerful enough to fit Linux. You can actually program for those in C on top of Arduino or on top of the manufacturer libraries which are a bit more high level than for simpler microcontrollers without WiFi support as they come with an IP stack rather than only exposing low level hardware functionality.

        (It is actually a lot of fun making a proper web application on one of those to allow remote control of some hardware from an Android app - if you make it a REST interface - or even from a browser - if you make it serve web pages. I believe most “controllable from your mobile phone” lights out there use one of these microcontrollers or similar on the lamp side).

        The Nordic nRF51822 somebody else mentioned doesn’t even have WiFi support, only Bluetooth LE and has less memory.