LCD 16x2 display: text and a counter

by ourcircuits

19 parts

A Pro Mini drives an LCD 16x2 in 4-bit mode: the simulation draws "Hello, world!" and a count that goes up each second. Select the module to see its mode and its contrast. The board drives the module directly, a pin each for RS, E and four data lines, with RW tied low, and waits as long as the controller's datasheet asks at each step, so the same sketch runs a real module. The probes show E pulsing for each half-byte the board sends, and RS low for an instruction and high for a character. Open the board's sketch to follow the 4-bit start step by step.