"Smart" LCD module? 2.4" HMI Intelligent Smart USART Serial TFT LCD Module Display w/ Touch Panel
-
Would this 2.4" HMI Intelligent Smart USART Serial TFT LCD Module Display w/ Touch Panel be something that I could combine with Mysensors?
-
@Cliff-Karlsson I'm not sure, but it should be possible. I'd be interested if it's possible. I'd also like to know what they mean with program data can be stored on the SD card? I'm guessing that it'll be something like data logging, images e.t.c. Looks very promissing to me. Could be just the screen I'm looking for, for a scene controller.
It looks like all the GUI is programmed into the screen, that will save you a lot of memory on the arduino. To more I read, to more I want to have it. Take a look at this https://github.com/itead/ITEADLIB_Arduino_Nextion That was the first link I found. Not sure if it is a good library for the particular screen.
Have a look at their Wiki. http://wiki.iteadstudio.com/Tutorial See the last part of the page and there might be your answer.
-
@Cliff-Karlsson I've been looking at these too, really like the editor idea.
Spotted this review/info
http://tronixstuff.com/2015/05/23/review-nextion-tft-human-machine-interface/I was looking at the 3.2" Model which seemed the sweet spot price wise, seems to double in price when you go upto the 4.3"
-
I was thinking about making a couple of small "interactive" wall-lightswitches using a few of the smaller screens. But I don't understan how I would link the screens to an arduino.
How would I for example switch a relay connected to an arduino by clicking a button on the screen?
-
The screens communicates with Serial to your Arduino in both directions, from there you can do whatever you like/want.
-
I am not very experienced at this kind of things but how would a psudo code snippet look for a simple button press on the screen look like to have it light up a led that is connected to an arduino pin ?
How would the code look like both on the screen and on the arduino ?
-
@Cliff-Karlsson There's an example here: http://blog.iteadstudio.com/product-preview-nextion-in-an-arduino-project-3/
Cheers
Al
-
It looks really easy. I don't know enough about interrups on the Arduino to tell how easy it is to embed this into a MySensor sketch. If the sketch is in a gw.sleep, you have to be able to wake up from the sleep if data on the serial line is available - with this I mean a button press on the screen. I don't know any other way than in interrupt, but I can't tell how you can put in Intterupt on the serial communication. Curious about how to do this.
-
Why would you want to sleep the arduino when there is a display attached to it...doesn't make much sense.
-
@ericvdb the only thing I can think of is power saving. I'd like it of I can turn on the display from my domotica controller and be able to turn it of when I no longer need it. But in those case you'll probably wouldn't get any serial data from the display anyway.
-
I am going to pull the trigger and buy one of the screens, but before I order do I need anything else like special cables or other things to connect the screen to the PC for programming. And nothing fancy is needed to connect the screen to an arduino?
-
@Cliff-Karlsson Hi Cliff, I ordered one a few days ago and as far as I understand, the only other thing you need is an sd card to transfer the design from the editor/pc to the display. You can connect with an ftdi adapter, but it's much faster using the sd card. The cable to connect it to an arduino is included.
Cheers
Al