Nextion Display for my Injection Molding Controller

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ค. 2024
  • Nextion Display for my Injection Molding Controller--creating the user interface using Microsoft PowerPoint, Gimp, and Paint.NET along with the Nextion editor. The documentation for the Nextion editor is not very good, but it turns out to be pretty easy to use once you get the hang of it.
    7-segment font: DS-Digital from www.dafont.com/ds-digital.font
    Affiliate links for products I used:
    * Nextion Display: amzn.to/3sA1cNS
    * Micro SD Card: amzn.to/3uLGOvS
    * Micro SD Card Reader: amzn.to/3LrVzKh
    * DaVinci Speed Editor: amzn.to/3gHIsGL
    Chapters:
    0:00 Start
    0:49 Controller Functions
    3:49 UX Design - PowerPoint
    7:17 Resizing Screens
    8:04 Nextion Editor
    9:47 Realistic LEDs
    11:11 Nextion Buttons
    12:50 Choosing Screen Size
    14:02 Programming the Display
    16:17 Davinci Speed Editor
    17:18 Wrapup

ความคิดเห็น • 27

  • @OwlishGeorge
    @OwlishGeorge 2 ปีที่แล้ว

    Sometimes the algorithm actually manages to bring me to content that aligns with my interests, thanks for sharing!

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว

      My pleasure!

  • @qzorn4440
    @qzorn4440 2 หลายเดือนก่อน

    A very elegant display layout. I have an Arduino UNO R4 Minima [ABX00080] - Renesas RA4M1 - USB-C, CAN, DAC (12 bit analog). I would like to try out one of the Nextion Displays with analog registers and attractive pushbuttons as in this video. 😎 Thank you for the how to video.

  • @piccilos
    @piccilos 2 ปีที่แล้ว

    Thank you for taking the time to show this.

  • @barebooger
    @barebooger 2 ปีที่แล้ว +1

    I got tired of that SD card pretty quickly. Uploading via a usb cable is much quicker and eliminates a lot of fumbling and plugging/unplugging.
    Thanks for another great video! I didn't realize only 2 photos were required and each button only reads the part of the photo it uses. When I started watching this video, I expected you to use hotspots.

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว

      I thought about using the USB UART for downloading, and may try it. Once I get the STM32 hooked up to the display, that won't be quite as easy. But, it still might be faster. I'll have to try it out. Thanks. As to using hotspots, I discovered this two-image trick from some other videos, and it works really wel.

  • @JonMcPhalen
    @JonMcPhalen ปีที่แล้ว

    I'm a big fan of using Inkscape for create Nextion HMI graphics. Using a vector program allows things to scale and I can export to PNG directly from it. It's nice to see someone as fussy as I am making nice HMIs. Well done.

  • @rhokdatroll
    @rhokdatroll 2 ปีที่แล้ว

    👍🏻 great video, thanks!

  • @TroubledTimes2024
    @TroubledTimes2024 2 ปีที่แล้ว

    Interesting, this should boost your subscriptions :)

  • @Repairman87
    @Repairman87 2 ปีที่แล้ว

    Really interesting! I was thinking about doing something like this to control model train switches from a mounted touchscreen. Please continue on with an over view of the code and other steps of the process so I can see if it is out of my skill range. Neat idea for a series though.

  • @foremanmachinesllc7070
    @foremanmachinesllc7070 2 ปีที่แล้ว

    Awesome video! I'm working on an automatic plastic injection machine that will use the nextion 7" screen. So it's very cool to see what you deem important given you have a lot of experience with injection molding.

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว

      Thank you. I've already thought of a few things I'll need to change, which I'll incorporate once I get the code talking to the display. And I'm open to any suggestions you may have as well.

  • @engineeredaf1920
    @engineeredaf1920 2 ปีที่แล้ว

    Another excellent video! Thanks for sharing, I hope maybe we can get a coding lesson in the next one :-)

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว

      Hmmm. Did you have something specific in mind? I'll have to think about what I might cover.

    • @engineeredaf1920
      @engineeredaf1920 2 ปีที่แล้ว

      @@JohnSL i wasn't thinking about anything too crazy - mostly just interested in how to get the screen talking to the machine

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว +1

      I just got the screen talking to the micro controller at the end of the day yesterday and decided to do a video on this. I'm hoping to get that out for next week.

  • @waywardmedia4491
    @waywardmedia4491 2 ปีที่แล้ว

    I’d also say that you can set screen size in figma to 800 x 640 initially

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว

      I haven't used Figma, but it certainly looks like it would do the job as well.

  • @juansalgado6212
    @juansalgado6212 2 ปีที่แล้ว

    Amazing work! I’m wondering if this project can be open sourced or sold as a kit. The software is what holds me back from making my own automatic injection molding machine.

    • @JohnSL
      @JohnSL  2 ปีที่แล้ว +3

      I am thinking I'll make a custom circuit board and sell them. It's not likely this is worthwhile doing, but should be fun!

    • @GrumpyHeadDesigns
      @GrumpyHeadDesigns 2 ปีที่แล้ว

      @@JohnSL Well I can tell you that I am VERY much anticipating this so I can put it in my makerspace for the kids to get a blast from! Hard to get something these days with prices of everything soo high. DIY is the route we are going to take. Keep up the good work!

  • @David_11111
    @David_11111 2 ปีที่แล้ว

    yay

  • @CAMER_21
    @CAMER_21 2 ปีที่แล้ว

    How to make 2"NPT thread milling program for vmc machine?? Fanuc mitsubishi and haas??... how make Taper thread milling program??? Any 2d Programming techniques?? Or any 3d software?? Please make video ...

  • @sonicteampals6848
    @sonicteampals6848 ปีที่แล้ว

    What font did you use. I can not seem to find the 7 segment font

    • @JohnSL
      @JohnSL  ปีที่แล้ว

      DS-Digital from www.dafont.com/ds-digital.font

  • @cihansalcioglu4222
    @cihansalcioglu4222 7 หลายเดือนก่อน

    Hello JohnSL, can you help me with a software-related matter? I want to create a project. In my project, I will be using a Nextion TFT screen, Arduino Uno, Green LED, Blue LED, DC motor driver, and DC motor components. In addition, I will use one yellow button and one red button.
    The program's operation is as follows:
    I will input a value, such as 5000 milliseconds, into the "n0" object on the Nextion screen. I will also enter a value between 0 and 255 into the "n1" object, which will be related to the motor's speed. Based on these values, the motor will run between 0 and 255 revolutions for 5000 milliseconds and then stop. After entering these values, to start the program, the "b0" object on the Nextion screen and the Arduino, connected to the analog "pin1" yellow button, will serve the same function. Whenever the analog "pin1" button or "b0" object is pressed, the motor will start running again and stop when pressed again. In case of an emergency while the motor is running, there will be a red button connected to analog "pin2" to stop the motor. When the "pin2" button is pressed, the running program will stop immediately, and the green LED will turn off. To restart the program, we will need to press the "Dual State Button" button. All of this system will be controlled by the "dual state button" object on the Nextion screen. When the dual-state button is open, the system will be ready to run, and the position of the dual-state button will be indicated by the green LED connected to digital "pin 12". I want to create a project that operates in this way. What is the cost of such a project?