Just for information : my layout is Z scale, the cars are MTL and the couplers so called MagneMatic ; since I don't uncouple on my layout I cut away the curved part of the metallic rod and secured the remaining with superglue, to avoid loss, preferably in a tunnel (Murphy). But I got never any stylus delivered with my cars, which would all the way have been useless for this kind of coupler.
This is ili9341 with finger touch. Switch icons easy. No pen needed. https://www.youtube.com/watch?v=OLrXb9ds5ME
Anobium did a good job of touch for the display but this is like nextion but using different basic on rpi pico. It makes a cheaper solution to nextion and the graphics are well implemented.
If it could be implemented with gcb and rpi pico £3 and ili9341 £8. Ebay shows many new models and prices then a maybe nextion alternative but for an imbedded system looks good.
Last edit: stan cartwright 2022-07-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I took a glance at the video and noticed that a certain amount of pressure is needed with this display, too. And about scripting : sorry, Anobium, but the operations to be performed on a page before showing are conditional and related with some variables used in GCB, which I would have to transfer first to the display ... Finally my whole application would become a gaseous plant, so I gave up. Thanks to all people for Your help !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Errare humanum est, perseverare diabolicum ... Finally I found, on a forum which states to be independent from Nextion, the possibility to access (only some) properties of elements which are on a presently hidden screen : one must change them from "local" to "global", so an "object method" can be used to access them (screen.element.property) ; unfortunately the visibility DOES NOT belong to the properties which can be changed, so to hide them I have to push them out of the screen (y=480) and, since they keep these new coordinates, I must set them again to the old position to make them visible before switching to the screen ; all this looks a little bit like a "makeshift job".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Amen ... :)
It works ... but I tried to design a frame in 3D, the frame sold at Ali* is not suitable ; at Shapeways at least 40 Euro (non polished) ; and add a new front with melamine for the control panel ...
STOP !!! I prefer spend this money for rolling stock ...
Presently I use a "vintage" control panel with ITT interlocking Schadow (yes, this is the right spelling) switches, found "here and there" on the web (even from Estonia via eBay), including spare items "in case of", look page 2 ; it gives a "vintage" look, 60's like ... exactly as the layout itself. And so I will keep this !
Last edit: Bertrand BAROTH 2022-07-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been using mmbasic on a rpi pico and ili9341. It has very good touch and graphics including "blitter" to copy screen area to buffers and paste back to screen. It's a nice implementation of ili9341 and yet another basic to learn with rpi pico RP2040 but easier to do than nextion which you have to learn... yawn. Sorry to mention it but it's interesting as RP2040 is supposed to be £3.
Runs at 250MHz loads of ram and prog mem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I must say that the main thing which finally bothers me with ALL touch screens are the many fingerprints which must be "cleaned away" very often, otherwise the display will quickly look really "filthy" ; and I am afraid that too often cleaning will quickly scratch the surface of the display.
Last edit: Bertrand BAROTH 2022-08-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Meanwhile I found a 5" capacitive Nextion (I hope with a glass front, less sensitive to scratch) with enclosure, but I didn't yet decide if I should or not buy it ; all the way I could re-sell the 7" resistive which doesn't correspond to my needs. If anybody is interested ... please send me a PM with Your Country (to calculate the shipment fees) to : ilikemurphyslaw@laposte.net (!)
Last edit: Bertrand BAROTH 2022-08-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If somebody could be interested, don't forget this : After I got Your mail, I must first go to the Post Office, which is only open AM, so it may be possible that I cannot answer before 24 hours ...
Last edit: Bertrand BAROTH 2022-08-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The final conclusion : despite of the fact that the seller answered me that the surface of the capacitive screens is made of glass (so less risk to scratch), I will stay with my mechanical switches which have the "look" of the railroad's era (1965) ; a touch screen would only make my control panel look like a contemporary smartphone (with the same dirty fingerprints ! ) and I must add here : I HATE smartphones ...
:(
End of this thread ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Only fools never change their mind. Finally I ordered at itead.cc a CAPACITIVE 5" Nextion display (this is enough for me, the resolution is the same as for 7", 800 x 480) WITH ENCLOSURE ; since the front panel is made of glass, I can clean it to remove the fingerprints without being afraid of scratches in a poycarbonate-like windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Meanwhile I got my capacitive touch screen and it works fine ... Unfortunately it would not add any advantage to my layout (but visual feedback of selection and countdown in automatic mode) in comparison with mechanical switches. My idea was to use it in conjunction with a speech recognition, selecting either touch or speech mode, but the only way to get an "approximately correct" (at least, I thought it ! ) result with speech used a binary coding of commands, involving that one had to say successively a combination of 4 (or 5) "alpha" and "omega" . Only good for Star Trek !
And the worst of all : one of both circuits, which I wanted to use (and for which I had programmed an "on site" training), when connected again to the configuration tool on PC, displayed a popup window claiming that memory had been corrupted and perhaps some data lost, and "hung up" for about 15 seconds (but finally succeeded apparently in recovering). Who says that mankind produces too much garbage ?
:)
Last edit: Bertrand BAROTH 2022-09-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just for information : my layout is Z scale, the cars are MTL and the couplers so called MagneMatic ; since I don't uncouple on my layout I cut away the curved part of the metallic rod and secured the remaining with superglue, to avoid loss, preferably in a tunnel (Murphy). But I got never any stylus delivered with my cars, which would all the way have been useless for this kind of coupler.
Last edit: Bertrand BAROTH 2022-07-23
This is ili9341 with finger touch. Switch icons easy. No pen needed. https://www.youtube.com/watch?v=OLrXb9ds5ME
Anobium did a good job of touch for the display but this is like nextion but using different basic on rpi pico. It makes a cheaper solution to nextion and the graphics are well implemented.
If it could be implemented with gcb and rpi pico £3 and ili9341 £8. Ebay shows many new models and prices then a maybe nextion alternative but for an imbedded system looks good.
Last edit: stan cartwright 2022-07-23
I took a glance at the video and noticed that a certain amount of pressure is needed with this display, too. And about scripting : sorry, Anobium, but the operations to be performed on a page before showing are conditional and related with some variables used in GCB, which I would have to transfer first to the display ... Finally my whole application would become a gaseous plant, so I gave up. Thanks to all people for Your help !
Errare humanum est, perseverare diabolicum ... Finally I found, on a forum which states to be independent from Nextion, the possibility to access (only some) properties of elements which are on a presently hidden screen : one must change them from "local" to "global", so an "object method" can be used to access them (screen.element.property) ; unfortunately the visibility DOES NOT belong to the properties which can be changed, so to hide them I have to push them out of the screen (y=480) and, since they keep these new coordinates, I must set them again to the old position to make them visible before switching to the screen ; all this looks a little bit like a "makeshift job".
Errare humanum est, sed ad rem turpia sunt opus una computatrum
Amen ... :)
It works ... but I tried to design a frame in 3D, the frame sold at Ali* is not suitable ; at Shapeways at least 40 Euro (non polished) ; and add a new front with melamine for the control panel ...
STOP !!! I prefer spend this money for rolling stock ...
Presently I use a "vintage" control panel with ITT interlocking Schadow (yes, this is the right spelling) switches, found "here and there" on the web (even from Estonia via eBay), including spare items "in case of", look page 2 ; it gives a "vintage" look, 60's like ... exactly as the layout itself. And so I will keep this !
Last edit: Bertrand BAROTH 2022-07-29
I have been using mmbasic on a rpi pico and ili9341. It has very good touch and graphics including "blitter" to copy screen area to buffers and paste back to screen. It's a nice implementation of ili9341 and yet another basic to learn with rpi pico RP2040 but easier to do than nextion which you have to learn... yawn. Sorry to mention it but it's interesting as RP2040 is supposed to be £3.
Runs at 250MHz loads of ram and prog mem.
I must say that the main thing which finally bothers me with ALL touch screens are the many fingerprints which must be "cleaned away" very often, otherwise the display will quickly look really "filthy" ; and I am afraid that too often cleaning will quickly scratch the surface of the display.
Last edit: Bertrand BAROTH 2022-08-01
Meanwhile I found a 5" capacitive Nextion (I hope with a glass front, less sensitive to scratch) with enclosure, but I didn't yet decide if I should or not buy it ; all the way I could re-sell the 7" resistive which doesn't correspond to my needs. If anybody is interested ... please send me a PM with Your Country (to calculate the shipment fees) to : ilikemurphyslaw@laposte.net (!)
Last edit: Bertrand BAROTH 2022-08-04
If somebody could be interested, don't forget this : After I got Your mail, I must first go to the Post Office, which is only open AM, so it may be possible that I cannot answer before 24 hours ...
Last edit: Bertrand BAROTH 2022-08-04
The final conclusion : despite of the fact that the seller answered me that the surface of the capacitive screens is made of glass (so less risk to scratch), I will stay with my mechanical switches which have the "look" of the railroad's era (1965) ; a touch screen would only make my control panel look like a contemporary smartphone (with the same dirty fingerprints ! ) and I must add here : I HATE smartphones ...
:(
End of this thread ...
Only fools never change their mind. Finally I ordered at itead.cc a CAPACITIVE 5" Nextion display (this is enough for me, the resolution is the same as for 7", 800 x 480) WITH ENCLOSURE ; since the front panel is made of glass, I can clean it to remove the fingerprints without being afraid of scratches in a poycarbonate-like windows.
Meanwhile I got my capacitive touch screen and it works fine ... Unfortunately it would not add any advantage to my layout (but visual feedback of selection and countdown in automatic mode) in comparison with mechanical switches. My idea was to use it in conjunction with a speech recognition, selecting either touch or speech mode, but the only way to get an "approximately correct" (at least, I thought it ! ) result with speech used a binary coding of commands, involving that one had to say successively a combination of 4 (or 5) "alpha" and "omega" . Only good for Star Trek !
And the worst of all : one of both circuits, which I wanted to use (and for which I had programmed an "on site" training), when connected again to the configuration tool on PC, displayed a popup window claiming that memory had been corrupted and perhaps some data lost, and "hung up" for about 15 seconds (but finally succeeded apparently in recovering). Who says that mankind produces too much garbage ?
:)
Last edit: Bertrand BAROTH 2022-09-06