Menu

Graphical LCD

2022-07-06
2022-09-04
<< < 1 2 3 4 5 > >> (Page 4 of 5)
  • Anobium

    Anobium - 2022-07-11

    From your discoveries today I think you are heading towards the ILI GLCDs with Touch.

    Whigh way are you heading? Nextion or a standalone GCB GLCD that is serially controlled?
    or, some other direcation?

     
  • Anobium

    Anobium - 2022-07-11

    I have one of these. https://www.waveshare.com/wiki/4inch_RPi_LCD_(A)

    It is a ILI9486L, it is 4inches with Touch.

    There are many demos and the project I have here has this attached to an UNO. Power is 5v0 however I have fitted a level converter for the UNO.

     

    Last edit: Anobium 2022-07-11
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-11

    I wonder if the controller is supported by GCB ; and, about the price : add shipment and taxes, and You get the same range as Nextion !

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-11

    Thanks, for me this thread is finished, since I didn't find any satisfying display ... Long live mechanical switches !

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-12

    I wanted to perform a very last test with Nextion. My idea was a user interface using only clickable pictures (more possibilities of customization than buttons), which I could show and hide according to context ; I used the 4.3" model of the "Intelligent" series , I attach the project file ; clicking works OK, but then I tried to hide p1 ... see the screen hardcopy ! No comment ...

     

    Last edit: Bertrand BAROTH 2022-07-12
    • Anobium

      Anobium - 2022-07-12

      LOL

      No comment ... Best read the manual.

      https://nextion.tech/instruction-set/ command instruction 11. The syntax is incorrect - the error message is correct.

       
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-12

    Thanks, now it works, at least for the things I need ... I saw YouTube demos, and even the command syntax suggested by the software itself, but at this size it is very difficult (not to say impossible) to distinguish a dot and a comma.
    "Anobium", You wrote that You had a new Nextion to sell ; which type (size, I am looking for at least 3", better 4", and "family"), and what would be the price ?

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-12

    If You prefer, You can send me a private message to my email address. (removed)

     

    Last edit: Anobium 2022-07-12
    • Anobium

      Anobium - 2022-07-12

      This is the product page - https://nextion.tech/datasheets/nx8048p070-011r/

      It is working.. I have just loaded your simple project. Looked like 'light wood'. Then, I have loaded a proper project from "C:\GCB@Syn\GreatCowBasic\Demos\glcd_solutions\glcd_nextion_solutions" in the demos - the upload was minutes via serial as the project is huge - it is faster via a memory card.

       
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-12

    Wov, 7" ... Now let's come to the "financial part" ... Price (with shipment to France) ? And do You have a PayPal account, so I could (if I decide to buy) send the money in the "to a friend" mode ?

     
  • stan cartwright

    stan cartwright - 2022-07-12

    I got the ili9341 sdcard reader to work with mmbasic. Not implemented in gcb. Just one gpio line, cs, the other 3 are connected to the same pins as touch.
    A way of storing bitmaps but seems the sdcard slot can be used for any storage.
    This could be a cheap. ili9341 and rpi pico alternative to nextion.
    it said no calibration errors for touch x,y and the display is fast with all the dials and buttons. etc.
    I think it's a good implementation of the ili9341. It could stand on it's own as an embedded project but could be a slave display for gcb???

     

    Last edit: stan cartwright 2022-07-12
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-13

    The Nextion editor crashes all the time ... Probably related with my x64 Windows. Remember, at the beginning it didn't even start with the C++ runtime for x64 ...

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-13

    All these systems remind me a joke by Houphouët-Boigny : "We couldn't go further because we had arrived at the edge of an abyss ; but meanwhile we succeeded in making again a big step forwards."

    :)

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-13

    And the best joke of all : finally I succeeded in creating the HMI file for Nextion, after many crashes and swearwords, I sent it to Anobium for testing ...

    :)

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-19

    Today I got "Anobium" ' s Nextion, I tested it with GCB Terminal, defined several macros for page selection. It works fine, exactly as I hoped. I have an USB to serial adapter which switches the USB port into "High current" mode and so delivers 500 mA on output. I don't know if "Anobium" can access his mailbox now, but all the way I say : "Thanks ... "

     
  • Anobium

    Anobium - 2022-07-20

    Great to hear.

    Enjoy the GLCD for many years to come.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-22

    I wrote my test program ; it works fine ... I noticed only two minor and very small issues, but which are not really annoying :
    - Due to the resistive function of the screen, triggering the touch control needs a rather (in my eyes) "strong" pressure. Maybe that this does not appear with capacitive touch screens ?
    - And the same as with all touch screens : after a while of using, the screen is full with ... fingerprints and needs cleaning (I will use only a moist smooth cloth and water, since I think that the screen is made of a kind of polycarbonate).
    Now comes the biggest difficulty : the "mechanical" integration of the screen into the front of the control desk !

     

    Last edit: Bertrand BAROTH 2022-07-22
  • stan cartwright

    stan cartwright - 2022-07-22

    You get a free pen thing but touch finger prints?
    This would be up your street for touch glcd . Rpi using mmbasic called picomite. It's much better than nextion and it's basic but lots of dials and buttons and switches, interrupt touch subs. brill.
    Sorry to promote another basic but it will do more with an ili9341 than gcb
    You can store files and bitmaps on the sdcard slot. It's new to me but nice,
    Interpreted basisic but a dual core pico at 250 MHz .. it seems fast.
    Sorry if I upset anyone but just amazed at mmbasic on rpi pico.
    Just to let you know that there's alternatives to nextion editor and the cost.
    These rpi picos are cheap and you could use python or c+, mmbasic has lots of nextion type stuff for the glcds it supports, it does the ili9341 very well.

     
  • stan cartwright

    stan cartwright - 2022-07-22

    You get a free pen thing but touch finger prints?
    This would be up your street for touch glcd . Rpi using mmbasic called picomite. It's much better than nextion and it's basic but lots of dials and buttons and switches, interrupt touch subs. brill.
    Sorry to promote another basic but it will do more with an ili9341 than gcb
    You can store files and bitmaps on the sdcard slot. It's new to me but nice,
    Interpreted basisic but a dual core pico at 250 MHz .. it seems fast.
    Sorry if I upset anyone but just amazed at mmbasic on rpi pico.
    Just to let you know that there's alternatives to nextion editor and the cost.
    These rpi picos are cheap and you could use python or c+, mmbasic has lots of nextion type stuff for the glcds it supports, it does the ili9341 very well.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-23

    Bug : after selecting a page, I wanna hide some picture components (there is another picture in the background), so I cannot click them. But there is a little latency time (8515 with 4 MHz, STK200) during which the component IS clickable, it's difficult but thanks to Murphy possible : the component is briefly visible before disappearing. And it's not possible to hide an element on an inactive page (before showing it), the instruction : vis <page>.<component>,0 does not work ... Idem tsw.
    So I would (will ? ) have to tell my prog to ignore the corresponding click code, in addition to the hiding of the component . Tedious ... </component></page>

     

    Last edit: Bertrand BAROTH 2022-07-23
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-23

    Finally I have 2 major reproaches against the device :
    First, the impossibility of updating a hidden page in the background BEFORE showing it. So, one can see how all elements are modified, and this is rather ugly.
    Second, the pressure needed to trigger a click, which leads sometimes to ignored commands. I must add that I noticed the same issue on a weighing scale (for fruits and vegetables) in a self-service store.
    Finally, the device does not match my needs ; no matter, it was an attempt ! And finally I will keep my good old fashioned pushbuttons for "real" use ...

     
  • Chris Roper

    Chris Roper - 2022-07-23

    Resistive Touch requires a stylus not a finger.
    It is pressure sensitive and the stylus concentrates the force on a point whilst a finger will spread the force.
    Capacitive Touch is finger sensitive as the finger changes the capacitance not resistance.
    Try a stylus, even a toothpick or an old dry ballpoint pen.

     
  • Anobium

    Anobium - 2022-07-23

    Add a script to the object in the Nextion. There are methods to achieve what you want. The objects on each page are addressable from the MCU and by the creation of events you should be able to achieve the outcome. I can look when I get back.

    Proof the demo loaded when you received the GLCD. The first page was a video but the scripts had updated another page.. the key is the event scripting in the Nextion.


    Re ensuring a click happened. Again, in the Nextion add a shadow to the button (or other ui piece) or add a physical 'click' sound.... All should be resolveable.

     

    Last edit: Anobium 2022-07-23
  • Bertrand BAROTH

    Bertrand BAROTH - 2022-07-23

    Thanks Anobium, but it's too late. I will stay with my buttons : as Chris Roper said, i should use a stylus ... to control my railroad layout ? Really ridiculous ! And feedback is useless, since I saw the page changing after a click, ... and not changing after a failed click. :)

     
  • Chris Roper

    Chris Roper - 2022-07-23

    ... to control my railroad layout ? Really ridiculous !

    I disagree, try thinking out side of the box.
    If you use Kadee or similar couplers your operator's will be carrying a stylus anyway in order to manually uncouple the cars/wagons.

     
<< < 1 2 3 4 5 > >> (Page 4 of 5)

Log in to post a comment.