From: Jan "Yenya" Kasprzak Date: Sun, 10 May 2020 11:17:13 +0000 (+0200) Subject: WIP pin assignments, new schematics X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=befab07e8e68cd66ac26869876979588eace9ffe;p=bike-lights.git WIP pin assignments, new schematics --- diff --git a/pins.txt b/pins.txt index 06ce75a..46763c5 100644 --- a/pins.txt +++ b/pins.txt @@ -1,15 +1,37 @@ ATTiny 861A pin assignment ========================== - (MOSI/DI/SDA/!OC1A/PCINT8) PB0 MOSI,LED4 SENSE1+ PA0 (ADC0/DI/SDA/PCINT0) - (MISO/DO/OC1A/PCINT9) PB1 MISO,PWM1 SENSE12- PA1 (ADC1/DO/PCINT1) - (SCK/USCK/SCL/!OC1B/PCINT10) PB2 SCK,LED5 SENSE2+ PA2 (ADC2/INT1/USCK/SCL/PCINT2) - (OC1B/PCINT11) PB3 PWM2 LED6 PA3 (AREF/PCINT3) + (MOSI/DI/SDA/!OC1A/PCINT8) PB0 MOSI,SERIAL PA0 (ADC0/DI/SDA/PCINT0) + (MISO/DO/OC1A/PCINT9) PB1 MISO,MODELED 5V_OUT PA1 (ADC1/DO/PCINT1) + (SCK/USCK/SCL/!OC1B/PCINT10) PB2 SCK,SW2 AMB_SENSE PA2 (ADC2/INT1/USCK/SCL/PCINT2) + (OC1B/PCINT11) PB3 PWMLED1 PA3 (AREF/PCINT3) VCC AGND GND AVCC -(ADC7/!OC1D/CLKI/XTAL1/PCINT12) PB4 SW2 LED7 PA4 (ADC3/ICP0/PCINT4) - (ADC8/OC1D/CLKO/XTAL2/PCINT13) PB5 PWM3 SENSE3 PA5 (ADC4/AIN2/PCINT5) - (ADC9/INT0/T0/PCINT14) PB6 SW1 SENSE4 PA6 (ADC5/AIN0/PCINT6) - (ADC10/RESET/PCINT15) PB7 RST SENSE5 PA7 (ADC6/AIN1/PCINT7) +(ADC7/!OC1D/CLKI/XTAL1/PCINT12) PB4 STATUSLED PA4 (ADC3/ICP0/PCINT4) + (ADC8/OC1D/CLKO/XTAL2/PCINT13) PB5 PWMLED2 LED1SENSE+ PA5 (ADC4/AIN2/PCINT5) + (ADC9/INT0/T0/PCINT14) PB6 SW1 LED12SENSE- PA6 (ADC5/AIN0/PCINT6) + (ADC10/RESET/PCINT15) PB7 RST LED2SENSE+ PA7 (ADC6/AIN1/PCINT7) + +MISO +MOSI +SCK +RST + +LED1 PWM +LED1 SENSE, diff/gain 8 + +LED2 PWM +LED2 SENSE, diff/gain 32 + +AMBIENT SENSE, single-ended +BATT-V SENSE, single-ended + +STATUS LED (PWM?) + +BRAKE HALL OUT +BRAKE HALL IN + +SW1 +SW2 Components diff --git a/schematics/lights.sch b/schematics/lights.sch index 04a4685..9ad88b6 100644 --- a/schematics/lights.sch +++ b/schematics/lights.sch @@ -1,4 +1,4 @@ -v 20110115 2 +v 20130925 2 C 40000 40000 0 0 0 title-B.sym C 44500 45600 1 0 0 attiny861a-1.sym { @@ -11,13 +11,11 @@ footprint=DIP20 T 44800 48400 5 10 1 1 0 0 1 refdes=U1 } -N 41800 41600 55600 41600 4 -N 41800 50900 56900 50900 4 +N 41800 50900 46400 50900 4 { -T 41200 50800 5 10 1 1 0 0 1 +T 41900 50700 5 10 1 1 0 0 1 netname=Vbat } -N 56900 41500 56900 50900 4 N 41800 46700 44500 46700 4 N 43500 46700 43500 41600 4 N 43700 48900 43700 46900 4 @@ -33,9 +31,7 @@ footprint=HEADER10_1 T 40100 45600 5 10 0 1 0 0 1 value=x } -N 43500 49400 43500 46700 4 N 41800 48500 44000 48500 4 -N 43900 47700 43900 48600 4 N 42900 47700 44500 47700 4 { T 44400 47700 5 8 1 1 0 6 1 @@ -56,15 +52,6 @@ N 41800 46100 41800 47000 4 T 40400 45100 9 10 1 0 0 0 2 Programming connector -N 44500 47300 43800 47300 4 -{ -T 44400 47300 5 8 1 1 0 6 1 -netname=PWM2 -} -N 43800 47300 43800 48800 4 -N 43800 48800 50700 48800 4 -N 50700 45600 50700 48800 4 -N 47000 48600 51100 48600 4 N 44500 46100 43900 46100 4 { T 44400 46100 5 8 1 1 0 6 1 @@ -72,66 +59,29 @@ netname=PWM3 } N 43900 42500 43900 46100 4 N 44000 47900 44500 47900 4 -C 50000 46800 1 270 0 resistor-2.sym +C 55700 43700 1 270 0 resistor-2.sym { -T 50350 46400 5 10 0 0 270 0 1 +T 56050 43300 5 10 0 0 270 0 1 device=RESISTOR -T 50300 46800 5 10 1 1 270 0 1 -refdes=R8 -T 50000 46800 5 10 0 1 0 0 1 +T 56200 43400 5 10 1 1 270 0 1 +refdes=R50 +T 55700 43700 5 10 0 1 0 0 1 footprint=1206 -T 50300 46400 5 10 1 1 270 0 1 +T 56000 43500 5 10 1 1 270 0 1 value=1M5 } -C 50000 45600 1 270 0 resistor-2.sym +C 55700 42600 1 270 0 resistor-2.sym { -T 50350 45200 5 10 0 0 270 0 1 +T 56050 42200 5 10 0 0 270 0 1 device=RESISTOR -T 50300 45600 5 10 1 1 270 0 1 -refdes=R9 -T 50000 45600 5 10 0 1 0 0 1 +T 56200 42300 5 10 1 1 270 0 1 +refdes=R51 +T 55700 42600 5 10 0 1 0 0 1 footprint=1206 -T 50300 45200 5 10 1 1 270 0 1 +T 56000 42400 5 10 1 1 270 0 1 value=100K } -C 49400 45600 1 270 0 resistor-2.sym -{ -T 49750 45200 5 10 0 0 270 0 1 -device=RESISTOR -T 49700 45600 5 10 1 1 270 0 1 -refdes=R2 -T 49400 45600 5 10 0 1 0 0 1 -footprint=1206 -T 49700 45200 5 10 1 1 270 0 1 -value=300K -} -C 49000 46000 1 0 0 photodiode-1.sym -{ -T 49500 47100 5 10 0 0 0 0 1 -device=photodiode -T 49700 47000 5 10 1 1 270 0 1 -refdes=PHOTODIODE -T 49000 46000 5 10 0 1 0 0 1 -footprint=PS_2PIN.fp -T 49000 46000 5 10 0 1 0 0 1 -value=x -} -C 49400 47900 1 270 0 resistor-2.sym -{ -T 49750 47500 5 10 0 0 270 0 1 -device=RESISTOR -T 49700 47900 5 10 1 1 270 0 1 -refdes=R1 -T 49400 47900 5 10 0 1 0 0 1 -footprint=1206 -T 49700 47500 5 10 1 1 270 0 1 -value=1M5 -} -N 49500 44700 49500 44600 4 -N 49500 47900 49500 50700 4 -N 50100 44700 50100 44600 4 -N 50100 45900 50100 45600 4 -N 50100 46800 50100 50900 4 +N 55800 42800 55800 42600 4 T 41200 48600 9 8 1 0 0 0 1 MOSI T 41200 48300 9 8 1 0 0 0 1 @@ -178,46 +128,20 @@ N 41800 43700 42000 43700 4 N 42000 43700 42000 44700 4 N 42500 43400 42500 44000 4 N 44500 46300 43000 46300 4 -N 47900 48100 56700 48100 4 -N 47200 47700 48900 47700 4 +N 47200 47700 47900 47700 4 { T 47200 47700 5 8 1 1 0 0 1 netname=GND } -N 48900 41600 48900 48500 4 -N 48300 45900 49500 45900 4 -{ -T 47200 45900 5 8 1 1 0 0 1 -netname=AMB_S -} -N 48400 45700 50100 45700 4 -{ -T 47200 45700 5 8 1 1 0 0 1 -netname=BAT_S -} N 47200 46300 47800 46300 4 { T 47200 46300 5 8 1 1 0 0 1 netname=SW1 } -N 47200 46700 48100 46700 4 +N 47200 46700 48000 46700 4 N 42400 45600 42400 48500 4 N 42500 44900 42500 47500 4 -N 43400 45900 44500 45900 4 -C 48800 46400 1 90 0 capacitor-2.sym -{ -T 48100 46600 5 10 0 0 90 0 1 -device=POLARIZED_CAPACITOR -T 48300 46400 5 10 1 1 90 0 1 -refdes=C1 -T 47900 46600 5 10 0 0 90 0 1 -symversion=0.1 -T 48800 46400 5 10 0 1 0 0 1 -footprint=1210 -T 48300 46800 5 10 1 1 90 0 1 -value=10uF -} -N 48100 46300 48100 50700 4 +N 43400 48400 44500 45900 4 C 41800 48100 1 0 0 nc-right-1.sym { T 41900 48600 5 10 0 0 0 0 1 @@ -246,142 +170,33 @@ T 47200 47500 5 8 1 1 0 0 1 netname=SENSE2+ } N 48000 47500 48000 48000 4 -N 48000 48000 51100 48000 4 -N 48000 47400 48900 47400 4 -N 48000 47400 48000 46900 4 N 48000 46900 47200 46900 4 -N 48600 47400 48600 47300 4 -N 48100 46300 48600 46300 4 -N 48600 42200 48600 46400 4 -N 49500 45600 49500 46000 4 N 47900 48100 47900 47900 4 N 47900 47900 47200 47900 4 { T 47200 47900 5 8 1 1 0 0 1 netname=SENSE1+ } -N 49500 46900 49500 47000 4 N 48100 46100 47200 46100 4 { T 47200 46100 5 8 1 1 0 0 1 netname=SENSE3 } -C 51900 45200 1 0 0 irl6732pbf-1.sym -{ -T 52800 45700 5 10 1 1 0 0 1 -refdes=Q20 -T 53100 46800 5 10 0 0 0 0 1 -device=IRL6732PBF -T 53100 46200 5 10 0 0 0 0 1 -footprint=SO8 -T 51200 45200 5 10 0 1 0 0 1 -value=IRL6732PBF -T 52600 45200 5 10 1 0 0 0 1 -slot=2 -} -C 56800 46500 1 180 0 connector2-1.sym -{ -T 56600 45500 5 10 0 0 180 0 1 -device=CONNECTOR_2 -T 56800 45500 5 10 1 1 180 2 1 -refdes=LED_2 -T 56800 46500 5 10 0 1 0 0 1 -footprint=PS_2PIN.fp -T 56800 46500 5 10 0 1 0 0 1 -value=x -} -C 52400 47300 1 270 0 inductor-1.sym -{ -T 52900 47100 5 10 0 0 270 0 1 -device=INDUCTOR -T 52700 47100 5 10 1 1 270 0 1 -refdes=L20 -T 53100 47100 5 10 0 0 270 0 1 -symversion=0.1 -T 52300 47200 5 10 1 1 270 0 1 -value=470uH -T 52400 47300 5 10 0 1 0 0 1 -footprint=RCY200 -} -C 54600 45700 1 270 0 resistor-2.sym -{ -T 54950 45300 5 10 0 0 270 0 1 -device=RESISTOR -T 54900 45500 5 10 1 1 270 0 1 -refdes=R20 -T 54600 45700 5 10 0 0 0 0 1 -footprint=0805 -T 54400 45500 5 10 1 1 270 0 1 -value=R033 -} -C 53600 45900 1 270 0 capacitor-2.sym -{ -T 54300 45700 5 10 0 0 270 0 1 -device=POLARIZED_CAPACITOR -T 54100 45700 5 10 1 1 270 0 1 -refdes=C20 -T 54500 45700 5 10 0 0 270 0 1 -symversion=0.1 -T 53600 45900 5 10 0 0 0 0 1 -footprint=1210 -T 53400 45700 5 10 1 1 270 0 1 -value=10uF -} -C 50600 45600 1 270 0 resistor-2.sym -{ -T 50950 45200 5 10 0 0 270 0 1 -device=RESISTOR -T 50900 45600 5 10 1 1 270 0 1 -refdes=R21 -T 50900 45100 5 10 1 1 270 0 1 -value=15K -T 50600 45600 5 10 0 1 0 0 1 -footprint=1206 -} -N 52300 46200 52500 46200 4 -N 50700 45700 51900 45700 4 -N 53800 44600 53800 45000 4 -N 52500 45200 52500 44600 4 -N 50700 44700 50700 44600 4 -N 54700 45700 54700 47500 4 -C 52600 46100 1 0 0 schottky-1.sym -{ -T 52922 46772 5 10 0 0 0 0 1 -device=DIODE -T 52900 46600 5 10 1 1 0 0 1 -refdes=D20 -T 52941 46932 5 10 0 1 0 0 1 -footprint=SMB -T 53300 46600 5 10 0 1 0 0 1 -value=SS24 -T 52600 46100 5 10 0 1 0 0 1 -footprint=SMB -} -N 54700 44600 48900 44600 4 -N 48100 46100 48100 44100 4 -N 52500 46400 52500 46200 4 -N 53500 46300 55100 46300 4 -{ -T 55100 46400 5 8 1 1 0 0 1 -netname=LED2+ -} -N 53800 46300 53800 45900 4 -N 54700 46000 55100 46000 4 T 50800 41000 9 16 1 0 0 0 1 -http://www.fi.muni.cz/~kas/bike-lights/ +https://www.fi.muni.cz/~kas/bike-lights/ T 50400 40700 9 10 1 0 0 0 1 Distributable under the terms of GNU General Public LIcense, version 2 T 54100 40200 9 14 1 0 0 0 1 Jan "Yenya" Kasprzak -C 43100 48000 1 0 0 mcp1701a-1.sym +C 43900 48300 1 0 0 mcp1701a-1.sym { -T 43400 50600 5 10 1 1 0 0 1 -refdes=U40 -T 44500 50700 5 10 0 0 0 0 1 +T 44300 49800 5 10 1 1 0 0 1 +refdes=U30 +T 45300 51000 5 10 0 0 0 0 1 device=MCP1701A -T 44500 49900 5 10 0 0 0 0 1 +T 45300 50200 5 10 0 0 0 0 1 footprint=SOT23 -T 43100 48000 5 10 0 1 0 0 1 +T 43900 48300 5 10 0 1 0 0 1 value=MCP1710A-5V } C 40100 49200 1 0 0 connector2-1.sym @@ -395,409 +210,193 @@ footprint=PS_2PIN.fp T 40100 49200 5 10 0 1 0 0 1 value=x } -C 44500 50300 1 270 0 capacitor-2.sym +C 45300 50300 1 270 0 capacitor-2.sym { -T 45200 50100 5 10 0 0 270 0 1 +T 46000 50100 5 10 0 0 270 0 1 device=POLARIZED_CAPACITOR -T 45000 50100 5 10 1 1 270 0 1 -refdes=C41 -T 45400 50100 5 10 0 0 270 0 1 +T 45800 50400 5 10 1 1 270 0 1 +refdes=C32 +T 46200 50100 5 10 0 0 270 0 1 symversion=0.1 -T 44700 50300 5 10 0 1 0 0 1 +T 45500 50300 5 10 0 1 0 0 1 footprint=1210 -T 45000 49700 5 10 1 1 270 0 1 +T 45800 50000 5 10 1 1 270 0 1 value=1.5uF } -C 42300 50300 1 270 0 capacitor-2.sym +C 43100 50600 1 270 0 capacitor-2.sym { -T 43000 50100 5 10 0 0 270 0 1 +T 43800 50400 5 10 0 0 270 0 1 device=POLARIZED_CAPACITOR -T 42800 50000 5 10 1 1 270 0 1 -refdes=C40 -T 43200 50100 5 10 0 0 270 0 1 +T 43600 50600 5 10 1 1 270 0 1 +refdes=C31 +T 44000 50400 5 10 0 0 270 0 1 symversion=0.1 -T 42500 50400 5 10 0 1 0 0 1 +T 43300 50700 5 10 0 1 0 0 1 footprint=1210 -T 42100 50000 5 10 1 1 270 0 1 +T 43600 50100 5 10 1 1 270 0 1 value=1.5uF } -N 41800 49400 44700 49400 4 +N 41800 49400 46400 49400 4 { T 41900 49200 5 10 1 1 0 0 1 netname=GND } N 41800 50900 41800 49700 4 -N 43100 50100 43100 49400 4 -N 43100 50300 42500 50300 4 -N 44700 50300 44600 50300 4 +N 43900 50400 43900 49400 4 +N 43900 50600 43900 50900 4 +N 45400 50600 46400 50600 4 T 40800 49800 9 10 1 0 0 0 1 + T 40800 49500 9 10 1 0 0 0 1 - -N 43700 48900 48100 48900 4 -N 42500 50900 42500 50300 4 -C 45800 40300 1 0 0 connector3-1.sym -{ -T 47600 41200 5 10 0 0 0 0 1 -device=CONNECTOR_3 -T 45800 41400 5 10 1 1 0 0 1 -refdes=HANDLEBAR -T 45800 40300 5 10 0 1 0 0 1 -footprint=PS_3PIN.fp -T 45800 40300 5 10 0 1 0 0 1 -value=x -} -N 47900 40800 47900 47300 4 -N 47800 46300 47800 41100 4 -N 48600 43900 51300 43900 4 -N 43900 42500 51300 42500 4 -C 51200 47300 1 0 0 mcp14628-1.sym +N 43700 48900 48000 48900 4 +N 43300 50900 43300 50600 4 +C 50000 47300 1 0 0 mcp14628-1.sym { -T 51500 48600 5 8 1 1 0 0 1 +T 50300 48600 5 8 1 1 0 0 1 value=MCP14728 -T 51500 49900 5 10 1 1 0 0 1 +T 50300 49900 5 10 1 1 0 0 1 refdes=U10 -T 54000 49900 5 10 0 0 0 0 1 +T 52800 49900 5 10 0 0 0 0 1 device=MCP14628 -T 54000 49300 5 10 0 0 0 0 1 +T 52800 49300 5 10 0 0 0 0 1 footprint=SO8 } -C 53300 49700 1 0 0 irl6732pbf-1.sym +C 52100 49700 1 0 0 irl6732pbf-1.sym { -T 54100 50600 5 10 1 1 0 0 1 +T 52900 50600 5 10 1 1 0 0 1 refdes=Q10 -T 54500 51300 5 10 0 0 0 0 1 +T 53300 51300 5 10 0 0 0 0 1 device=IRL6732PBF -T 54500 50700 5 10 0 0 0 0 1 +T 53300 50700 5 10 0 0 0 0 1 footprint=SO8 -T 54100 50400 5 10 1 0 0 0 1 +T 52900 50400 5 10 1 0 0 0 1 slot=2 -T 53300 49700 5 10 0 1 0 0 1 +T 52100 49700 5 10 0 1 0 0 1 value=IRL6372PBF } -C 53300 48500 1 0 0 irl6732pbf-1.sym +C 52100 48500 1 0 0 irl6732pbf-1.sym { -T 54200 48800 5 10 1 1 0 0 1 +T 53000 48800 5 10 1 1 0 0 1 refdes=Q10 -T 54500 50100 5 10 0 0 0 0 1 +T 53300 50100 5 10 0 0 0 0 1 device=IRL6732PBF -T 54500 49500 5 10 0 0 0 0 1 +T 53300 49500 5 10 0 0 0 0 1 footprint=SO8 -T 54100 48600 5 10 1 0 0 0 1 +T 52900 48600 5 10 1 0 0 0 1 slot=1 -T 53300 48500 5 10 0 1 0 0 1 +T 52100 48500 5 10 0 1 0 0 1 value=IRL6372PBF } -C 56800 50600 1 180 0 connector2-1.sym +C 56900 50200 1 0 1 connector2-1.sym { -T 56600 49600 5 10 0 0 180 0 1 +T 56700 51200 5 10 0 0 0 6 1 device=CONNECTOR_2 -T 56800 49800 5 10 1 1 180 0 1 +T 56900 50000 5 10 1 1 0 6 1 refdes=LED_1 -T 56800 50600 5 10 0 1 0 0 1 +T 56900 50200 5 10 0 1 180 6 1 footprint=PS_2PIN.fp -T 56800 50600 5 10 0 1 0 0 1 +T 56900 50200 5 10 0 1 180 6 1 value=x } -C 50600 50600 1 270 0 capacitor-2.sym -{ -T 51300 50400 5 10 0 0 270 0 1 -device=POLARIZED_CAPACITOR -T 51000 50400 5 10 1 1 270 0 1 -refdes=C10 -T 51500 50400 5 10 0 0 270 0 1 -symversion=0.1 -T 50600 50600 5 10 0 1 0 0 1 -footprint=1210 -T 51000 50000 5 10 1 1 270 0 1 -value=10uF -} -C 54700 49500 1 270 0 capacitor-2.sym +C 46100 50300 1 270 0 capacitor-2.sym { -T 55400 49300 5 10 0 0 270 0 1 +T 46800 50100 5 10 0 0 270 0 1 device=POLARIZED_CAPACITOR -T 55200 49500 5 10 1 1 270 0 1 -refdes=C12 -T 55600 49300 5 10 0 0 270 0 1 +T 46600 50400 5 10 1 1 270 0 1 +refdes=C33 +T 47000 50100 5 10 0 0 270 0 1 symversion=0.1 -T 54700 49500 5 10 0 1 0 0 1 +T 46100 50300 5 10 0 1 0 0 1 footprint=1210 -T 55200 49000 5 10 1 1 270 0 1 -value=10uF +T 46600 50000 5 10 1 1 270 0 1 +value=22uF } -C 54000 49500 1 0 0 inductor-1.sym +C 52800 49500 1 0 0 inductor-1.sym { -T 54200 50000 5 10 0 0 0 0 1 +T 53000 50000 5 10 0 0 0 0 1 device=INDUCTOR -T 54200 49800 5 10 1 1 0 0 1 +T 53000 49800 5 10 1 1 0 0 1 refdes=L10 -T 54200 50200 5 10 0 0 0 0 1 +T 53000 50200 5 10 0 0 0 0 1 symversion=0.1 -T 54000 49500 5 10 0 1 0 0 1 +T 52800 49500 5 10 0 1 0 0 1 footprint=RCY200 -T 54100 49400 5 10 1 1 0 0 1 +T 52900 49400 5 10 1 1 0 0 1 value=470uH } -C 55500 49500 1 270 0 resistor-2.sym +C 54300 49500 1 270 0 resistor-2.sym { -T 55850 49100 5 10 0 0 270 0 1 +T 54650 49100 5 10 0 0 270 0 1 device=RESISTOR -T 55800 49500 5 10 1 1 270 0 1 +T 54600 49500 5 10 1 1 270 0 1 refdes=R10 -T 55500 49500 5 10 0 1 0 0 1 +T 54300 49500 5 10 0 1 0 0 1 footprint=0805 -T 55800 49100 5 10 1 1 270 0 1 +T 54600 49100 5 10 1 1 270 0 1 value=R033 } -N 48900 48500 55700 48500 4 -N 50800 49700 50800 48500 4 -N 50800 50700 50800 50600 4 -N 51300 50700 51300 49600 4 -N 51100 49400 51300 49400 4 -N 51300 48500 51300 49200 4 -N 53300 49000 53000 49000 4 +N 49800 49400 50100 49400 4 +N 50100 48500 50100 49200 4 +N 52100 49000 51800 49000 4 { -T 53300 49000 5 10 0 1 0 0 1 +T 52100 49000 5 10 0 1 0 0 1 netname=LOWDR_10 } -N 53900 49500 53900 49700 4 -N 53200 49600 54000 49600 4 +N 52700 49500 52700 49700 4 +N 52000 49600 52800 49600 4 { -T 53200 49600 5 10 0 1 0 0 1 +T 52000 49600 5 10 0 1 0 0 1 netname=PHASE_10 } -N 53700 49600 53700 49500 4 -N 53200 49200 53200 50300 4 -N 53200 49200 53000 49200 4 -C 51800 50100 1 0 0 capacitor-1.sym +N 52500 49600 52500 49500 4 +N 52000 49200 52000 50300 4 +N 52000 49200 51800 49200 4 +C 50600 50100 1 0 0 capacitor-1.sym { -T 52000 50800 5 10 0 0 0 0 1 +T 50800 50800 5 10 0 0 0 0 1 device=CAPACITOR -T 52000 50600 5 10 1 1 0 0 1 -refdes=C11 -T 52000 51000 5 10 0 0 0 0 1 +T 50600 50400 5 10 1 1 0 0 1 +refdes=C10 +T 50800 51000 5 10 0 0 0 0 1 symversion=0.1 -T 51800 50100 5 10 0 1 0 0 1 +T 50600 50100 5 10 0 1 0 0 1 footprint=1206 -T 52500 50600 5 10 1 1 0 0 1 +T 51200 50400 5 10 1 1 0 0 1 value=220nF } -N 53000 50000 53000 49600 4 -N 52700 50300 53200 50300 4 -N 53000 49400 53100 49400 4 -N 53100 49400 53100 50200 4 +N 51800 50000 51800 49600 4 +N 51500 50300 52000 50300 4 +N 51800 49400 51900 49400 4 +N 51900 49400 51900 50200 4 { -T 53100 49400 5 10 0 1 0 0 1 +T 51900 49400 5 10 0 1 0 0 1 netname=HIGHDR_10 } -N 53100 50200 53300 50200 4 -N 54900 48600 54900 48500 4 -N 54900 49500 54900 50400 4 -N 54900 50400 55100 50400 4 +N 51900 50200 52100 50200 4 +N 53700 48700 53700 48500 4 +N 53700 49600 53700 50700 4 +N 53700 50700 55200 50700 4 { -T 55100 50500 5 8 1 1 0 0 1 +T 53900 50500 5 8 1 1 0 0 1 netname=LED1+ } -N 55000 50100 55000 49600 4 -N 55000 49600 56700 49600 4 -N 55600 49600 55600 49500 4 -N 53000 50000 51800 50000 4 -N 51800 50000 51800 50300 4 +N 54400 49500 54400 50400 4 +N 51800 50000 50600 50000 4 +N 50600 50000 50600 50300 4 { -T 51800 50000 5 10 0 1 0 0 1 +T 50600 50000 5 10 0 1 0 0 1 netname=BOOT_10 } -N 55600 48600 55600 48500 4 -N 51100 49400 51100 48600 4 -N 53700 50700 53900 50700 4 -N 53900 50700 53900 50900 4 -C 51200 40400 1 0 0 mcp14628-1.sym -{ -T 51500 41700 5 8 1 1 0 0 1 -value=MCP14728 -T 51500 43000 5 10 1 1 0 0 1 -refdes=U30 -T 54000 43000 5 10 0 0 0 0 1 -device=MCP14628 -T 54000 42400 5 10 0 0 0 0 1 -footprint=SO8 -} -C 53300 42800 1 0 0 irl6732pbf-1.sym -{ -T 54100 43700 5 10 1 1 0 0 1 -refdes=Q30 -T 54500 44400 5 10 0 0 0 0 1 -device=IRL6732PBF -T 54500 43800 5 10 0 0 0 0 1 -footprint=SO8 -T 54100 43500 5 10 1 0 0 0 1 -slot=1 -T 53300 42800 5 10 0 1 0 0 1 -value=IRl6372PBF -} -C 53300 41600 1 0 0 irl6732pbf-1.sym -{ -T 54200 41900 5 10 1 1 0 0 1 -refdes=Q30 -T 54500 43200 5 10 0 0 0 0 1 -device=IRL6732PBF -T 54500 42600 5 10 0 0 0 0 1 -footprint=SO8 -T 54100 41700 5 10 1 0 0 0 1 -slot=2 -T 53300 41600 5 10 0 1 0 0 1 -value=IRL6372PBF -} -C 56800 43700 1 180 0 connector2-1.sym -{ -T 56600 42700 5 10 0 0 180 0 1 -device=CONNECTOR_2 -T 56800 42900 5 10 1 1 180 0 1 -refdes=LED_3 -T 56800 43700 5 10 0 1 0 0 1 -footprint=PS_2PIN.fp -T 56800 43700 5 10 0 1 0 0 1 -value=x -} -C 50600 43700 1 270 0 capacitor-2.sym -{ -T 51300 43500 5 10 0 0 270 0 1 -device=POLARIZED_CAPACITOR -T 51100 43700 5 10 1 1 270 0 1 -refdes=C30 -T 51500 43500 5 10 0 0 270 0 1 -symversion=0.1 -T 50600 43700 5 10 0 1 0 0 1 -footprint=1210 -T 51100 43300 5 10 1 1 270 0 1 -value=10uF -} -C 54700 42600 1 270 0 capacitor-2.sym -{ -T 55400 42400 5 10 0 0 270 0 1 -device=POLARIZED_CAPACITOR -T 55200 42600 5 10 1 1 270 0 1 -refdes=C32 -T 55600 42400 5 10 0 0 270 0 1 -symversion=0.1 -T 54700 42600 5 10 0 1 0 0 1 -footprint=RCY100P -T 55200 42100 5 10 1 1 270 0 1 -value=47uF -} -C 54000 42600 1 0 0 inductor-1.sym -{ -T 54200 43100 5 10 0 0 0 0 1 -device=INDUCTOR -T 54200 42900 5 10 1 1 0 0 1 -refdes=L30 -T 54200 43300 5 10 0 0 0 0 1 -symversion=0.1 -T 54000 42600 5 10 0 1 0 0 1 -footprint=RCY300 -T 54200 42500 5 10 1 1 0 0 1 -value=220uH -} -C 55500 42600 1 270 0 resistor-2.sym -{ -T 55850 42200 5 10 0 0 270 0 1 -device=RESISTOR -T 55800 42600 5 10 1 1 270 0 1 -refdes=R30 -T 55500 42600 5 10 0 1 0 0 1 -footprint=0805 -T 55800 42100 5 10 1 1 270 0 1 -value=R033 -} -N 50800 42800 50800 41600 4 -N 50800 43900 50800 43700 4 -N 51300 43900 51300 42700 4 -N 51300 41600 51300 42300 4 -N 53300 42100 53000 42100 4 -{ -T 53300 42100 5 10 0 0 0 0 1 -netname=LOWDR_30 -} -N 53900 42600 53900 42800 4 -N 53200 42700 54000 42700 4 -{ -T 53200 42700 5 10 0 1 0 0 1 -netname=PHASE_30 -} -N 53700 42700 53700 42600 4 -N 53200 42300 53200 43400 4 -N 53200 42300 53000 42300 4 -C 51800 43200 1 0 0 capacitor-1.sym -{ -T 52000 43900 5 10 0 0 0 0 1 -device=CAPACITOR -T 52000 43700 5 10 1 1 0 0 1 -refdes=C31 -T 52000 44100 5 10 0 0 0 0 1 -symversion=0.1 -T 51800 43200 5 10 0 1 0 0 1 -footprint=1206 -T 52500 43700 5 10 1 1 0 0 1 -value=220nF -} -N 53000 43100 53000 42700 4 -N 52700 43400 53200 43400 4 -N 53000 42500 53100 42500 4 -N 53100 42500 53100 43300 4 -{ -T 53100 42500 5 10 0 0 0 0 1 -netname=HIGHDR_30 -} -N 53100 43300 53300 43300 4 -N 54900 41700 54900 41600 4 -N 54900 42600 54900 43500 4 -N 54900 43500 55100 43500 4 -{ -T 55100 43600 5 8 1 1 0 0 1 -netname=LED3+ -} -N 55000 42700 55600 42700 4 -N 53000 43100 51800 43100 4 -N 51800 43100 51800 43400 4 -{ -T 51800 43100 5 10 0 1 0 0 1 -netname=BOOT_30 -} -N 55600 41700 55600 41600 4 -N 53700 43800 53900 43800 4 -N 53900 43800 53900 44000 4 -N 53900 44000 56900 44000 4 +N 54400 48600 54400 48500 4 +N 52700 50700 49800 50700 4 T 40700 49100 9 10 1 0 0 0 1 Battery -N 52500 47300 52500 47800 4 -N 52500 47800 56900 47800 4 -N 48000 40500 48000 41600 4 -T 48100 40700 9 10 1 0 0 0 2 -Handlebar -switches -N 55000 50100 55100 50100 4 -N 55600 42600 55600 42700 4 -N 55000 42700 55000 44100 4 -N 55000 43200 55100 43200 4 -T 56200 44800 9 10 1 0 0 0 3 -Rear -LED -string -T 55500 50700 9 10 1 0 0 0 1 -Rear spot LED -T 56200 42300 9 10 1 0 0 0 2 -Front -LED -T 50200 50700 9 10 1 0 270 0 1 -Battery voltage sense -T 49600 50600 9 10 1 0 270 0 1 -Ambient light sense -T 51500 48300 9 10 1 0 0 0 1 +T 46500 42500 9 10 1 0 0 0 1 +Handlebar switches +N 54400 50400 55200 50400 4 +T 50300 48300 9 10 1 0 0 0 1 Step-down converter LED 1 (refdes 1x) -T 51000 44200 9 10 1 0 0 0 1 -Step-down converter LED 3 (refdes 3x) -T 53900 47600 9 10 1 0 0 0 1 -Step-up converter LED 2 (refdes 2x) C 40100 41400 1 0 0 connector8-1.sym { T 40200 44600 5 10 0 0 0 0 1 @@ -812,7 +411,7 @@ value=x N 43500 43100 41800 43100 4 N 42500 43400 41800 43400 4 N 42000 42500 41800 42500 4 -N 43400 40800 43400 45900 4 +N 43400 43300 43400 48400 4 N 42400 45600 42000 45600 4 C 42900 44300 1 270 0 resistor-2.sym { @@ -826,41 +425,34 @@ T 43200 43900 5 10 1 1 270 0 1 value=100R } N 43000 46300 43000 44300 4 -C 43600 40700 1 0 0 resistor-2.sym +C 43200 41200 1 270 0 resistor-2.sym { -T 44000 41050 5 10 0 0 0 0 1 +T 43550 40800 5 10 0 0 270 0 1 device=RESISTOR -T 43700 41000 5 10 1 1 0 0 1 +T 43500 41100 5 10 1 1 270 0 1 refdes=R7 -T 43600 40700 5 10 0 1 0 0 1 +T 43200 41200 5 10 0 1 270 0 1 footprint=1206 -T 44100 41000 5 10 1 1 0 0 1 +T 43500 40700 5 10 1 1 270 0 1 value=15K } -C 43300 40300 1 0 1 irl6732pbf-1.sym +C 47000 40300 1 0 0 irl6732pbf-1.sym { -T 42400 40800 5 10 1 1 0 6 1 -refdes=Q20 -T 42100 41900 5 10 0 0 0 6 1 +T 47900 40600 5 10 1 1 0 0 1 +refdes=Q01 +T 48200 41900 5 10 0 0 0 0 1 device=IRL6732PBF -T 42100 41300 5 10 0 0 0 6 1 +T 48200 41300 5 10 0 0 0 0 1 footprint=SO8 -T 43000 40400 5 10 1 0 0 0 1 +T 48400 40400 5 10 1 0 0 6 1 slot=1 -T 43300 40300 5 10 0 1 0 0 1 +T 47000 40300 5 10 0 1 0 6 1 value=IRL6372PBF } -N 42700 40300 44700 40300 4 -N 44700 40300 44700 41600 4 -N 43300 40800 43600 40800 4 -N 42700 41300 42900 41300 4 -N 42900 41300 42900 41900 4 N 42900 41900 41800 41900 4 N 43000 43400 43000 42800 4 N 43000 42800 41800 42800 4 -N 56900 41500 49000 41500 4 -N 49000 41500 49000 40200 4 -N 48600 42200 41800 42200 4 +N 43900 42200 41800 42200 4 T 41200 43800 9 8 1 0 0 0 1 LED4 T 41200 43500 9 8 1 0 0 0 1 @@ -868,7 +460,6 @@ LED5 T 41200 43200 9 8 1 0 0 0 1 GND N 42000 42500 42000 40200 4 -N 42000 40200 49000 40200 4 T 41200 42900 9 8 1 0 0 0 1 LED6 T 41200 42600 9 8 1 0 0 0 1 @@ -882,179 +473,587 @@ GND T 40400 40900 9 10 1 0 0 0 2 Front status LED connector -N 44500 40800 44700 40800 4 -N 52500 46300 52600 46300 4 -N 54700 44800 54700 44600 4 -T 45500 49200 9 10 1 0 0 0 2 +T 40200 50400 9 10 1 0 0 0 2 Power module -(refdes 4x) -C 46000 48700 1 270 0 jumper-1.sym +(refdes 3x) +N 52700 49500 52500 49500 4 +N 41800 45800 42000 45800 4 +N 42000 45800 42000 46900 4 +C 54400 42600 1 270 0 capacitor-1.sym +{ +T 55100 42400 5 10 0 0 270 0 1 +device=CAPACITOR +T 55100 42300 5 10 1 1 270 0 1 +refdes=C50 +T 55300 42400 5 10 0 0 270 0 1 +symversion=0.1 +T 54900 42400 5 10 1 1 270 0 1 +value=220nF +T 54400 42600 5 10 0 0 0 0 1 +footprint=1206 +} +C 54700 42600 1 0 0 resistor-2.sym +{ +T 55100 42950 5 10 0 0 0 0 1 +device=RESISTOR +T 55000 43100 5 10 1 1 0 0 1 +refdes=R52 +T 55000 42900 5 10 1 1 0 0 1 +value=15K +T 54700 42600 5 10 0 0 0 0 1 +footprint=1206 +} +N 47200 45900 47600 45900 4 +N 47300 45500 47300 45700 4 +N 47300 45700 47200 45700 4 +N 47600 45300 47600 45900 4 +C 46400 50800 1 0 0 output-1.sym { -T 46500 48400 5 8 0 0 270 0 1 -device=JUMPER -T 46300 48300 5 10 1 1 0 0 1 -refdes=PROG_ENA -T 46000 48700 5 10 0 0 0 0 1 -footprint=JUMPER2 +T 46500 51100 5 10 0 0 0 0 1 +device=OUTPUT +T 47300 50800 5 10 1 1 0 0 1 +netname=Vbat } -N 44700 50300 44700 50700 4 -N 44700 50700 51300 50700 4 +C 46400 50500 1 0 0 output-1.sym { -T 47600 50500 5 10 1 1 0 0 1 +T 46500 50800 5 10 0 0 0 0 1 +device=OUTPUT +T 47300 50500 5 10 1 1 0 0 1 netname=+5V } -N 53900 49500 53700 49500 4 -N 53900 42600 53700 42600 4 -N 41800 45800 42000 45800 4 -N 42000 45800 42000 46900 4 -C 49700 44000 1 0 0 resistor-2.sym +C 46400 49300 1 0 0 output-1.sym +{ +T 46500 49600 5 10 0 0 0 0 1 +device=OUTPUT +T 47300 49300 5 10 1 1 0 0 1 +netname=GND +} +N 55600 42700 55800 42700 4 +C 56900 43800 1 180 0 input-1.sym +{ +T 56900 43500 5 10 0 0 180 0 1 +device=INPUT +T 56500 43400 5 10 1 1 0 0 1 +netname=Vbat +} +C 56900 41800 1 180 0 input-1.sym { -T 50100 44350 5 10 0 0 0 0 1 +T 56900 41500 5 10 0 0 180 0 1 +device=INPUT +T 56500 41900 5 10 1 1 0 0 1 +netname=GND +} +N 56100 41700 54600 41700 4 +N 54500 42700 54700 42700 4 +N 54600 42700 54600 42600 4 +N 55800 43700 56100 43700 4 +C 54500 42800 1 180 0 output-1.sym +{ +T 54400 42500 5 10 0 0 180 0 1 +device=OUTPUT +T 53600 42900 5 10 1 1 0 0 1 +netname=BATT_SENSE +} +T 53600 43400 9 10 1 0 0 0 2 +Battery voltage sensor +(refdes 5x) +C 51500 43700 1 270 0 resistor-2.sym +{ +T 51850 43300 5 10 0 0 270 0 1 device=RESISTOR -T 49700 44300 5 10 1 1 0 0 1 -refdes=R31 -T 50200 44300 5 10 1 1 0 0 1 -value=1K5 -T 49700 44000 5 10 0 1 0 0 1 +T 51500 43700 5 10 0 1 0 0 1 +footprint=1206 +T 52000 43500 5 10 1 1 270 0 1 +refdes=R40 +T 51800 43500 5 10 1 1 270 0 1 +value=1M5 +} +C 51500 42600 1 270 0 resistor-2.sym +{ +T 51850 42200 5 10 0 0 270 0 1 +device=RESISTOR +T 51500 42600 5 10 0 1 0 0 1 +footprint=1206 +T 52000 42600 5 10 1 1 270 0 1 +refdes=R41 +T 51800 42900 5 10 1 1 270 0 1 +value=Photoresistor +} +N 51600 42800 51600 42600 4 +C 50200 42600 1 270 0 capacitor-1.sym +{ +T 50900 42400 5 10 0 0 270 0 1 +device=CAPACITOR +T 51100 42400 5 10 0 0 270 0 1 +symversion=0.1 +T 50200 42600 5 10 0 0 0 0 1 footprint=1206 +T 50900 42300 5 10 1 1 270 0 1 +refdes=C40 +T 50700 42400 5 10 1 1 270 0 1 +value=220nF } -C 51200 47400 1 0 0 resistor-2.sym +C 50500 42600 1 0 0 resistor-2.sym { -T 51600 47750 5 10 0 0 0 0 1 +T 50900 42950 5 10 0 0 0 0 1 device=RESISTOR -T 51300 47700 5 10 1 1 0 0 1 -refdes=R22 -T 51700 47700 5 10 1 1 0 0 1 -value=1K5 -T 51200 47400 5 10 0 0 0 0 1 +T 50500 42600 5 10 0 0 0 0 1 footprint=1206 +T 50800 43100 5 10 1 1 0 0 1 +refdes=R42 +T 50800 42900 5 10 1 1 0 0 1 +value=1K5 +} +N 51400 42700 51600 42700 4 +C 52700 43800 1 180 0 input-1.sym +{ +T 52700 43500 5 10 0 0 180 0 1 +device=INPUT +T 52300 43400 5 10 1 1 0 0 1 +netname=+5V +} +C 52700 41800 1 180 0 input-1.sym +{ +T 52700 41500 5 10 0 0 180 0 1 +device=INPUT +T 52000 41900 5 10 1 1 0 0 1 +netname=GND_ON } -C 56600 49500 1 270 0 resistor-2.sym +N 51900 41700 50400 41700 4 +N 50300 42700 50500 42700 4 +N 50400 42700 50400 42600 4 +N 51600 43700 51900 43700 4 +C 50300 42800 1 180 0 output-1.sym { -T 56950 49100 5 10 0 0 270 0 1 +T 50200 42500 5 10 0 0 180 0 1 +device=OUTPUT +T 49400 42900 5 10 1 1 0 0 1 +netname=AMB_SENSE +} +T 49400 43200 9 10 1 0 0 0 3 +Ambient light sensor +(refdes 4x) + +C 42300 50600 1 270 0 capacitor-2.sym +{ +T 42800 50600 5 10 1 1 270 0 1 +refdes=C30 +T 42800 50100 5 10 1 1 270 0 1 +value=680uF +T 43000 50400 5 10 0 0 270 0 1 +device=POLARIZED_CAPACITOR +T 43200 50400 5 10 0 0 270 0 1 +symversion=0.1 +T 42500 50700 5 10 0 1 0 0 1 +footprint=1210 +} +N 43300 49700 43300 49400 4 +N 42500 49700 42500 49400 4 +N 42500 50600 42500 50900 4 +N 45500 50300 45500 50600 4 +N 46300 50300 46300 50600 4 +N 49800 48500 56100 48500 4 +C 49000 49700 1 0 0 input-1.sym +{ +T 49000 50000 5 10 0 0 0 0 1 +device=INPUT +T 48600 49700 5 10 1 1 0 0 1 +netname=+5V +} +C 49000 48400 1 0 0 input-1.sym +{ +T 49000 48700 5 10 0 0 0 0 1 +device=INPUT +T 48500 48400 5 10 1 1 0 0 1 +netname=GND +} +C 49000 49300 1 0 0 input-1.sym +{ +T 49000 49600 5 10 0 0 0 0 1 +device=INPUT +T 48400 49300 5 10 1 1 0 0 1 +netname=PWM1 +} +C 56100 49600 1 0 0 output-1.sym +{ +T 56200 49900 5 10 0 0 0 0 1 +device=OUTPUT +T 55700 49400 5 10 1 1 0 0 1 +netname=LED1SENSE+ +} +N 49800 49800 50100 49800 4 +N 50100 49800 50100 49600 4 +C 49000 50600 1 0 0 input-1.sym +{ +T 49000 50900 5 10 0 0 0 0 1 +device=INPUT +T 48500 50600 5 10 1 1 0 0 1 +netname=Vbat +} +C 56100 48400 1 0 0 output-1.sym +{ +T 56200 48700 5 10 0 0 0 0 1 +device=OUTPUT +T 55700 48700 5 10 1 1 0 0 1 +netname=LED12SENSE- +} +C 54400 49600 1 0 0 resistor-2.sym +{ +T 54800 49950 5 10 0 0 0 0 1 device=RESISTOR -T 56400 49500 5 10 1 1 270 0 1 +T 54500 49900 5 10 1 1 0 0 1 refdes=R11 -T 56400 49000 5 10 1 1 270 0 1 +T 54400 49600 5 10 0 1 90 0 1 +footprint=0805 +T 54900 49900 5 10 1 1 0 0 1 value=1K5 -T 56600 49500 5 10 0 1 0 0 1 -footprint=1206 } -C 49300 43700 1 270 0 capacitor-1.sym +C 55100 49600 1 270 0 capacitor-1.sym { -T 50000 43500 5 10 0 0 270 0 1 +T 55800 49400 5 10 0 0 270 0 1 device=CAPACITOR -T 49800 43600 5 10 1 1 270 0 1 -refdes=C33 -T 50200 43500 5 10 0 0 270 0 1 +T 55400 49600 5 10 1 1 270 0 1 +refdes=C12 +T 56000 49400 5 10 0 0 270 0 1 symversion=0.1 -T 49800 43100 5 10 1 1 270 0 1 -value=220nF -T 49300 43700 5 10 0 1 0 0 1 +T 55100 49600 5 10 0 1 270 0 1 footprint=1206 +T 55400 49100 5 10 1 1 270 0 1 +value=220nF } -C 55700 48300 1 0 0 capacitor-1.sym +N 55300 49600 55300 49700 4 +N 55300 49700 56100 49700 4 +N 55300 48700 55300 48500 4 +C 53500 49600 1 270 0 capacitor-1.sym { -T 55900 49000 5 10 0 0 0 0 1 +T 54200 49400 5 10 0 0 270 0 1 device=CAPACITOR -T 55700 48200 5 10 1 1 0 0 1 -refdes=C13 -T 55900 49200 5 10 0 0 0 0 1 +T 53800 49600 5 10 1 1 270 0 1 +refdes=C11 +T 54400 49400 5 10 0 0 270 0 1 symversion=0.1 -T 56100 48200 5 10 1 1 0 0 1 -value=220nF -T 55700 48300 5 10 0 1 0 0 1 +T 53500 49600 5 10 0 1 270 0 1 footprint=1206 +T 53800 49100 5 10 1 1 270 0 1 +value=220nF +} +C 50000 44200 1 0 0 mcp14628-1.sym +{ +T 52800 46800 5 10 0 0 0 0 1 +device=MCP14628 +T 52800 46200 5 10 0 0 0 0 1 +footprint=SO8 +T 50300 45500 5 8 1 1 0 0 1 +value=MCP14728 +T 50300 46800 5 10 1 1 0 0 1 +refdes=U20 +} +C 52100 46600 1 0 0 irl6732pbf-1.sym +{ +T 53300 48200 5 10 0 0 0 0 1 +device=IRL6732PBF +T 53300 47600 5 10 0 0 0 0 1 +footprint=SO8 +T 52100 46600 5 10 0 1 0 0 1 +value=IRL6372PBF +T 52900 47500 5 10 1 1 0 0 1 +refdes=Q20 +T 52900 47300 5 10 1 0 0 0 1 +slot=2 +} +C 52100 45400 1 0 0 irl6732pbf-1.sym +{ +T 53300 47000 5 10 0 0 0 0 1 +device=IRL6732PBF +T 53300 46400 5 10 0 0 0 0 1 +footprint=SO8 +T 52100 45400 5 10 0 1 0 0 1 +value=IRL6372PBF +T 53000 45700 5 10 1 1 0 0 1 +refdes=Q20 +T 52900 45500 5 10 1 0 0 0 1 +slot=1 +} +C 56900 47100 1 0 1 connector2-1.sym +{ +T 56700 48100 5 10 0 0 0 6 1 +device=CONNECTOR_2 +T 56900 47100 5 10 0 1 180 6 1 +footprint=PS_2PIN.fp +T 56900 47100 5 10 0 1 180 6 1 +value=x +T 56900 46900 5 10 1 1 0 6 1 +refdes=LED_2 +} +C 52800 46400 1 0 0 inductor-1.sym +{ +T 53000 46900 5 10 0 0 0 0 1 +device=INDUCTOR +T 53000 47100 5 10 0 0 0 0 1 +symversion=0.1 +T 52800 46400 5 10 0 1 0 0 1 +footprint=RCY200 +T 53000 46700 5 10 1 1 0 0 1 +refdes=L20 +T 52900 46300 5 10 1 1 0 0 1 +value=470uH +} +C 54300 46400 1 270 0 resistor-2.sym +{ +T 54650 46000 5 10 0 0 270 0 1 +device=RESISTOR +T 54300 46400 5 10 0 1 0 0 1 +footprint=0805 +T 54600 46400 5 10 1 1 270 0 1 +refdes=R20 +T 54600 46000 5 10 1 1 270 0 1 +value=R033 } -C 50900 46800 1 270 0 capacitor-1.sym +N 49800 46300 50100 46300 4 +N 50100 45400 50100 46100 4 +N 52100 45900 51800 45900 4 { -T 51600 46600 5 10 0 0 270 0 1 +T 52100 45900 5 10 0 1 0 0 1 +netname=LOWDR_10 +} +N 52700 46400 52700 46600 4 +N 52000 46500 52800 46500 4 +{ +T 52000 46500 5 10 0 1 0 0 1 +netname=PHASE_10 +} +N 52500 46500 52500 46400 4 +N 52000 46100 52000 47200 4 +N 52000 46100 51800 46100 4 +C 50600 47000 1 0 0 capacitor-1.sym +{ +T 50800 47700 5 10 0 0 0 0 1 device=CAPACITOR -T 51400 46900 5 10 1 1 270 0 1 -refdes=C21 -T 51800 46600 5 10 0 0 270 0 1 +T 50800 47900 5 10 0 0 0 0 1 symversion=0.1 -T 51400 46400 5 10 1 1 270 0 1 -value=220nF -T 50900 46800 5 10 0 0 0 0 1 +T 50600 47000 5 10 0 1 0 0 1 footprint=1206 +T 50600 47300 5 10 1 1 0 0 1 +refdes=C20 +T 51200 47300 5 10 1 1 0 0 1 +value=220nF } -N 55000 44100 50600 44100 4 -N 49700 44100 48100 44100 4 -N 49500 44100 49500 43700 4 -N 49500 42800 49500 41600 4 -N 56600 48500 56700 48500 4 -N 56700 49600 56700 49500 4 -N 56700 48100 56700 48600 4 -N 54700 47500 52100 47500 4 -N 51100 48000 51100 46800 4 -N 51200 47500 51100 47500 4 -N 51100 45900 51100 44600 4 -N 43900 48600 46000 48600 4 -N 48000 40500 47500 40500 4 -N 47500 40800 47900 40800 4 -N 47800 41100 47500 41100 4 -C 46300 43800 1 270 0 capacitor-1.sym -{ -T 47000 43600 5 10 0 0 270 0 1 +N 51800 46900 51800 46500 4 +N 51500 47200 52000 47200 4 +N 51800 46300 51900 46300 4 +N 51900 46300 51900 47100 4 +{ +T 51900 46300 5 10 0 1 0 0 1 +netname=HIGHDR_10 +} +N 51900 47100 52100 47100 4 +N 53700 45600 53700 45400 4 +N 53700 46500 53700 47600 4 +N 53700 47600 55200 47600 4 +{ +T 53900 47400 5 8 1 1 0 0 1 +netname=LED2+ +} +N 54400 46400 54400 47300 4 +N 51800 46900 50600 46900 4 +N 50600 46900 50600 47200 4 +{ +T 50600 46900 5 10 0 1 0 0 1 +netname=BOOT_10 +} +N 54400 45500 54400 45400 4 +N 52700 47600 49800 47600 4 +N 54400 47300 55200 47300 4 +N 52700 46400 52500 46400 4 +N 49800 45400 56100 45400 4 +C 49000 46600 1 0 0 input-1.sym +{ +T 49000 46900 5 10 0 0 0 0 1 +device=INPUT +T 48600 46600 5 10 1 1 0 0 1 +netname=+5V +} +C 49000 45300 1 0 0 input-1.sym +{ +T 49000 45600 5 10 0 0 0 0 1 +device=INPUT +T 48500 45300 5 10 1 1 0 0 1 +netname=GND +} +C 49000 46200 1 0 0 input-1.sym +{ +T 49000 46500 5 10 0 0 0 0 1 +device=INPUT +T 48400 46200 5 10 1 1 0 0 1 +netname=PWM2 +} +C 56100 46500 1 0 0 output-1.sym +{ +T 56200 46800 5 10 0 0 0 0 1 +device=OUTPUT +T 55700 46300 5 10 1 1 0 0 1 +netname=LED2SENSE+ +} +N 49800 46700 50100 46700 4 +N 50100 46700 50100 46500 4 +C 49000 47500 1 0 0 input-1.sym +{ +T 49000 47800 5 10 0 0 0 0 1 +device=INPUT +T 48500 47500 5 10 1 1 0 0 1 +netname=Vbat +} +C 56100 45300 1 0 0 output-1.sym +{ +T 56200 45600 5 10 0 0 0 0 1 +device=OUTPUT +T 55700 45600 5 10 1 1 0 0 1 +netname=LED12SENSE- +} +C 54400 46500 1 0 0 resistor-2.sym +{ +T 54800 46850 5 10 0 0 0 0 1 +device=RESISTOR +T 54400 46500 5 10 0 1 90 0 1 +footprint=0805 +T 54500 46800 5 10 1 1 0 0 1 +refdes=R21 +T 54900 46800 5 10 1 1 0 0 1 +value=1K5 +} +C 55100 46500 1 270 0 capacitor-1.sym +{ +T 55800 46300 5 10 0 0 270 0 1 device=CAPACITOR -T 46800 43900 5 10 1 1 270 0 1 -refdes=C50 -T 47200 43600 5 10 0 0 270 0 1 +T 56000 46300 5 10 0 0 270 0 1 symversion=0.1 -T 46800 43400 5 10 1 1 270 0 1 -value=220nF -T 46300 43800 5 10 0 0 0 0 1 +T 55100 46500 5 10 0 1 270 0 1 footprint=1206 +T 55400 46500 5 10 1 1 270 0 1 +refdes=C22 +T 55400 46000 5 10 1 1 270 0 1 +value=220nF } -C 44900 43800 1 270 0 capacitor-1.sym +N 55300 46500 55300 46600 4 +N 55300 46600 56100 46600 4 +N 55300 45600 55300 45400 4 +C 53500 46500 1 270 0 capacitor-1.sym { -T 45600 43600 5 10 0 0 270 0 1 +T 54200 46300 5 10 0 0 270 0 1 device=CAPACITOR -T 45400 43900 5 10 1 1 270 0 1 -refdes=C51 -T 45800 43600 5 10 0 0 270 0 1 +T 54400 46300 5 10 0 0 270 0 1 symversion=0.1 -T 45400 43400 5 10 1 1 270 0 1 -value=220nF -T 44900 43800 5 10 0 0 0 0 1 +T 53500 46500 5 10 0 1 270 0 1 footprint=1206 +T 53800 46500 5 10 1 1 270 0 1 +refdes=C21 +T 53800 46000 5 10 1 1 270 0 1 +value=220nF } -C 46700 44600 1 0 0 resistor-2.sym +T 50300 45200 9 10 1 0 0 0 1 +Step-down converter LED 2 (refdes 2x) +C 48700 42500 1 0 1 connector6-1.sym { -T 47100 44950 5 10 0 0 0 0 1 -device=RESISTOR -T 46800 44900 5 10 1 1 0 0 1 -refdes=R50 -T 47200 44900 5 10 1 1 0 0 1 -value=1K5 -T 46700 44600 5 10 0 0 0 0 1 -footprint=1206 +T 46900 44300 5 10 0 0 0 6 1 +device=CONNECTOR_6 +T 48600 44500 5 10 1 1 0 6 1 +refdes=Handlebar +} +C 45800 43500 1 0 0 input-1.sym +{ +T 45800 43800 5 10 0 0 0 0 1 +device=INPUT +T 45300 43500 5 10 1 1 0 0 1 +netname=GND +} +C 45800 42800 1 180 1 input-1.sym +{ +T 45800 42500 5 10 0 0 180 6 1 +device=INPUT +T 45700 42600 5 10 1 1 0 6 1 +netname=GND_ON +} +C 45800 43400 1 180 1 input-1.sym +{ +T 45800 43100 5 10 0 0 180 6 1 +device=INPUT +T 45700 43200 5 10 1 1 0 6 1 +netname=+5V +} +C 46600 43100 1 180 0 output-1.sym +{ +T 46500 42800 5 10 0 0 180 0 1 +device=OUTPUT +T 45100 42900 5 10 1 1 0 0 1 +netname=BRAKE +} +C 46600 44000 1 180 0 output-1.sym +{ +T 46500 43700 5 10 0 0 180 0 1 +device=OUTPUT +T 45300 43800 5 10 1 1 0 0 1 +netname=SW2 +} +C 46600 44300 1 180 0 output-1.sym +{ +T 46500 44000 5 10 0 0 180 0 1 +device=OUTPUT +T 45300 44100 5 10 1 1 0 0 1 +netname=SW1 +} +N 46600 44200 47000 44200 4 +N 46600 43900 47000 43900 4 +N 46600 43600 47000 43600 4 +N 46600 43300 47000 43300 4 +N 46600 43000 47000 43000 4 +N 46600 42700 47000 42700 4 +C 45600 40400 1 180 1 input-1.sym +{ +T 45600 40100 5 10 0 0 180 6 1 +device=INPUT +T 46000 40500 5 10 1 1 0 6 1 +netname=GND } -C 45300 44200 1 0 0 resistor-2.sym +C 45600 41400 1 180 1 input-1.sym { -T 45700 44550 5 10 0 0 0 0 1 +T 45600 41100 5 10 0 0 180 6 1 +device=INPUT +T 46600 41500 5 10 1 1 0 6 1 +netname=GNDON_EN +} +N 47800 41300 47400 41300 4 +N 46400 40300 47600 40300 4 +C 46500 41300 1 270 0 resistor-2.sym +{ +T 46850 40900 5 10 0 0 270 0 1 device=RESISTOR -T 45400 44500 5 10 1 1 0 0 1 -refdes=R51 -T 45800 44500 5 10 1 1 0 0 1 -value=1K5 -T 45300 44200 5 10 0 0 0 0 1 +T 46800 41200 5 10 1 1 270 0 1 +refdes=R7 +T 46500 41300 5 10 0 1 270 0 1 footprint=1206 +T 46800 40800 5 10 1 1 270 0 1 +value=15K +} +N 46400 41300 47000 41300 4 +N 47000 41300 47000 40800 4 +N 46600 40400 46600 40300 4 +C 47800 41400 1 180 1 output-1.sym +{ +T 47900 41100 5 10 0 0 180 6 1 +device=OUTPUT +T 48600 41500 5 10 1 1 0 6 1 +netname=GND_ON +} +C 43600 40700 1 0 0 irl6732pbf-1.sym +{ +T 44800 42300 5 10 0 0 0 0 1 +device=IRL6732PBF +T 44800 41700 5 10 0 0 0 0 1 +footprint=SO8 +T 43600 40700 5 10 0 1 0 0 1 +value=IRL6372PBF +T 44400 41600 5 10 1 1 0 0 1 +refdes=Q01 +T 44400 41400 5 10 1 0 0 0 1 +slot=2 } -N 48400 45700 48400 44300 4 -N 48400 44300 46200 44300 4 -N 47600 44700 48300 44700 4 -N 48300 44700 48300 45900 4 -N 47200 45900 47600 45900 4 -N 46500 43800 46500 45300 4 -N 46500 42900 46500 41600 4 -N 45100 42900 45100 41600 4 -N 45100 43800 45100 45500 4 -N 46500 44700 46700 44700 4 -N 45100 44300 45300 44300 4 -N 45100 45500 47300 45500 4 -N 47300 45500 47300 45700 4 -N 47300 45700 47200 45700 4 -N 46500 45300 47600 45300 4 -N 47600 45300 47600 45900 4