Unofficial Nextion/TJC User Forum

Radio interface and double (triple sometimes) clic problem

Hello
I am trying to use my radio using a nextion screen.
The thing is that the interface is quite simple except for the frequency control using arrows

It just needs to sens simple comands such us XBA for Am, XBU for upper side band and so on
I had to make a ttl to 232 adapter.
Now radio is connected to the interface but… i have to press the keys 2 or three times in order to send the command.

The nextion Only uses the tx cable so inplugged the rx into an arduino to see on the console if i get an error message. The thing is that apparently it only gets the confirmation code and no error, that is the previos clics make no actual “contact” with the radio

Here is an example of the key “CW” MORSE band

b3.bco=65504
b3.bco2=23770
b3.pco=0
b3.pco2=65535
b0.bco=23770
b0.bco2=65504
b0.pco=65535
b0.pco2=0
b1.bco=23770
b1.bco2=65504
b1.pco=65535
b1.pco2=0
b2.bco=23770
b2.bco2=65504
b2.pco=65535
b2.pco2=0
print “XBC”
printh 0d
printh 0a
mode.val=3

image

Any hint??

Thank you

I came across that some wires did not have a solid contact. I soldered and the screen just works 100%


This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).