1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-11 01:44:01 +02:00

Added a I2C TWI SPI Serial Interface for 1602 LCD

This commit is contained in:
pcremades
2025-04-11 11:39:59 -03:00
parent 1692fcc811
commit 126343d5af

View File

@@ -1296,7 +1296,24 @@ tiny_buck = pcb("tiny_buck", "Ultra Small 3A buck regulator", [20, 11, 1.6],
grid = [inch(0.05), 11 / 2 - inch(0.15), 1, 4, "silver", 0, inch(0.1)]
);
tiny_pcbs = [ESP_201, ESP_01M, XIAO, ESP_12F, MP1584EN, ESP_01,tiny_buck, LIPO_fuel_gauge, 9DOF_stick];
I2C_LCD_Backpack = let(size=[42, 19, 1.2])
pcb("I2C_LCD_Backpack", "I2C / SPI character LCD backpack",
size = size, //size
colour = "black",
components = [[size[0]-2, -size[1]/2, 90, "2p54header", 4, 1, false, undef, true],
[2, size[1]-8.5, 270, "2p54header", 2, 1, false, false, true],
[size[0]/2, size[1]/2, 90, "smd_soic", SOIC16, "PCF8574"],
[size[0]*3/4, 11, 0, "trimpot3362"],
// Silkscreen
[size[0]*3/4+6, size[1]-5.8, 0, "text", 3, 1, "GND", "Liberation Sans:style=Bold"],
[size[0]*3/4+6, size[1]-5.8-2.54, 0, "text", 3, 1, "VCC", "Liberation Sans:style=Bold"],
[size[0]*3/4+6, size[1]-5.8-2.54*2, 0, "text", 3, 1, "SDA", "Liberation Sans:style=Bold"],
[size[0]*3/4+6, size[1]-5.8-2.54*3, 0, "text", 3, 1, "SCL", "Liberation Sans:style=Bold"]
],
grid = [2, size[1]-2, 16, 1, silver, inch(0.1), inch(0.9)]
);
tiny_pcbs = [ESP_201, ESP_01M, XIAO, ESP_12F, MP1584EN, ESP_01,tiny_buck, LIPO_fuel_gauge, 9DOF_stick, I2C_LCD_Backpack];
big_pcbs = [BTT_RELAY_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_E3_TURBO, BTT_SKR_V1_4_TURBO, DuetE, Duex5];