You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/src/pages/hackpad/AdvancedTutorial.mdx
-32Lines changed: 0 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,38 +121,6 @@ I placed mine on the back side of the PCB, and this is the final result:
121
121
122
122
Pretty right? UwU
123
123
124
-
<aname="oled"/>
125
-
## OLED
126
-
[Download this footprint library and unzip it](https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2Fcheyao%2Fmacropad%2Ftree%2Fmain%2FPCB%2Fthird_party%2FKiCad-SSD1306-128x64-master), then add it to kicad.
127
-
128
-
Open up the schematic editor. If you have anything connected on the pins named "GPIO6/SDA" or "GPIO7/SCL", move them to another pin. Then add the symbol named SSD1306. Be sure to not use the built in symbol!
129
-
130
-
Be sure to not use the built in footprint! The correct footprint should be called 128x64OLED:
Connect VCC to the +5V symbol, and GND to GND (Search these symbols using the P key). Then connect SDA to the SDA of the Xiao, and SCL to the SCL of the xiao.
Now to the important part, you must add two pull-up resistors to the SCL and SDA lines. (What pull up means? It isn't really important but you can Google it)
139
-
140
-
Search for the symbol named `R` and place one on each SDA and SCL lines, and wire the other end of the resistors to a +3.3V symbol (Find it using P). Don't forget to add a +3.3V symbol to the Xiao!
NOTE: In your BOM, you need to specify that the resistors are 4.7kΩ.
145
-
146
-
Now you just need to associate the symbols to the footprint. Select R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal for the resistors, and 128x64OLED for the oled. (**NOT** Adafruit_SSD1306!)
Now continue to the PCB editors and route the pins! It isn't that different from routing the switches. I recommend placing the diodes on the back side of the OLED screen.
0 commit comments