From: BenediktO Date: Sun, 13 Oct 2019 13:18:32 +0000 (+0200) Subject: hd44780: Add 9 additional dumps X-Git-Url: http://sigrok.org/gitweb/?p=sigrok-dumps.git;a=commitdiff_plain;h=6ace47bfe142d32d04e93cdc730d3aebb7b5338d hd44780: Add 9 additional dumps --- diff --git a/display/hd44780/README b/display/hd44780/README index 9dc2e29..1662636 100644 --- a/display/hd44780/README +++ b/display/hd44780/README @@ -11,8 +11,8 @@ means that data gets communicated on lined D4-D7 only, and D0-D3 are not connected. -Logic analyzer setup --------------------- +Logic analyzer setup (hd44780-reset-init-hello.sr) +-------------------------------------------------- The capture was taken with an ASIX Sigma2 logic analyzer, sampling 8 logic channels at a rate of 50MHz: @@ -29,8 +29,8 @@ logic channels at a rate of 50MHz: 8 D7 -Data ----- +hd44780-reset-init-hello.sr +--------------------------- See https://en.wikipedia.org/wiki/Hitachi_HD44780_LCD_controller for a list of display controller commands, and especially the 'Mode Selection' @@ -49,3 +49,122 @@ can extract the most basic information: Clock on E (falling edge), D4-D7 of the display corresponds to D0-D3 of the decoder (D4-D7 of the decoder are not connected). Words consist of 8 bits (span 2 bus cycles), and are in big endian format. + + +Logic analyzer setup (other files) +---------------------------------- + +The capture was taken with a Saleae Logic clone (mostly at 200kHz): + + Probe HD44780 + ------------------- + 1 RS (selects "commands" and "display data" mode) + 2 E (enable, falling edge clocks data transfers) + 3 D4 (data lines...) + 4 D5 + 5 D6 + 6 D7 + + +hd44780-blink.sr +---------------- + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - write "hello, world!" + - toggle blinking every 3 seconds + + +hd44780-cursor.sr +----------------- + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - write "hello, world!" + - toggle cursor every 0.5 seconds + + +hd44780-customcharacter.sr +-------------------------- + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - define special characters: heart, smiling face, unhappy face, stickman + with arms low, stickman with arms up + - write "I {heart} Arduino {smiling face}" and " {stickman with arms low}" + - toggle second line between " {stickman with arms low}" and + " {stickman with arms up}" about (!) every 0.9 seconds + + +hd44780-font.sr +--------------- + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - define special characters: heart, smiling face, unhappy face, stickman + with arms low, stickman with arms up + - every about 250ms a set of 2 * 16 characters are written to the display, + starting at 0 + + +hd44780-power.sr +---------------- + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - write "hello, world!" + - toggle display power every 0.5 seconds + + +hd44780-shift.sr +---------------- + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - write "hello, world!" + - repeats: + - shift text to the left until it is outside the view + - shift text to the right until it is outside the view + - shift text to the left until it is where it was before shifting + + +hd44780-shiftcursor_204.sr +-------------------------- + +This is what the decoded data should look like: + + - initialization + - write "hello, world!" + - using cursor shifts it replaces the ! by ?, w by W and h by H, so it is + "Hello, World?" in the end + + +hd44780-textdirection.sr +------------------------ + +Arduino firmware based on the LiquidCrystal example Arduino Sketch. + +This is what the decoded data should look like: + + - initialization + - write "abcdefghijklm" + - continue to the left until "s" + - continue to the right until "z" diff --git a/display/hd44780/hd44780-blink.sr b/display/hd44780/hd44780-blink.sr new file mode 100644 index 0000000..403966c Binary files /dev/null and b/display/hd44780/hd44780-blink.sr differ diff --git a/display/hd44780/hd44780-cursor.sr b/display/hd44780/hd44780-cursor.sr new file mode 100644 index 0000000..2e5b1f8 Binary files /dev/null and b/display/hd44780/hd44780-cursor.sr differ diff --git a/display/hd44780/hd44780-customcharacter.sr b/display/hd44780/hd44780-customcharacter.sr new file mode 100644 index 0000000..7ca62a8 Binary files /dev/null and b/display/hd44780/hd44780-customcharacter.sr differ diff --git a/display/hd44780/hd44780-font.sr b/display/hd44780/hd44780-font.sr new file mode 100644 index 0000000..e0d4dc2 Binary files /dev/null and b/display/hd44780/hd44780-font.sr differ diff --git a/display/hd44780/hd44780-power.sr b/display/hd44780/hd44780-power.sr new file mode 100644 index 0000000..6935ea5 Binary files /dev/null and b/display/hd44780/hd44780-power.sr differ diff --git a/display/hd44780/hd44780-scroll.sr b/display/hd44780/hd44780-scroll.sr new file mode 100644 index 0000000..c56965b Binary files /dev/null and b/display/hd44780/hd44780-scroll.sr differ diff --git a/display/hd44780/hd44780-shiftcursor.sr b/display/hd44780/hd44780-shiftcursor.sr new file mode 100644 index 0000000..cf41c0a Binary files /dev/null and b/display/hd44780/hd44780-shiftcursor.sr differ diff --git a/display/hd44780/hd44780-test_204.sr b/display/hd44780/hd44780-test_204.sr new file mode 100644 index 0000000..2035ccc Binary files /dev/null and b/display/hd44780/hd44780-test_204.sr differ diff --git a/display/hd44780/hd44780-textdirection.sr b/display/hd44780/hd44780-textdirection.sr new file mode 100644 index 0000000..1ad5be5 Binary files /dev/null and b/display/hd44780/hd44780-textdirection.sr differ