Writing to the Nextion Display in Rust

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 15

  • @JohnJones-oy3md
    @JohnJones-oy3md 2 роки тому +1

    Enjoying this series. I remember 20+ years ago I bought a serially-controlled 128x64 black and white graphic LCD from Scott Edwards Electronics, feeding it .BMP files and controlling it with a Basic Stamp. I thought that was the cat's meow, and it cost over $250, IIRC. Had a whopping 16kB of flash memory onboard to store the graphics. Amazing how far we've come. 🙂

    • @JonMcPhalen
      @JonMcPhalen 2 роки тому +1

      I haven't spoken with Scott in ages, but we communicated frequently in the early days. I was a BASIC Stamp user and ultimately worked for Parallax. In my consulting work, most of the projects I do use Parallax Propeller processors. It is a long way from the BS1 to the Propeller 2, though there is still some common DNA. I recently did a commercial project with the P2 and the Nextion display.

  • @PaulSteMarie
    @PaulSteMarie 2 роки тому

    I'm liking this display. Seems like a very powerful widget for device control.

    • @JohnSL
      @JohnSL  2 роки тому

      Yes, it's very powerful. I've been getting more time on it, and I still like it. It's a little funky and the documentation is very bad. But it works well and it's a lot less work than trying to create the UI of this richness directly from a micro controller.

  • @GregsGarage
    @GregsGarage 2 роки тому

    This is VERY interesting. I've been hacking together Arduino code with a couple encoders and some relays to attempt come control software. What you have going looks WAY better than what I've got going.

  • @JonMcPhalen
    @JonMcPhalen 2 роки тому

    I really like the Nextion command interface of object=value so I went that way getting messages from the Nextion versus the standard protocol. In my apps I get strings from the Nextion that are name=value and are terminated with a 0x0D. It's very simple to parse these strings and in my app. A recent project for a cameral control company has about 20 active pages in the Nextion so moving to a page sends a pageNN=X message that where NN is the new page, and X is 0 (not loaded yet) or 1 (has been loaded). With simple string parsing and the nice debug/test environment in the Nextion IDE, we were able to get it up and running quickly, and my clients customers love the interface.

  • @findingpoints
    @findingpoints 2 роки тому

    Very cool! Thx for the information. I’ll be looking into using this display.

    • @JohnSL
      @JohnSL  2 роки тому

      And using Rust too? If so, I've learned a lot about how to do that, and it was a little painful to get there.

  • @Repairman87
    @Repairman87 2 роки тому

    Interesting series!

  • @rhokdatroll
    @rhokdatroll 2 роки тому

    👍🏻 great video

  • @timmienorrie
    @timmienorrie 2 роки тому

    Good stuff. Thanks.

  • @wizrom3046
    @wizrom3046 2 роки тому

    Cool project! 👍🙂

  • @daryl7237
    @daryl7237 2 роки тому

    hi this wonderful project possible to share the coding with hmi?

  • @SonnyWalkman
    @SonnyWalkman 2 роки тому

    Do you have the rust code for your project? I'd like to use a NEXION display for my project on Raspberry Pi which would be good place to start.

  • @joro4301
    @joro4301 2 роки тому

    Interesting.