"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'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?
-
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 ?
-
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?
-
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