Skip to content
Snippets Groups Projects
Unverified Commit 7ec8f9a6 authored by minute's avatar minute
Browse files

oled: restore SSD1306 lib

parent 336af8ac
No related branches found
No related tags found
No related merge requests found
MIT License
Copyright (c) 2018 Michael Teeuw
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# KiCad-SSD1306_OLED-0.91-128x32
These are the KiCad files I create for the I2C SSD1306 0.91" 128x32 OLED display i used in my [Electrocard](http://michaelteeuw.nl/tagged/electrocard). I included a step file which can be used in a 3D rendering.
The absolute cumbersome and awful way of KiCad to manage libraries probably results in a wrongly setup directory or file structure for this KiCad part. Feel free to send a PR if it turns out it needs a different structure.
\ No newline at end of file
(module OLED-0.91-128x32 (layer F.Cu) (tedit 58CFEB7B)
(fp_text reference REF** (at 1.778 -1.016) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value OLED (at 4.064 6.858) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 26 0) (end 26 11.5) (layer F.SilkS) (width 0.1))
(fp_line (start 24.48 2.1) (end 24.48 7.68) (layer F.SilkS) (width 0.1))
(fp_line (start 2.1 7.68) (end 24.48 7.68) (layer F.SilkS) (width 0.1))
(fp_line (start 2.1 2.1) (end 2.1 7.68) (layer F.SilkS) (width 0.1))
(fp_line (start 2.1 2.1) (end 24.48 2.1) (layer F.SilkS) (width 0.1))
(fp_line (start 34 3.5) (end 30 3.5) (layer F.SilkS) (width 0.15))
(fp_line (start 34.6 11.1) (end 30 11.1) (layer F.SilkS) (width 0.15))
(fp_line (start 35 11.5) (end 34.6 11.1) (layer F.SilkS) (width 0.15))
(fp_line (start 40 11.5) (end 35 11.5) (layer F.SilkS) (width 0.15))
(fp_line (start 0 11.5) (end 30 11.5) (layer F.SilkS) (width 0.15))
(fp_line (start 0 0) (end 30 0) (layer F.SilkS) (width 0.15))
(fp_line (start 30 0) (end 30 11.5) (layer F.SilkS) (width 0.15))
(fp_line (start 35 2.5) (end 34 3.5) (layer F.SilkS) (width 0.15))
(fp_line (start 40 2.5) (end 35 2.5) (layer F.SilkS) (width 0.15))
(fp_line (start 0 11.5) (end 0 0) (layer F.SilkS) (width 0.15))
(pad 1 smd oval (at 40 11) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 2 smd oval (at 40 10.38) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 3 smd oval (at 40 9.76) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 4 smd oval (at 40 9.14) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 5 smd oval (at 40 8.52) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 6 smd oval (at 40 7.9) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 7 smd oval (at 40 7.28) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 8 smd oval (at 40 6.66) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 9 smd oval (at 40 6.04) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 10 smd oval (at 40 5.42) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 11 smd oval (at 40 4.8) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 12 smd oval (at 40 4.18) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 13 smd oval (at 40 3.56) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
(pad 14 smd oval (at 40 2.94) (size 4 0.32) (layers F.Cu F.Paste F.Mask))
)
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
C?
C_????_*
C_????
SMD*_c
Capacitor*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SSD1306
#
DEF SSD1306 U 0 40 Y Y 1 F N
F0 "U" 1350 600 60 H V R TNN
F1 "SSD1306" -1350 600 60 H V L TNN
F2 "" 0 0 60 H I C CNN
F3 "" 0 0 60 H I C CNN
DRAW
S -1400 650 1400 100 0 1 0 f
X C2P 1 -1300 0 100 U 50 50 1 1 I
X SCL 10 500 0 100 U 50 50 1 1 I
X SDA 11 700 0 100 U 50 50 1 1 I
X IREF 12 900 0 100 U 50 50 1 1 I
X VCOMH 13 1100 0 100 U 50 50 1 1 I
X VCC 14 1300 0 100 U 50 50 1 1 I
X C2N 2 -1100 0 100 U 50 50 1 1 I
X C1P 3 -900 0 100 U 50 50 1 1 I
X C1N 4 -700 0 100 U 50 50 1 1 I
X VDDB 5 -500 0 100 U 50 50 1 1 I
X NC 6 -300 0 100 U 50 50 1 1 N
X VSS 7 -100 0 100 U 50 50 1 1 O
X VDD 8 100 0 100 U 50 50 1 1 I
X ~RES 9 300 0 100 U 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment