aboutsummaryrefslogtreecommitdiff
path: root/Terminal Driver.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-09-08 22:47:58 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-09-08 22:47:58 +0200
commit40c69a60dd010622159486dfbc6f4989c4950d58 (patch)
treecd7bdfc1734176a5bad4367c03b093ca1a8f6288 /Terminal Driver.wiki
parentMerge branch 'master' of git.hornquist.se:git/wiki-public (diff)
downloadwiki-public-40c69a60dd010622159486dfbc6f4989c4950d58.tar.gz
wiki-public-40c69a60dd010622159486dfbc6f4989c4950d58.tar.xz
Sun, 08 Sep 2019 22:47:58 +0200
Diffstat (limited to 'Terminal Driver.wiki')
-rw-r--r--Terminal Driver.wiki110
1 files changed, 76 insertions, 34 deletions
diff --git a/Terminal Driver.wiki b/Terminal Driver.wiki
index a928543..d32929f 100644
--- a/Terminal Driver.wiki
+++ b/Terminal Driver.wiki
@@ -22,6 +22,25 @@ och PDF.
- [[https://manualzz.com/doc/17344723/hebei-jiya-electronics-gtc-16041-tr6noc--75-512-11-|Möljgt datablad]]
- http://hugo.hornquist.se/datablad/gtc-16041.pdf
+| # | Lvl | Description |
+|----|-----|----------------------|
+| 1 | | Ground |
+| 2 | | Power Logic |
+| 3 | | Power LCD |
+| 4 | | Register Select (RS)
+| 5 | | Read/Write (RW) |
+| 6 | | Enable |
+| 7 | | Data 0 |
+| 8 | | Data 1 |
+| 9 | | Data 2 |
+| 10 | | Data 3 |
+| 11 | | Data 4 |
+| 12 | | Data 5 |
+| 13 | | Data 6 |
+| 14 | | Data 7 |
+| 15 | | Backlight |
+| 16 | | Backlight |
+
Med skärmen till höger om headern.
| 4 | 7 |
@@ -33,40 +52,63 @@ Med skärmen till höger om headern.
| GND | 13 |
| PWR | 14 |
-| # | Lvl | Description |
-|----|-----|-----------------|
-| 1 | | Ground |
-| 2 | | Power Logic |
-| 3 | | Power LCD |
-| 4 | | Register Select |
-| 5 | | Read/Write |
-| 6 | | Enable |
-| 7 | | Data 0 |
-| 8 | | Data 1 |
-| 9 | | Data 2 |
-| 10 | | Data 3 |
-| 11 | | Data 4 |
-| 12 | | Data 5 |
-| 13 | | Data 6 |
-| 14 | | Data 7 |
-| 15 | | Backlight |
-| 16 | | Backlight |
-
-
-| 4 | 22 |
-| 5 | 0 |
-| | |
-| 7 | - |
-| 8 | - |
-| 9 | - |
-| 10 | - |
-| 11 | 17 |
-| 12 | 4 |
-| 13 | 3 |
-| 14 | 2 |
-| | |
-| GND | |
-| PWR | |
+| RS | 7 |
+| RW | 8 |
+| | 9 |
+| | 10 |
+| | 11 |
+| | 12 |
+| GND | 13 |
+| PWR | 14 |
+
+| EN | EN |
+
+
+RasPi pinout
+
+pin 1:
+| 3.3v | 5v |
+| 2 | 5V |
+| 3 | GND |
+| 4 | 14 |
+| GND | 15 |
+
+| 17 | 18 |
+| 27 | GND |
+| 22 | 23 |
+| 3.3v | 24 |
+| 10 | GND | Away from board
+
+| 9 | 25 |
+| 11 | 8 |
+| GND | 7 |
+| 0 | 1 |
+| 5 | GND |
+
+| 6 | 12 |
+| 13 | GND |
+| 19 | 16 |
+| 26 | 20 |
+| GND | 21 |
+
+Mapping
+
+| display | pi |
+|---------|----|
+| 4 | 22 |
+| 5 | 0 |
+| | |
+| 7 | - |
+| 8 | - |
+| 9 | - |
+| 10 | - |
+| 11 | 17 |
+| 12 | 4 |
+| 13 | 3 |
+| 14 | 2 |
+| | |
+| GND | |
+| PWR | |
== GPIO ==
- [[https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git|libgpiod]]