Degrees Symbol for K3NG Rotator Controller Nextion

Discussion about orbiting satellite, and balloon launches
Post Reply
User avatar
VK4GHZ
Forum Diehard
Posts: 1957
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Degrees Symbol for K3NG Rotator Controller Nextion

Post by VK4GHZ » Tue Jun 30, 2020 5:20 pm

This video shows how you can get the degrees symbol ° on the K3NG Rotator Controller's Nextion touchscreen.

It's a simple matter of editing four lines of code in the main .ino file.

Get you Arduino programming leads out!



https://www.youtube.com/watch?v=UgwZdDvqZSc

Cheers,
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

How to quit Facebook: https://www.consumerreports.org/social- ... -facebook/

User avatar
VK4GHZ
Forum Diehard
Posts: 1957
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: Degrees Symbol for K3NG Rotator Controller Nextion

Post by VK4GHZ » Thu Jul 09, 2020 9:40 pm

Following on from the previous bug report, one issue, easily overlooked by those not entirely familiar with the Nextion display, has been identified that can easily cause grief,

Along with creating fonts with iso-8859-1 encoding, make sure when setting up your Nextion HMI project in the Nextion Editor, that the character encoding type is also set to the corresponding encoding of iso-8859-1.

Nextion-Programming-ISO8859-1_800.png
Also, the degree symbol in the vSS1 Status string wasn’t quite right.

eg: when parking:

Nextion-Degree-Symbol2.jpg

This is easily fixed by editing line #211 in rotator_settings.h.

Change the xDF to xB0 (bravo zero).

NextionDegreesvSS1.PNG
NextionDegreesvSS1.PNG (10.35 KiB) Viewed 141 times
And the degree symbol will be correctly displayed, as such:

Nextion-Degree-Symbol.jpg

The K3NG rotator controller is a fantastic project for anyone looking to automatically control their rotators/positioners (ie; for satellites, EME), and offers many human interface options, such as a touch screen, LCDs and switches, etc.

Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

How to quit Facebook: https://www.consumerreports.org/social- ... -facebook/

Post Reply