Files
libretiny/boards/templates/tuya2.json
2023-11-14 22:30:13 +01:00

81 lines
1.5 KiB
JSON

{
"name": "tuya2",
"title": "Tuya boards; 2 series",
"width": 15,
"height": 17.9,
"vars": {
"PINTYPE_HORZ": "pad_10x25",
"PINDIR": "down",
"RASTER": 2,
"RF_W": 15,
"RF_H": 5.5
},
"front": [
{
"name": "tuya2_pcb",
"pos": "0,0"
},
{
"comment": "Metal shielding",
"type": "rect",
"pos": "0.3,6",
"size": "14.4,8",
"preset": "shield"
},
{
"comment": "Pins (10,8,6,4,2)",
"name": "r_pins_horz",
"repeat": 5,
"pos": "3.5,16.3"
},
{
"comment": "Pin labels (10,8,6,4,2)",
"id": "pins",
"name": "r_labels_horz",
"repeat": 5,
"pos": "3.5,17.9"
},
{
"type": "text",
"pos": "6.0,5.5",
"text": "${SYMBOL}",
"font_size": 1.0,
"fill": {
"color": "${SILK_COLOR}"
}
}
],
"back": [
{
"name": "tuya2_pcb",
"pos": "0,0"
},
{
"comment": "Pins (1,3,5,7,9,11)",
"name": "r_pins_horz",
"repeat": 6,
"pos": "2.5,16.3"
},
{
"comment": "Pin labels (1,3,5,7,9,11)",
"id": "pins",
"name": "r_labels_horz",
"repeat": 6,
"pos": "2.5,17.9"
}
],
"pads": {
"1": "tuya2.back.pins.label1.anchor",
"2": "tuya2.front.pins.label5.anchor",
"3": "tuya2.back.pins.label2.anchor",
"4": "tuya2.front.pins.label4.anchor",
"5": "tuya2.back.pins.label3.anchor",
"6": "tuya2.front.pins.label3.anchor",
"7": "tuya2.back.pins.label4.anchor",
"8": "tuya2.front.pins.label2.anchor",
"9": "tuya2.back.pins.label5.anchor",
"10": "tuya2.front.pins.label1.anchor",
"11": "tuya2.back.pins.label6.anchor"
}
}