Comments on: How to interface Nextion HMI with Arduino Mega2560 and learn how to use Nextion editor and program tags in Arduino https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/ Tue, 03 Jan 2023 12:37:36 +0000 hourly 1 https://wordpress.org/?v=6.5.5 By: Sahil Ahmad https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-471 Wed, 09 Jan 2019 18:26:53 +0000 https://blog.etechpath.com/?p=513#comment-471 In reply to siddhi.

I am also getting the same error (recvRetCommandFinished err). Getting this error wherever I am trying to write on any text box. Can you please help?

]]>
By: siddhi https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-390 Tue, 11 Dec 2018 09:19:23 +0000 https://blog.etechpath.com/?p=513#comment-390 In reply to psadminetechpath.

Thank you sir for your help.I got the output. I did small mistake in my arduino sketch that’s wahy i was unable to get the ouput on the screen.

]]>
By: siddhi https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-387 Mon, 10 Dec 2018 10:30:31 +0000 https://blog.etechpath.com/?p=513#comment-387 In reply to psadminetechpath.

arduino code:

#include
//#include
int speed1=8;
unsigned long val;
float val1;
int speed2;

void setup() {
pinMode(8,INPUT);
Serial.begin(9600);

}

void loop() {

val =pulseIn(speed1,LOW);
Serial.println(val);
val1=val*0.000001;
Serial.println(val1,4);

int speed2=0.9375/val1;

Serial.println(speed2);
Serial.print(“SPEED.txt”);

delay(1000);
}

]]>
By: psadminetechpath https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-380 Sat, 08 Dec 2018 19:36:10 +0000 https://blog.etechpath.com/?p=513#comment-380 In reply to Siddhi.

If you are getting output on serial monitor and not on nextion means there is something wrong in particular tag definition for text box. Check your code again.
Or send your code and nextion hmi file to me, i will try to help you out with the code..

]]>
By: Siddhi https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-373 Fri, 07 Dec 2018 09:18:46 +0000 https://blog.etechpath.com/?p=513#comment-373 Hello, actually I am having doubt for the arduino and nextion screen display .
I am getting the input on the digital pin of arduino and by using pulse in function I am calculating the time period of the pin being low.
And then I have a formula in which I placed that time value and the answer of the formula needs to be displayed on the nextion screen. I have used text box for that and programed according t that but I am not getting the value on the screen but getting on the serial monitor of arduino. So can you help me out. Thank you.

]]>
By: psadminetechpath https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-341 Sun, 25 Nov 2018 03:06:59 +0000 https://blog.etechpath.com/?p=513#comment-341 In reply to John Hoffman.

Can you copy paste your error here .. i will try to rectify the problem ..

]]>
By: John Hoffman https://blog.etechpath.com/how-to-interface-nextion-hmi-with-arduino-mega2560-and-learn-how-to-use-nextion-editor-and-program-tags-in-arduino/comment-page-1/#comment-313 Mon, 19 Nov 2018 00:57:22 +0000 https://blog.etechpath.com/?p=513#comment-313 I am using Nextion basic 5″ and Arduino MEGA 2560 Rev3

I watched the video and copied the code and download HMI ( had to change device to 5″)

Outputs are not changing state and I get the output window below. ( Not sure why I would be getting the multiple “err”‘s )

recvRetCommandFinished err
recvRetCommandFinished err
setup done
[1694:0,2,bt0]
Callback
ptr=1694
recvRetNumber err

]]>