Start a new topic

Nextion and Arduino

When are we going to get some real how to videos?


Like what do i put in the "user code" on touch release event to send even a number like "102" so then the Arduino can do something if it receives that command number.


I have not even found a real howto on even the example's that are only 1 min or so long even the button example file for the arduino does not have the nextion file with it????


6 people like this idea

The video is on the go.

When? next week. 


Here's the quick start guide.

http://wiki.iteadstudio.com/Nextion_Editor_Quick_Start_Guide

THIS! can you make some tutorial about how to connect the display to NEXTION? it is not so newbie friendly,man.


1 person likes this

@Hau Harry 

Nextion is a display. Which display do you want to connect to Nextion? :-) 

oops,my fault.i mean how to connect to arduino and how to work with nextion.


1 person likes this

It takes some time to understand but you can get everything to work! What are you trying to do?

a clock or maybe some pic viewer but my nextion is dead.http://support.iteadstudio.com/support/discussions/topics/1000061579/page/last#post-1000132671


Like what do i put in the "user code" on touch release event to send even a number like "102" so then the Arduino can do something if it receives that command number.


It's easy. 

1. put a button into your screen: http://wiki.iteadstudio.com/Nextion_Editor_Quick_Start_Guide#Button

2. Click your button, you can see the "Touch Press Even","Touch Release Even" ? http://wiki.iteadstudio.com/Nextion_Editor_Quick_Start_Guide#Main_Interface

---- Try use the even to jump to other page or sent out what you need (http://wiki.iteadstudio.com/Nextion_Instruction_Set)

I feel the same way, very little explanation...... I have been poking around with there Arduino & have got a 2.4 screen working with 5 buttons (Home Automation). It basically has a light button & 4 buttons to control a ceiling fan, its early days but I got it working :).

I have a pic of the screen & a video of it working (see below).

 



3gp

3 people like this

How do you hook it up to the arduino UNO?

I am using a nano at the moment (5v, gnd, D0/Tx, D1/Rx), but it should be the same for the UNO, just work out the equivalent pins.

1 person likes this

NEXTION with UART connection to EDITOR has been explained.

Nothing however how to connect to Arduino (hardawre/Software).

A video with no spoken comments and fast clicks is not doing the job.

Step by step Tutorial will boost your business for Arduno customers.

Seems you are hard pushing the busines with tons of propaganda and the full documentation is not ready for publishing yet.

Your help will be highly apreciated.  Regards, Gerry


5 people like this

Hi,you can see the User manual here:

http://support.iteadstudio.com/discussions/topics/1000065323


thanks!

Matt, you would please share your project files with us?

Hi,


I am using the following method to intercept press events:


void loop() {

 while (Serial.available()) {

  if (charflag) {

   UN = 1000;

   delay(5);

   char1 = Serial.read();

   delay(5);

   char2 = Serial.read();

   delay(5);

   char3 = Serial.read();

   DecodeStr = "";

   DecodeStr = String(char1) + String(char2);

   UN = DecodeStr.toInt();

   Serial.print(" UN = ");

   Serial.println(UN);

   Serial.println("******************************************");

   Serial.flush();

   charflag = 0;

  }

  else

  {

   char1 = Serial.read();

   if (char1 == 0x65) charflag = 1;

  }

  switch (UN)

   if (doStop == false)

   {

  case 1: // Page0 press open Main Menu

   UN = 500;

   // ....add your case values here

   break;

   //...... some more cases

   }

}