Hobbytronics GPIO Breakout Board v2.1
(SPI or GPIO based 4-bit Parallel LCD Interfaces + Serial Port)
Contents
Breakout Board Components
As supplied:1 |
|
|
|
Fitted to a low-cost PCB circuit board:2 |
|
|
|
SPI 4-bit Parallel LCD Interface + Serial Port, Version 1 (MCP23S08-based)
|
|
|
|
|
|
|
|
lcd_spi4b_demo.c Version 0.01 {Exp}, [14/11/2014], (c) F_Trevor_Gowen <--| Package i2c_spi_chips_0.0 |--> Usage lcd_spi4b_demo [Options] Options: -a arg_filename[.arg], -E {Echo command-line arguments}, -0802 {LCD display type 0802}, -1602 {LCD display type 1602 - default}, -2004 {LCD display type 2004}, -BLn {BackLight mode n: n=0,1,2 or 3, default 2}, -IG {Initialise used gpio's & Gpio readall}, -P {Preload lcd iface}, -ST {Strobe Test*}, -WDT {Write Data Test*}, -WRT {Write Register Test*}, {*NB: LED Test board req'd with -S}, -CH {Clear display & return Home - implies -W}, -F4T {Func set init 4-bit Test - implies -W}, -WMT {Write Message Test - implies -W}, -Q {Quiet - default}, -S {use System call methods** - default}, -T {using LED Test board}, -V {Verbose}, -W {use Wiring pi spi methods}, -X {eXecute demonstration}. ** NB: Uses "sudo echo ..." to the SPI device!
SPI 4-bit Parallel LCD Interface + Serial Port, Version 2 (74HC595-based)
|
|
|
|
|
|
|
|
|
|
|
lcd_spi4bV2_demo.c Version 0.01 {Exp}, [15/11/2014], (c) F_Trevor_Gowen <--| Package i2c_spi_chips_0.0 |--> Usage lcd_spi4bV2_demo [Options] Options: -a arg_filename[.arg], -E {Echo command-line arguments}, -0802 {LCD display type 0802}, -1602 {LCD display type 1602 - default}, -2004 {LCD display type 2004}, -BLn {BackLight mode n: n=0,1,2 or 3, default 2}, -IG {Initialise used gpio's & Gpio readall}, -P {Preload lcd iface}, -ST {Strobe Test*}, -WDT {Write Data Test*}, -WRT {Write Register Test*}, {*NB: LED Test board req'd with -S}, -CH {Clear display & return Home - implies -W}, -F4T {Func set init 4-bit Test - implies -W}, -WMT {Write Message Test - implies -W}, -Q {Quiet - default}, -S {use System call methods** - default}, -T {using LED Test board}, -V {Verbose}, -W {use Wiring pi spi methods}, -X {eXecute demonstration}. ** NB: Uses "sudo echo ..." to the SPI device!
GPIO only, Parallel LCD Interface + Serial Port
|
|
|
|
|
|
|
|
|
|
pi@raspiP3Bplus18:~/i2c_spi_chips-0.0 $ ./src/lcd_gpio4b_demo lcd_gpio4b_demo.c Version 0.03 {Exp}, [18/05/2018], (c) F_Trevor_Gowen <--| Package i2c_spi_chips_0.0 |--> Usage lcd_gpio4b_demo [Options] Options: -a arg_filename[.arg], -E {Echo command-line arguments}, -0802 {LCD display type 0802}, -1602 {LCD display type 1602 - default}, -1604 {LCD display type 1604}, -2004 {LCD display type 2004}, -BLn {BackLight mode n: n=0,1,2 or 3, default 2}, -BLT {BackLight Test - implies -W}, -CH {Clear display & return Home - implies -W}, -F4T {Func set init 4-bit Test - implies -W}, -IG {Initialise used gpio's & Gpio readall}, -P {Preload lcd iface}, -ST {Strobe Test*}, -WDT {Write Data Test*}, -WLT {Write Line info. Test - implies -W}, -WMT {Write Message Test - implies -W}, -WRT {Write Register Test*}, -W80T {Write 80 characters Test - implies -W}, {*NB: LED Test board req'd with -S}, -Q {Quiet - default}, -S {use System call method - default}, -T {using LED Test board}, -V3 {using 3.3V LCD}, -V5 {using 5.0V LCD - default}, -V {Verbose}, -W {use Wiring pi "byte write" method}, -X {eXecute demonstration}. Check1: Fri May 18 14:01:26 2018 Check2: 14:01:28