It was good of Anobium to include nextion into gcb but I don't like using the nextion gui.
Using ili9341 with rpi pico and mmbasic is making the ili like a nextion.
Sorry mention other OS but interesting .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My thoughts to. The pico and ili9341 as a slave just for it's graphics.
Coding pico mmbasic new to me but like you type edit and an editor and saves files in flash pages so lots of stuff to learn.
I think you would like to use a pico and mmbasic cos pico around £5, chip shortage??
pretty cheap and the basic is free and even I can get it working.
It's not the rpi pico it's the mmbasic and the glcd it supports.
I don't do c+ or python so this is my only option for this newish device.
It's not a micro pc but an ott ucontroller. Get one to try :) Price of a pint.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anything interesting as I progress and I'll let you know. Coding in tera term vt not an editor is new but found I can use notepad++ to paste code into tera term.
A forum called the back shed.
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 ... Meanwhile I found this. Concerning the prices, they are really a bargain. But I will have to "draw" all my menues using the GCB commands, so I wonder if the 9481 is not faster than the 9486, due to its parallel interfaces ? My idea is to use a second processor (the 2560 would have enough ports, but I don't like Arduinos), dedicated to the managing of the display, and communicating with the main controller via ... I don't yet know how ! So I would build my own "smart display", since I was not able to use the Nextion editor ...
Last edit: Anobium 2022-07-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Deleted ; "they" say that the system can be powered with 5 V and show schematics of a voltage regulator to get 3.3 V : this way every 3.3 V device could be powered via 5 V ; I am looking for a device REALLY running with 5 V and which does not need level adapters on the data lines ...
Now, I would despite evrything use a Nextion if somebody could explain some simple things :
- How do I associate permanently a bmp to a picture or button in the editor ?
- How can I hide or show a picture or button at runtime ?
- What are the data sent to the processor in case of a "click" on a button ?
Thanks for any answer ...
Last edit: Bertrand BAROTH 2022-07-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bertrand... Can you post new messages... editing the old posts means we dont get to see them via the feeds. Any edits are simple but we get no alerts in the feeds to any change/update.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found a Nextion demo by "Nanomesher" and "Philippe Demerliac", all this is rather tedious ! So I will probably test the model with ILI9486 (or 1) ; which would You find better, don't forget that I must draw my interface with GCBasic instructions, so the main criteria is speed ? And since most ATMega's have only one SPI, I would use the touch control in analog mode abd manage the "click" via the range of the coordinates.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you look at my YouTube videos and the Nextion demos in your install. You may find useful.
Re the ILI9486 or ILI9481 neither support touch at the moment, I cannot tell from the Ali listing if these are resistive/analog or IC based - so, Touch will have be added to your solution.
The SPI. What is the issue? If the GLCD is dedicated to handling graphics then it does not matter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, the Touch is built into the display unit. Accessed from Great Cow BASIC via the simple function call. This is in my YouTube video.. I am sure this is covered.
Last edit: Anobium 2022-07-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Take the existing ILI9486 or ILI9481 and add Touch capability.
Then, using an LGT/ ILI9486 or ILI9481 shield create a project that accepts commands via the serial port. The communications protocol will use the same methods as the Nextion ( this means Set Pixel, Lines, Fill etc etc and draw BMP). So, this LGT/ ILI9486 or ILI9481 shield would be isolated from your main microcontroller via serial.
The LGT/ ILI9486 or ILI9481 shield solution will use the Serial Buffer solution to handle the GLCD commands.
LGT/ ILI9486 or ILI9481 shield would be fast and with little load on the main microcontroller.
Yes... it would work but does it meet your needs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think You didn't look at the pinout ... The touch function has a second, independent SPI (and this would cause issues because there are not many AVR's with 2 SPI's). Look here : the ILI9481 has really no touch function, they added this feature as an "optional piggyback"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Where is the printout for the board with the glcd and touch ? They typically have a CS line so you can use one SPI.
I know this subject very well and at the moment I am guessing. I need to see the Pinout and really the IC used for Touch or verification that is is resistive.
Guessing all the time here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately I don't order on Ali, I should re-create an account, I deleted mine in the past when I noticed that, with AliPay, they kept my PayPal identifiers : a good way to get "pirated" ! There seems to be a demo (but with ESP32) here
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, but I failed in using the editor. Bad habits from the RAD languages (Delphi, VB) environments ?
I just clicked my nextion shortcut and offered an update so did. It's like a new install but works.
Old install and a new install works ok here.
I am running win10 and took all the default settings when installing.
It was good of Anobium to include nextion into gcb but I don't like using the nextion gui.
Using ili9341 with rpi pico and mmbasic is making the ili like a nextion.
Sorry mention other OS but interesting .
It would be great if you could drive the RPI PICO solution via the serial using the same APIs as the Nextion. This cannot be hard to implement.
My thoughts to. The pico and ili9341 as a slave just for it's graphics.
Coding pico mmbasic new to me but like you type edit and an editor and saves files in flash pages so lots of stuff to learn.
I think you would like to use a pico and mmbasic cos pico around £5, chip shortage??
pretty cheap and the basic is free and even I can get it working.
It's not the rpi pico it's the mmbasic and the glcd it supports.
I don't do c+ or python so this is my only option for this newish device.
It's not a micro pc but an ott ucontroller. Get one to try :) Price of a pint.
Maybe later this year. Got major projects lined up and no spare time.
Anything interesting as I progress and I'll let you know. Coding in tera term vt not an editor is new but found I can use notepad++ to paste code into tera term.
A forum called the back shed.
I can share the Great Cow BASIC methods ( subs and functions) that need to be supported. All the other Nextion stuff can be ignored.
That looks good. No driver for Great Cow BASIC but that is fixable ( see me one also and I will create the driver).
Where did the post go?
Only fools never change their mind ... Meanwhile I found this. Concerning the prices, they are really a bargain. But I will have to "draw" all my menues using the GCB commands, so I wonder if the 9481 is not faster than the 9486, due to its parallel interfaces ? My idea is to use a second processor (the 2560 would have enough ports, but I don't like Arduinos), dedicated to the managing of the display, and communicating with the main controller via ... I don't yet know how ! So I would build my own "smart display", since I was not able to use the Nextion editor ...
Last edit: Anobium 2022-07-11
Deleted ; "they" say that the system can be powered with 5 V and show schematics of a voltage regulator to get 3.3 V : this way every 3.3 V device could be powered via 5 V ; I am looking for a device REALLY running with 5 V and which does not need level adapters on the data lines ...
Now, I would despite evrything use a Nextion if somebody could explain some simple things :
- How do I associate permanently a bmp to a picture or button in the editor ?
- How can I hide or show a picture or button at runtime ?
- What are the data sent to the processor in case of a "click" on a button ?
Thanks for any answer ...
Last edit: Bertrand BAROTH 2022-07-11
You can run this at 5v. The lines are tolerant.
Have you looked at me Nextion videos on Youtube? they show how to make this work.
Bertrand... Can you post new messages... editing the old posts means we dont get to see them via the feeds. Any edits are simple but we get no alerts in the feeds to any change/update.
I found a Nextion demo by "Nanomesher" and "Philippe Demerliac", all this is rather tedious ! So I will probably test the model with ILI9486 (or 1) ; which would You find better, don't forget that I must draw my interface with GCBasic instructions, so the main criteria is speed ? And since most ATMega's have only one SPI, I would use the touch control in analog mode abd manage the "click" via the range of the coordinates.
Did you look at my YouTube videos and the Nextion demos in your install. You may find useful.
Re the ILI9486 or ILI9481 neither support touch at the moment, I cannot tell from the Ali listing if these are resistive/analog or IC based - so, Touch will have be added to your solution.
The SPI. What is the issue? If the GLCD is dedicated to handling graphics then it does not matter.
I looked here and said : forget it ... About the devices on Ali : "they" seem to have added a touch panel independenly fom the controller.
Last edit: Bertrand BAROTH 2022-07-11
No, the Touch is built into the display unit. Accessed from Great Cow BASIC via the simple function call. This is in my YouTube video.. I am sure this is covered.
Last edit: Anobium 2022-07-11
An idea to help.
Take the existing ILI9486 or ILI9481 and add Touch capability.
Then, using an LGT/ ILI9486 or ILI9481 shield create a project that accepts commands via the serial port. The communications protocol will use the same methods as the Nextion ( this means Set Pixel, Lines, Fill etc etc and draw BMP). So, this LGT/ ILI9486 or ILI9481 shield would be isolated from your main microcontroller via serial.
The LGT/ ILI9486 or ILI9481 shield solution will use the Serial Buffer solution to handle the GLCD commands.
LGT/ ILI9486 or ILI9481 shield would be fast and with little load on the main microcontroller.
Yes... it would work but does it meet your needs.
I think You didn't look at the pinout ... The touch function has a second, independent SPI (and this would cause issues because there are not many AVR's with 2 SPI's). Look here : the ILI9481 has really no touch function, they added this feature as an "optional piggyback"
Sorry, I have these GLCDs IC here.
Where is the printout for the board with the glcd and touch ? They typically have a CS line so you can use one SPI.
I know this subject very well and at the moment I am guessing. I need to see the Pinout and really the IC used for Touch or verification that is is resistive.
Guessing all the time here.
Unfortunately I don't order on Ali, I should re-create an account, I deleted mine in the past when I noticed that, with AliPay, they kept my PayPal identifiers : a good way to get "pirated" ! There seems to be a demo (but with ESP32) here
Why do we need to look at the esp code?
We have those glcd it's supported.
We have a GLCD identification program. So, it tells you the IC type.
I hoped first to find the same at another dealer but there is none, only a "fab.to.lab" in India !