The displays model 8887-Display WiFi Serial for Arduino Raspberry(*)
and 8888-Display RS485 ModBus MQTT
can be controlled via the RS232 serial interface
in the very simple way explained below; the serial
interface is included even on the simplest models of Arduino or Raspberry, and a thousand other controllers have it, it is of immediate use (eg Serial.print()
), and therefore using 8888 or 8887 via serial is a fast and inexpensive to add a large display to your Arduino, Raspberry, ESP projects or whatever it is.
Quick resume, 8888-Display can be controlled with:
You do not need all the wires of the SERIAL connection but it is sufficient to connect the TX output of your device (to RX), and GND. They must be connected either to RX / GND circuit pads for the RAW version (TX to RX; GND to GND), or to the terminals, or, when present, to the 3.5mm DC plug (internal TX / R external GND).
It is then obviously needed to check that the BAUD speed setting is the same both for your transmitter device (PC, Raspberry, Arduino, etc.) and for the 8888-Display.
The configuration of the 8888-Display baud rate is done by connecting to the internal WiFi (wfeasy.com) and to the internal website (wfeasy.com) and choosing from the drop-down menu on the Settings page.
Generally each command is a string that begins with the requested command as the first Char, continues with a text or a number in ASCII characters, and ends with the ASCII character LF or # 10, or 10 decimal, or \n in the conventional representation in C and many other programming languages (in the examples in the following commands we will use the latter convention, ie for example \2 means the ASCII character # 2 or decimal 2).
Command 12 (#12 o \12 o 0x0c)
Shows the string on the display, scrolling if the length of the string is greater than the available characters.
Shows Hello guys! with automatic continued scrolling
Shows Hello guys! with scrolling, one time
Command 11 (#11 o \11 o 0x0b)
It shows the string on the display, scrolling if the length of the string is greater than the available characters, once, then returns to showing what it was previously showing. The string is max 252 characters.
Shows Hello girls! with scrolling, one time, then come back to the previous display function
Command 2 (#2 o \2)
It shows on the display a timer in seconds.hundredths, starting from the hundredth supplied in input.
Starts and displays a timer starting at 00.00
Starts and displays a timer starting from 00.12
Stop the timer at the time reached.
Stop the timer at 12.34
Command 3 (#3 o \3)
Puts the display in clock mode, setting the time if necessary.
Starts the clock at 12.30 and displays the clock from now on.
From now on it displays the clock.
Command 4 (#4 o \4)
Set the brightness (or max brightness), the number goes from 0 to 100.
Set the brightness (or max brightness) to 90.
Activate automatic brightness control.
Deactivate automatic brightness control.
Command 5 (#5 o \5)
Set the scrolling speed in hundredths of a second (default 25; minimum 5; step 5)
Set the scrolling to 40 hundredths of a second.
Example of Arduino or ESP program to write something on 8888-Display
Program section to write "8765" on the display:
Serial.begin(19200); //initialize serial at 19200 baud; or 115200 or other
Program section to write "hello beautiful world!" on the display (with scrolling):
//initialize serial like above, then
Serial.print('\12'+"hello beautiful world!\n");
Program section to write the numeric variable on the display num:
//initialize etc, then
Program section for setting the display brightness to 100:
//initialize etc, then
Here are the quick manuals for some other products:
(C) 2020 VisualVision