[FrontPage] [TitleIndex] [WordIndex

Hobbytronics GPIO Breakout Board v2.1

(I2C and Low-voltage SPI Interfaces)


Schematic and Build steps

Schematic:

I2CandLVSPIx2.png

Build steps

P1000925cs.JPG

P1000928rcs.JPG

P1000931rcs.JPG

P1000933rcs.JPG

Preliminary Testing (LV SPI)

(Initially using this LED Test Board)

P1000936rcs.JPG

P1000937rcs.JPG

P1000939rcs.JPG

P1000941rcs.JPG

Final Tests (LV SPI)

spi_glcd_demo.c Version 0.05 {Exp}, [25/01/2015], (c) F_Trevor_Gowen
                <--| Package i2c_spi_chips_0.0 |-->
Usage spi_glcd_demo  [Options]
Options: -a arg_filename[.arg],
         -xpm xpm_filename[.xpm] (for 48x84 rotated graphic),
         -BB  {use Bit-Banged** spi interface},
              {**NB: Prefix with sudo - root privileges reqired!},
         -FS  {use Full Spi interface - default},
         -E   {Echo command-line arguments},
         -IG  {Initialise used gpio's & Gpio readall},
         -RI  {Reset & Initialise display - implies -W},
         -RT  {Reset pulse Test^^},
         -CH  {Clear Home - implies -W},
         -inverse {INVERSE display - implies -W},
         -normal  {NORMAL display - default, implies -W},
         -SCn {Set Contrast level n, 0<=n<=8 - implies -W},
         -SOT {Shift Out Test^^   - implies -BB},
         -WCT {Write Command Test - implies -W},
         -WDT {Write Data Test    - implies -W},
         -WFT {Write direct Font data Test - implies -W},
         -WGT {Write Graphics image data Test - implies -W},
         -WMT {Write Message Test - implies -W},
              {^^ NB: LED Test board req'd with -S},
         -Q   {Quiet - default},
         -S   {use System call methods - default},
         -T   {using LED Test board},
         -V   {Verbose},
         -W   {use Wiring pi methods},
         -X   {eXecute demonstration}

spi_glcd_demo -FS -WMT -X
P1010019rcs.JPG
sudo spi_glcd_demo -BB -WMT -X

spi_glcd_demo -FS -WFT -X

P1000962cs.JPG
P1000963rcs.JPG

P1000964rcs.JPG
P1000965rcs.JPG

spi_glcd_demo -FS -WFT -X
P1000966rcs.JPG
sudo spi_glcd_demo -BB -WFT -X

spi_glcd_demo -FS -inverse -X
P1000968rcs.JPG
sudo spi_glcd_demo -BB -inverse -X

spi_glcd_demo -FS -WGT -X
P1000969rcs.JPG
sudo spi_glcd_demo -BB -WGT -X

spi_glcd_demo -FS -WGT -X -xpm ./GDTST48x84_mtpaint.xpm
P1000970rcs.JPG
sudo spi_glcd_demo -BB -WGT -X -xpm ./GDTST48x84_mtpaint.xpm

spi_glcd_demo -FS -WGT -X -xpm ./arrow_mtpaint.xpm
P1000971rcs.JPG
sudo spi_glcd_demo -BB -WGT -X -xpm ./arrow_mtpaint.xpm

I2C Oled Display Tests

undercon.png

pi@raspibplus16Gb ~/i2c_spi_chips-0.0 $ ./src/oled_i2c_demo
oled_i2c_demo.c Version 0.01 {Exp}, [22/05/2015], (c) F_Trevor_Gowen
                <--| Package i2c_spi_chips_0.0 |-->
Usage oled_i2c_demo  [Options]
Options: -a arg_filename[.arg],
         -E   {Echo command-line arguments},
         -I   {Inquire about i2c devices},
         -CH  {Clear display & return Home},
         -ID  {Initialise Display},
         -inverse {INVERSE display},
         -normal  {NORMAL display - default},
         -oled128 {use oled128 font - default},
         -oled256 {use oled256 font},
         -Q   {Quiet - default},
         -RC  {Reset Contrast},
         -S   {use System call methods - default},
         -TD  {Test Display},
         -V   {Verbose},
         -WFT {Write Font bytes Test},
         -W   {use Wiring pi i2c methods},
         -PG  {use PiGpio i2c methods**},
              {**NB: requires sudo "prefix"! },
         -X   {eXecute demonstration}.

P1010441cs.JPG
oled_i2c_demo -ID -X

P1010276rcs.JPG

P1010424cs.JPG

P1010425rcs.JPG

P1010429cs.JPG

P1010430cs.JPG

P1010439rcs.JPG

P1010440cs.JPG

P1010442cs.JPG

P1010443rcs.JPG

All Four Displays Working

P1010465rcs.JPG



2018-06-16 20:24