]> git.gag.com Git - hw/quantimotor/commitdiff
add a couple resistors to bias the charge indicator LED so it works bicolor
authorBdale Garbee <bdale@gag.com>
Mon, 30 Jun 2025 00:25:39 +0000 (18:25 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 30 Jun 2025 00:25:39 +0000 (18:25 -0600)
quantimotor.sch

index 29b8b906457ab1d3ae54462929458a1ea620f14a..1a58fc82811a6fa3c0254361950b04862424c290 100644 (file)
@@ -202,7 +202,7 @@ refdes=R2
 T 75100 58700 5 10 1 1 0 0 1
 value=1k
 }
-C 73100 55200 1 0 1 gnd.sym
+C 73100 56800 1 0 1 gnd.sym
 C 75400 57200 1 0 1 resistor.sym
 {
 T 75100 57600 5 10 0 1 0 6 1
@@ -215,7 +215,7 @@ T 75100 57500 5 10 1 1 0 0 1
 value=1k
 }
 N 73600 57300 73000 57300 4
-N 73000 55500 73000 58500 4
+N 73000 57100 73000 58500 4
 N 73600 58500 73000 58500 4
 N 75400 59700 76900 59700 4
 {
@@ -2019,6 +2019,10 @@ footprint=0402
 }
 C 50700 40600 1 0 0 gnd.sym
 N 48200 41800 49700 41800 4
+{
+T 48600 41850 5 10 1 1 0 0 1
+netname=v_chg_in
+}
 N 50600 41800 50800 41800 4
 C 51400 42100 1 90 0 capacitor.sym
 {
@@ -2163,39 +2167,38 @@ netname=gpio21
 T 42600 68900 9 10 1 0 0 6 2
 Holder for 3 flat-top
 18650 batteries
-C 75500 55900 1 0 1 resistor.sym
+C 75500 55400 1 0 1 resistor.sym
 {
-T 75200 56300 5 10 0 1 0 6 1
+T 75200 55800 5 10 0 1 0 6 1
 device=RESISTOR
-T 75500 55900 5 10 0 1 90 2 1
+T 75500 55400 5 10 0 1 90 2 1
 footprint=0402
-T 74800 56100 5 10 1 1 0 6 1
+T 74800 55600 5 10 1 1 0 6 1
 refdes=R35
-T 75400 56100 5 10 1 1 0 0 1
+T 75400 55600 5 10 1 1 0 0 1
 value=1k
 }
-C 73600 55600 1 0 0 led-bicolor.sym
+C 73600 55100 1 0 0 led-bicolor.sym
 {
-T 73700 56200 5 10 0 0 0 0 1
+T 73700 55700 5 10 0 0 0 0 1
 device=LED
-T 73600 55600 5 10 0 0 0 0 1
+T 73600 55100 5 10 0 0 0 0 1
 footprint=H178
-T 73450 56100 5 10 1 1 0 0 1
+T 73450 55600 5 10 1 1 0 0 1
 refdes=D5
-T 73500 55400 5 10 1 1 0 0 1
+T 73500 54900 5 10 1 1 0 0 1
 value=red+green
 }
-N 74200 56000 74600 56000 4
-N 75500 56000 77100 56000 4
+N 74200 55500 74600 55500 4
+N 75500 55500 77100 55500 4
 {
-T 77100 56100 5 10 1 1 0 6 1
+T 77100 55600 5 10 1 1 0 6 1
 netname=led_charging
 }
-N 73600 56000 73000 56000 4
-T 77600 55800 9 10 1 0 0 0 3
-Could we bias the charging LED to half
-the charger chip LED output voltage for
-red while charging and green when full?
+N 73600 55500 72200 55500 4
+T 77600 55300 9 10 1 0 0 0 2
+Bias the charging LED to half the charger chip LED output 
+voltage for red while charging and green when full
 N 44100 61900 45900 61900 4
 {
 T 44100 61950 5 10 1 1 0 0 1
@@ -2344,3 +2347,32 @@ value=NoConnection
 T 48700 51800 5 10 0 0 0 0 1
 device=DRC_Directive
 }
+C 72300 56400 1 90 1 resistor.sym
+{
+T 71900 56100 5 10 0 1 90 6 1
+device=RESISTOR
+T 72300 56400 5 10 0 1 180 2 1
+footprint=0402
+T 72000 56100 5 10 1 1 0 6 1
+refdes=R10
+T 72000 55700 5 10 1 1 0 6 1
+value=10k
+}
+C 72300 55500 1 90 1 resistor.sym
+{
+T 71900 55200 5 10 0 1 90 6 1
+device=RESISTOR
+T 72300 55500 5 10 0 1 180 2 1
+footprint=0402
+T 72000 55200 5 10 1 1 0 6 1
+refdes=R11
+T 72000 54800 5 10 1 1 0 6 1
+value=10k
+}
+C 72300 54300 1 0 1 gnd.sym
+N 71000 56700 72200 56700 4
+{
+T 71000 56750 5 10 1 1 0 0 1
+netname=v_chg_in
+}
+N 72200 56400 72200 56700 4