OLED 128x32 pixel panel 2.23 inch with 24-pin flex
Category: Display
Using this part
This TurboCase prefab can be directly pasted into your KiCad PCB editor by using the copy button below. The
code of the footprint is also shown here for reference. The footprint file can also be downloaded to be
added to your own local footprint libraries.
Download footprint
The OpenSCAD code
This is the OpenSCAD code that will end up in your final case .scad file:
module Display_OLED_2in23_128x32_substract() {
width = 62;
height = 24;
aa_width = 55;
aa_height = 13.1;
aa_top = 3;
aa_left = 3.49;
translate([0, 0, inner_height])
union() {
translate([-(width/2)+aa_left, -(height/2)+aa_top, 0])
cube([aa_width, aa_height, 3]);
translate([0, 0, -1])
#cube([width, height, 2], center=true);
}
}
module Display_OLED_2in23_128x32() {
width = 62;
height = 24;
module corner() {
translate([-2, 0, -2])
cube([12,2,2]);
translate([-2, -10, -2])
cube([2,10,2]);
}
translate([0, 0, inner_height])
union() {
translate([-width/2-0.2, height/2+0.2, 0])
corner();
rotate([0, 0, 180])
translate([-width/2-0.2, height/2+0.2, 0])
corner();
}
}