Nextion an LCD the makers can benefit from... #5221
Replies: 1 comment
-
Posted at 2015-05-18 by @allObjects ...yep, for the display and control of my DIY (Marine) GPS and for some games and touch-painting... I had a small UI system going, very easy to use, very compact. But it did not include 'real' graphices, just buttons, text, checkboxes. Of course, the game stuff had some 'graphics'. If you search for LCD controller ILI9341 LCD CONTROLLER and Touch Screen you may find the posts. The biggest challenge was the speed and memory... for example, I built an alogrithm for calibrating the touch screen - btw a quite spungy resistive one. The modern, snappier ones are all capacitive now... (combined with other technologies - like Samsung phone screens with stylus - wher the stylus is recognized already from qute far and eventual touch 'point' is indicated with a white little circle... In a UI of that small size, you need to be able to quickly backup display area for a so-called overlay.... which is not really an overlay because there esists no such thing like layers... This means 2..3 bytes per pixel and FAST to backup, paint the overlay (pain over!), restore from backup (paint-over again). Since pin numbers are limited and a lot - almost all - happens within Espruino, acutual graphical data is transmitted.... and that give the memory issue and the speed challenges (I you do not want to spend GPIO pins to go at least 8-bit, better 16 bit parallel...). For font, built in fonts work faster, but the controller supports not much for that... A 'display' module like that - with built in render support for all kinds of text/gauges/graphics dsiplay, additional memory, max-parallel access - is quite a nice thing. Nothing has changed: good displays require still 'large, but still very very fast moving parts... like the 'old RAMDAC' (that had to 'feed' the guns for the 'unstoppable' electro-magnetic ray deflection coils 'in' a Cathode-Ray-Tube/CRT display... The graphics stuff showed some of the limitaitons of the hardware / connectivity setup and in which hardware component functions were (software-aly) implement. Took a closer look at Since communication has anyway to be availble practically anytime, I feel the approach of thingStud.io / @mkarliner more promising: taking advantage of the existing, very powerful communication and display infrastructure and focus on predefined, custom extendable widgets, data/package formats, and a 'easy to use' IDE to get the things composed on a purposed platform with stub and and test support / regression test support. Posted at 2015-05-18 by @gfwilliams It's definitely an interesting idea... Others have done similar things before, but it looks like this time they've managed to make the UIs look a lot better. Actually interfacing to it seems like it should be easy - but it won't involve any of Espruino's existing graphics API. As @allObjects says, I wonder whether sometimes it might actually be cheaper/easier to use a cheap phone/tablet as the user interface - and then you can use normal HTML/CSS/JS for the user interface. Posted at 2015-05-18 by d0773d
It seems like that is the better/fastest/intuitive choice. Posted at 2016-02-29 by hygy https://github.com/HyGy/Nextion I started a basic version. Feel free to bugreport, extend, etc... HyGy Posted at 2016-02-29 by hygy Yes, the phone is maybe cheeper, but eats more power. :) Posted at 2016-03-01 by the1laz @HyGy - thanks for this, definitely interested in giving this a go with espruino. Nextion + Espruino on ESP8266 + voltage regulator = instant tiny cheap wifi HMI running javascript. Posted at 2016-03-08 by d0773d @HyGy that is awesome. Maybe now I can put my nextion screens to good use :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-05-18 by d0773d
I stumbled across a touch LCD on indiegogo that sorta resembles the touch screens from 4d systems: https://www.indiegogo.com/projects/nextion-a-cost-effective-high-performance-tft-hmi
looks pretty cool and only has a few more days left. Might be of use to people here. I think @allObjects was working on a touch screen project using an Espruino for the "brain" but the post has been buried and I can't seem to find the post....
Beta Was this translation helpful? Give feedback.
All reactions