OLED SSD1306 and special characters (e.g. degree)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
cvoid
New user
Posts: 7
Joined: 02 Apr 2017, 18:49

OLED SSD1306 and special characters (e.g. degree)

#1 Post by cvoid » 17 May 2017, 14:29

Hi Folks,

I flashed my NodeMCU v1 with the ESPEasy_R120 firmware and connected my OLED Display.

Everything is working fine except for special characters.

I use mqtt to send data to to the board but the degree symbol isn't displayed properly.

I've read here https://www.letscontrolit.com/forum/vie ... 2284#p2284 I need to alter the _P023_OLED.ino and did it.

I reflashed the firmware but "@" is not displayed as "°" , do i need to recompile the binary? If yes, help is appreciated.

Thanks in advance!

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: OLED SSD1306 and special characters (e.g. degree)

#2 Post by costo » 18 May 2017, 03:11

cvoid wrote: 17 May 2017, 14:29
I've read I need to alter the _P023_OLED.ino and did it.

I reflashed the firmware but "@" is not displayed as "°" , do i need to recompile the binary? If yes, help is appreciated.
If you make any change in (one of) the source files, then indeed you have to compile the source again either to a binary file or flash it directly using the Arduino IDE 1.6.5
add this line in the preferences in the Additional Board Managers URL´s field :
http://arduino.esp8266.com/stable/packa ... index.json
then install the ESP8266 plugin ver. 2.3 found in the Boards manager
Also add the libraries found in the zipped sourcefile
Then you should be able to compile yourself.

There is enough information to be found on the web on how to setup the Arduino IDE and libraries.

Nonsense
New user
Posts: 3
Joined: 06 Apr 2017, 20:31

Re: OLED SSD1306 and special characters (e.g. degree)

#3 Post by Nonsense » 20 May 2017, 23:51

If you are using the old framed plugin, you can put ° in task option lines to display the degree sign, without any modification of the files.

zamzon37
Normal user
Posts: 12
Joined: 06 Aug 2017, 19:38

Re: OLED SSD1306 and special characters (e.g. degree)

#4 Post by zamzon37 » 16 Aug 2017, 07:41

Hi

You say you send data to the display with MQTT,
What is the command to send data the the ESP?

I have a OLED SSD1306 display and I'd like to display text and numbers Published from my openhab2,
Like "window is open" or "setpoint is at 23C"

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: OLED SSD1306 and special characters (e.g. degree)

#5 Post by Shardan » 16 Aug 2017, 13:56

costo wrote: 18 May 2017, 03:11 If you make any change in (one of) the source files, then indeed you have to compile the source again either to a binary file or flash it directly using the Arduino IDE 1.6.5
add this line in the preferences in the Additional Board Managers URL´s field :
http://arduino.esp8266.com/stable/packa ... index.json
then install the ESP8266 plugin ver. 2.3 found in the Boards manager
Also add the libraries found in the zipped sourcefile
Then you should be able to compile yourself.

There is enough information to be found on the web on how to setup the Arduino IDE and libraries.
A complete Howto for using Arduino IDE can be found in the ESPEasy Wiki.
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 105 guests