My main account is dragontamer@lemmy.world. It has turned out that a 2nd account on the federation is a good idea. I’ll use this dragontamer@lemmy.ca account when lemmy.world gets DDOSed (or other such events), allowing me to continue posting and moderating even if my main account goes down.

  • 3 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle


  • I realize this story is about the ESP32-S3, but the OTHER board discussed in that article is way more intriguing to me.

    This, in turn, followed on from the Metro M7, based on NXP’s i.MX RT1011 “crossover microcontroller unit” — offering a much more powerful take on the Arduino UNO form factor, which itself has since been updated with the release of the modernized UNO R4 Minima and WiFi.

    Wait, wut? They’ve got an i.MX unit? Well now I’m super intrigued. I’ve posted about the difference between Microcontrollers and Microprocessors in my guides. But the i.MX series from NXP tries to toe the line inbetween the two categories. A Cortex M7 though is still solidly “Microcontroller” to me, but any i.MX will intrigue me because its specs are incredibly high for a uC (or incredibly low-power for a uP).


    With regards to Arduino form factor… the size roughly compares to 3x AA NiMH cells or larger 18650 Li-ion cells. Its a good size for portable applications, though a bit larger than something you’d reliably put inside a pocket (big pockets can probably fit Arduino form factor + batteries though).

    Adafruit themselves seem to be most interested in the Cosplay-electronics community, so something like this would be a wearable that you’d hide in your costume somewhere. (Ex: controlling the lights to an Overwatch costume or other “techie” video game costume that needs a lot of lights, fiber optics, and the like).

    In any case: that’s three boards with three different sets of capabilities: from the lowly RP2040, to ESP32-S3, to i.MX Cortex M7 “crossover” chip.


  • I hate this setup.

    Rasp. Pi Pico W has a Wi-Fi card. Cool. The WiFi connects to your local WiFi network, which connects to your ISP, which connects to the internet, which connects to ntfy.sh. NTFY.sh then creates a push notification over Apple and/or Android, then finds your Phone, likely realizing your phone is currently in your WiFi network. It then sends a message to your ISP, to send a message to your WiFi network, which sends a message to your Phone and you finally get the alert.

    Its probably the easiest way to get things done, but a bluetooth alert and/or Wifi-direct alert of some kind would be better. Phone APIs don’t seem too keen on WiFi / Socket servers however. Bluetooth would likely be a better solution, but involves pairing and other such noise to complicate the process.

    Hmmmmm. I see that ntfy.sh is the easiest way to bridge it all together. But that doesn’t mean I have to like it.



  • dragontamer@lemmy.catoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Yeah, cause the Win32 API + DirectX is more stable than the rest of Linux.

    There’s a reason why Steam games prefer to emulate Win32 API on Linux, rather than compiling to Linux binary native. Wine is more stable than almost everything else, and Windows’s behavior (both documented, and undocumented) has legendary-levels of compatibility.


  • dragontamer@lemmy.catoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    1 year ago

    You know that doesn’t matter when commercial software often only releases and tests their software on Ubuntu and RedHat, right?

    I run Ubuntu / Red Hat / etc. etc. because I’m forced to. Do you think I’m creating a lab with a billion different versions of Linux for fun?


    Linux kinda-sorta works if you’ve got the freedom to “./configure && make && make install”, recreating binaries and recompiling often. Many pieces of software are designed to work across library changes (but have the compiler/linker fix up minor issues).

    But once you start having proprietary binaries moving around (and you’ll be facing proprietary binaries cause no office will give you their source code), you start having version-specific issues. The Linux-community just doesn’t care very much about binary-compatibility, and they’ll never care about it because they’re anti-corporate and don’t want to offer good support to binary code like this. (And prefers to force GPL down your throats).

    There’s certainly some advantages and disadvantages to Linux’s choice here (or really, Ubuntu / Red Hat / etc. etc. since each different distro really is its own OS). But in the corporate office world, Linux is a very poor performer in practice.


  • dragontamer@lemmy.catoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    like saying you are running last night’s upload

    If only. I’m running old stuff, not by choice either.

    Ubuntu 18.04 and up literally fails to install on one of my work computers. I’ve been forced to run Ubuntu 16.04. BIOS-incompatibility / hardware issues happen man. It forces me to an older version. On some Dell workstations I’ve bought for my org, Ubuntu 22 fails to install and we’re forced to run Ubuntu 20.04 on those.

    Software compiled on Ubuntu 16.04 has issues running on Ubuntu 20.04, meaning these two separate computers have different sets of bugs as our developers run and test.

    I’m running old LTS Ubuntu instances, not because I want to mind you. But because I’ve been forced with hardware incompatibility bugs to do so. At least we have Docker, so the guy running Ubuntu 20.04 can install docker and create an Ubuntu 16.04 docker to run the 16.04 binaries. But its not as seemless as any Linux guy thinks.


    CentOS is too stable and a lot of proprietary code is designed for Ubuntu instead. So while CentOS is stable, you get subtle bugs when you try to force Ubuntu binaries onto it. If your group uses CentOS / RedHat, that’s great. Except its not the most popular system, so you end up having to find Ubuntu boxes somewhere to run things effectively.

    There’s plenty of Linux software these days that forces me (and users around me) to use Linux in an office environment. But if you’re running multiple Linux boxes (This box is Ubuntu, that one is Ubuntu 16 and can’t upgrade, that other box is Red Hat for the .yum packages…), running an additional Windows box ain’t a bad idea anyway. You already were like 4 or 5 computers to have this user get their job done.


    Once you start dealing with these issues, you really begin to appreciate Windows’s like 30+ years of binary compatibility.



  • Microcontroller ADCs still have a bad reputation compared to “hardcore” analog designers, but STM32 isn’t bad in the great scheme of uCs.

    https://hackaday.io/project/188051-rpscope

    Here’s the original project, and with a circuit layout closer to what I’d expect to be typical. However, notice that the STM32 contains all the parts that are in the rpscope: STM32 has an ADC (albeit a slower one), multiple OpAmps (albeit with lower accuracy), and a microcontroller (albeit with less RAM than the RP2040).

    Shrinking and consolidation is the goal for these devices, leading to far cheaper designs with possibly better reliability (now that its all put together in one package). Of course, the specs are far weaker on the STM32 rather than dedicated ADCs, but you can see the size, cost, and power/watt difference by just looking at this thing.