Category Archives: Nerd Stuff

LCD Display from the thrift shop

At the thrift shop I found a simple LCD screen with a serial connector, yes the good old RS-232 connector.
After some searching on the web I found the controller is a BE9324MT and the display is 4 row with 16 characters. The manufacturer of the controller still has some old manuals available for reference so that became very handy. Connecting the device to a 5v power and the computer is so easy I won’t describe it.
The interface is a simple serial connector and from Linux it is easy to communicate with the display. The following piece of bash script will send the text to the screen.

echo -n "test" > /dev/ttyS0

The controller of the display just shows the message on the screen. The -n argument tells echo not the print a newline character.

From python communicating with the display is as simple as from Linux. The serial module is default included within Python.

import serial

ser = serial.Serial(0)
ser.write("x1B&#") # Escape sequence to clear the screen
ser.write("Testing the system x7E")

And this is the result of running the python code:
LCD Display
With xNN special characters can be shown on the device. This is the hexadecimal code that can be looked up in the manual for the display driver.

It is a nice little gadget for only € 1,50 and it works very well. Now trying to find a purpose for it.

How big is Google?

What started in the late 90’s (1998 to be exact) is now a very large company that reaches probably the most amount of people worldwide. It started with their search algorithm and an interface to use the information they had stored and indexed. But now they have their own operating system (Android), a browser (Chrome) and a whole bunch of other products.

In this article I will give a short oversight of what they are doing and how all these products interconnect with each other. Also why some products are not creating money but are very important to sell their main product. While Google is really big and you can discuss if they aren’t too big they always claim to “Not do any evil”. Continue reading How big is Google?