Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - LDMICRO + PANTALLA NEXTION TFT COMUNICACION

(you are viewing a thread; or go back to list of threads)

LDMICRO + PANTALLA NEXTION TFT COMUNICACION (by david flores sotelo)
HOLA QUE TAL ESTOY REALIZANDO UN PROYECTO CON LDMICRO Y PANTALLA NEXTION TFT Y NO PUEDO RECONOCER LOS DATOS QUE ENVIA LA PANTALLA A MI ARDUINO MEGA,
LA PANTALLA ENVIA:

BOTON1= 0X65 0X00 0X01 0X01 0XFF 0XFF 0XFF

BOTON2= 0X65 0X00 0X02 0X01 0XFF 0XFF 0XFF
Mon Aug 21 2017, 23:10:45
(no subject) (by david flores sotelo)
HELLO THAT I AM MAKING A PROJECT WITH LDMICRO AND SCREEN NEXCION TFT AND I CAN NOT RECOGNIZE THE DATA THAT SENDS THE SCREEN TO MY MEGA ARDUINO,
THE SCREEN SENDS:

BUTTON1 = 0X65 0X00 0X01 0X01 0XFF 0XFF 0XFF

BUTTON2 = 0X65 0X00 0X02 0X01 0XFF 0XFF 0XFF

I attach the LDMICRO code for communication tests
Mon Aug 21 2017, 23:14:11, download attachment ld.png
(no subject) (by MGP)
It's not as easy as you think.

Here you can see what the returned dat means.
Look in de helpfile:
https://www.itead.cc/wiki/Next...t#Format_of_Device_Return_Data

You have to check if the data is new AND ends with 3 0xff
Tue Aug 22 2017, 03:12:55, download attachment Snap261.jpg
solucion (by david flores sotelo)
hola pude enviar estos datos por el puerto serie con ldmicro pero hay un problemita que no se como solucionar

n1.val=:23ÿÿÿ n1.val=:23ÿÿÿ n1.val=:23ÿÿÿ n1.val=:23ÿÿÿ n1.val=:23ÿÿÿ

si lo notas los datos estarian casi bien si no fuera lor los dos puntos en la linea de datos n1.val= : 23ÿÿÿ mi pregunta abra alguna forma de quitar esos 2 puntos
Mon Aug 28 2017, 03:25:42
(no subject) (by MGP)
You have to give us more information.

I work a lot with LDmicros uart but I can't figure it out what you are trying to say and it's not the Spanisch language I have problems with.

Note that all the incoming values are in hex not ascii.
Mon Aug 28 2017, 07:03:47
help (by david flores sotelo)
I need not appear in the print on the serial port what is inside the red box
Tue Aug 29 2017, 23:10:34, download attachment puntos.png
(no subject) (by MGP)
That's the same answer as above, are those data that was sent by LDmicro and received by the LCD?

We do not have a cristal ball to look into ;-)

Post your LD program so we can see how you work.
Wed Aug 30 2017, 03:15:43
(no subject) (by david flores sotelo)
Hello, what happens is that I need the serial pueto send data in this way n1.val = 100ÿÿÿ but send this way n1.val =: 100ÿÿÿ is to send to a nextion screen from an arduino I have already been able to communicate the screen With the arduino and do turn on and off leds with the screen using LDMICRO for the code

Load the code in arduino and then open arduino ide and with the monitor monitor verifies the data sent
Wed Aug 30 2017, 13:09:03, download attachment seriel lcd.ld
(no subject) (by david flores sotelo)
MONITOR SERIE
Wed Aug 30 2017, 13:10:44, download attachment 25.png
(no subject) (by MGP)
This is because you send a 4digit number(A1 >=1000) in 3 decimals, read the manual on this.

I added rung 9 to prevent this.
You can also change the /3 in /4, this works also.
Wed Aug 30 2017, 15:02:11, download attachment seriellcd_V2.ld
(no subject) (by JJCS)
pudieron comunicar la lcd nextion con el ldmicro en arduino ...como hacer para enviar y recibir datos necesito alguna ayuda porfa.
Fri Sep 28 2018, 01:46:31
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):