-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponents.json
More file actions
179 lines (179 loc) · 4.5 KB
/
components.json
File metadata and controls
179 lines (179 loc) · 4.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
[
{
"component": {
"id": "lipo-battery-3-7v-small",
"name": "Small LiPo Battery 3.7V",
"aliases": [
"LiPo battery",
"Lithium Polymer battery",
"3.7V battery",
"Li-Po battery",
"rechargeable battery 3.7V",
"single cell LiPo"
],
"type": "other",
"description": "Small single-cell Lithium Polymer rechargeable battery with nominal voltage of 3.7V (4.2V fully charged, 3.0V discharged). Common capacities range from 100mAh to 2000mAh. Used to power Arduino and ESP32 projects. Requires proper charging circuit and protection.",
"pinRequirements": [
{
"type": "power",
"name": "VCC/BAT+",
"required": true,
"description": "Positive battery terminal. Connect to VIN, BAT, or through charging/protection circuit. Provides 3.0V-4.2V depending on charge state.",
"voltage": 3.7
},
{
"type": "ground",
"name": "GND/BAT-",
"required": true,
"description": "Negative battery terminal (ground). Connect to system ground."
}
],
"libraries": [],
"pinConfiguration": {
"recommendedPins": [
"VIN",
"BAT",
"3.3V input (via regulator)"
]
},
"physicalDimensions": {
"width": 20,
"height": 30,
"unit": "mm"
},
"exampleUsage": "Connect BAT+ to Arduino VIN or ESP32 BAT pin through a protection circuit (TP4056 or similar). Connect BAT- to GND. Use with voltage regulator if 3.3V is required. Never discharge below 3.0V or charge above 4.2V. Always use proper LiPo charging module.",
"datasheetUrl": "https://www.sparkfun.com/datasheets/Batteries/UnionBattery-3.7v.pdf"
},
"instanceId": "lipo-battery-3-7v-small_1",
"pinAssignments": [
{
"componentId": "lipo-battery-3-7v-small_1",
"pinName": "VCC/BAT+",
"boardPin": -1,
"function": "power"
},
{
"componentId": "lipo-battery-3-7v-small_1",
"pinName": "GND/BAT-",
"boardPin": -2,
"function": "ground"
}
]
},
{
"component": {
"id": "button",
"name": "Push Button",
"aliases": [
"button",
"push button",
"switch",
"tactile switch"
],
"type": "other",
"description": "Momentary push button switch",
"pinRequirements": [
{
"type": "ground",
"name": "GND",
"required": true
},
{
"type": "digital",
"name": "SIGNAL",
"required": true,
"description": "Signal pin (with pull-up resistor)"
}
],
"libraries": [],
"pinConfiguration": {
"recommendedPins": [
"GPIO0",
"GPIO2",
"GPIO4",
"GPIO5",
"GPIO18",
"GPIO19"
]
},
"physicalDimensions": {
"width": 6,
"height": 6,
"unit": "mm"
}
},
"instanceId": "button_2",
"pinAssignments": [
{
"componentId": "button_2",
"pinName": "GND",
"boardPin": -2,
"function": "ground"
},
{
"componentId": "button_2",
"pinName": "SIGNAL",
"boardPin": 0,
"function": "digital"
}
]
},
{
"component": {
"id": "button",
"name": "Push Button",
"aliases": [
"button",
"push button",
"switch",
"tactile switch"
],
"type": "other",
"description": "Momentary push button switch",
"pinRequirements": [
{
"type": "ground",
"name": "GND",
"required": true
},
{
"type": "digital",
"name": "SIGNAL",
"required": true,
"description": "Signal pin (with pull-up resistor)"
}
],
"libraries": [],
"pinConfiguration": {
"recommendedPins": [
"GPIO0",
"GPIO2",
"GPIO4",
"GPIO5",
"GPIO18",
"GPIO19"
]
},
"physicalDimensions": {
"width": 6,
"height": 6,
"unit": "mm"
}
},
"instanceId": "button_3",
"pinAssignments": [
{
"componentId": "button_3",
"pinName": "GND",
"boardPin": -2,
"function": "ground"
},
{
"componentId": "button_3",
"pinName": "SIGNAL",
"boardPin": 0,
"function": "digital"
}
]
}
]