rcluze 10 лет назад
Родитель
Сommit
28440b7375

+ 21 - 0
Controle/carte/librairies/b6.kicad_mod

@@ -0,0 +1,21 @@
+(module b6 (layer F.Cu) (tedit 570E1FEE)
+  (fp_text reference REF** (at 0.7493 6.6675) (layer F.SilkS)
+    (effects (font (size 1 1) (thickness 0.15)))
+  )
+  (fp_text value b6 (at 0.6096 -6.1849) (layer F.Fab)
+    (effects (font (size 1 1) (thickness 0.15)))
+  )
+  (fp_line (start 7.874 -3.048) (end 7.874 3.556) (layer F.SilkS) (width 0.15))
+  (fp_line (start 0 -3.048) (end 7.874 -3.048) (layer F.SilkS) (width 0.15))
+  (fp_line (start -7.874 -3.048) (end 0 -3.048) (layer F.SilkS) (width 0.15))
+  (fp_line (start -7.874 -3.048) (end 0 -3.048) (layer F.SilkS) (width 0.15))
+  (fp_line (start -7.874 -3.048) (end 0 -3.048) (layer F.SilkS) (width 0.15))
+  (fp_line (start -7.874 -3.048) (end 0 -3.048) (layer F.SilkS) (width 0.15))
+  (fp_line (start -7.874 3.429) (end -7.874 -3.048) (layer F.SilkS) (width 0.15))
+  (pad 3 thru_hole circle (at -1.143 0) (size 1.524 1.524) (drill 0.82) (layers *.Cu *.Mask F.SilkS))
+  (pad 2 thru_hole circle (at -3.683 0) (size 1.524 1.524) (drill 0.82) (layers *.Cu *.Mask F.SilkS))
+  (pad 1 thru_hole rect (at -6.223 0) (size 1.524 1.524) (drill 0.82) (layers *.Cu *.Mask F.SilkS))
+  (pad 4 thru_hole circle (at 1.397 0) (size 1.524 1.524) (drill 0.82) (layers *.Cu *.Mask F.SilkS))
+  (pad 5 thru_hole circle (at 3.937 0) (size 1.524 1.524) (drill 0.82) (layers *.Cu *.Mask F.SilkS))
+  (pad 6 thru_hole circle (at 6.477 0) (size 1.524 1.524) (drill 0.82) (layers *.Cu *.Mask F.SilkS))
+)

+ 26 - 0
Controle/carte/proc-cache.lib

@@ -166,6 +166,32 @@ X 2 2 150 0 50 L 40 40 1 1 P
 ENDDRAW
 ENDDEF
 #
+# LED
+#
+DEF LED D 0 40 Y N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "LED" 0 -100 50 H V C CNN
+F2 "" 0 0 50 H V C CNN
+F3 "" 0 0 50 H V C CNN
+$FPLIST
+ LED-3MM
+ LED-5MM
+ LED-10MM
+ LED-0603
+ LED-0805
+ LED-1206
+ LEDV
+$ENDFPLIST
+DRAW
+P 2 0 1 0  -50 50  -50 -50 N
+P 3 0 1 0  -80 -25  -125 -65  -120 -40 N
+P 3 0 1 0  -65 -40  -110 -80  -105 -55 N
+P 3 0 1 0  50 50  -50 0  50 -50 F
+X K 1 -200 0 150 R 40 40 1 1 P
+X A 2 200 0 150 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
 # LM317_SOT223
 #
 DEF LM317_SOT223 U 0 40 Y Y 1 F N

+ 55 - 55
Controle/carte/proc.bak

@@ -71,7 +71,7 @@ L Crystal Y1
 U 1 1 56C0750D
 P 10500 1800
 F 0 "Y1" H 10500 1950 50  0000 C CNN
-F 1 "Crystal" H 10500 1650 50  0000 C CNN
+F 1 "32.768K" H 10500 1650 50  0000 C CNN
 F 2 "" H 10500 1800 50  0001 C CNN
 F 3 "" H 10500 1800 50  0000 C CNN
 	1    10500 1800
@@ -93,7 +93,7 @@ L C C4
 U 1 1 56C61578
 P 10350 2250
 F 0 "C4" H 10375 2350 50  0000 L CNN
-F 1 "12pf" H 10375 2150 50  0000 L CNN
+F 1 "12p" H 10375 2150 50  0000 L CNN
 F 2 "Capacitors_SMD:C_0603" H 10388 2100 50  0001 C CNN
 F 3 "" H 10350 2250 50  0000 C CNN
 	1    10350 2250
@@ -104,7 +104,7 @@ L C C5
 U 1 1 56C615B7
 P 10650 2250
 F 0 "C5" H 10675 2350 50  0000 L CNN
-F 1 "12pf" H 10675 2150 50  0000 L CNN
+F 1 "12p" H 10675 2150 50  0000 L CNN
 F 2 "Capacitors_SMD:C_0603" H 10688 2100 50  0001 C CNN
 F 3 "" H 10650 2250 50  0000 C CNN
 	1    10650 2250
@@ -161,7 +161,7 @@ L R R4
 U 1 1 56C84A2E
 P 9400 3900
 F 0 "R4" V 9480 3900 50  0000 C CNN
-F 1 "390" V 9400 3900 50  0000 C CNN
+F 1 "510" V 9400 3900 50  0000 C CNN
 F 2 "Resistors_SMD:R_0603" V 9330 3900 50  0001 C CNN
 F 3 "" H 9400 3900 50  0000 C CNN
 	1    9400 3900
@@ -172,7 +172,7 @@ L R R5
 U 1 1 56C84A83
 P 10100 3700
 F 0 "R5" V 10180 3700 50  0000 C CNN
-F 1 "240" V 10100 3700 50  0000 C CNN
+F 1 "330" V 10100 3700 50  0000 C CNN
 F 2 "Resistors_SMD:R_0603" V 10030 3700 50  0001 C CNN
 F 3 "" H 10100 3700 50  0000 C CNN
 	1    10100 3700
@@ -183,7 +183,7 @@ L CP1 C8
 U 1 1 56C84AD6
 P 10400 3700
 F 0 "C8" H 10425 3800 50  0000 L CNN
-F 1 "10µf" H 10425 3600 50  0000 L CNN
+F 1 "10µ" H 10425 3600 50  0000 L CNN
 F 2 "" H 10400 3700 50  0001 C CNN
 F 3 "" H 10400 3700 50  0000 C CNN
 	1    10400 3700
@@ -207,7 +207,7 @@ L C C3
 U 1 1 57054B1D
 P 5150 7150
 F 0 "C3" H 5175 7250 50  0000 L CNN
-F 1 "100nf" H 5175 7050 50  0000 L CNN
+F 1 "100n" H 5175 7050 50  0000 L CNN
 F 2 "Capacitors_SMD:C_0603" H 5188 7000 50  0001 C CNN
 F 3 "" H 5150 7150 50  0000 C CNN
 	1    5150 7150
@@ -218,7 +218,7 @@ L C C2
 U 1 1 57054BC2
 P 5850 7150
 F 0 "C2" H 5875 7250 50  0000 L CNN
-F 1 "100nf" H 5875 7050 50  0000 L CNN
+F 1 "100n" H 5875 7050 50  0000 L CNN
 F 2 "Capacitors_SMD:C_0603" H 5888 7000 50  0001 C CNN
 F 3 "" H 5850 7150 50  0000 C CNN
 	1    5850 7150
@@ -229,7 +229,7 @@ L C C1
 U 1 1 57054C33
 P 6550 7150
 F 0 "C1" H 6575 7250 50  0000 L CNN
-F 1 "10nf" H 6575 7050 50  0000 L CNN
+F 1 "10n" H 6575 7050 50  0000 L CNN
 F 2 "Capacitors_SMD:C_0603" H 6588 7000 50  0001 C CNN
 F 3 "" H 6550 7150 50  0000 C CNN
 	1    6550 7150
@@ -423,24 +423,16 @@ Text Label 9200 4950 2    60   ~ 0
 s4
 Text Label 9200 5050 2    60   ~ 0
 s5
-Text Label 9200 5900 2    60   ~ 0
+Text Label 9200 5150 2    60   ~ 0
 s6
-Text Label 9200 6000 2    60   ~ 0
+Text Label 9200 5600 2    60   ~ 0
 s7
-Text Label 9200 6100 2    60   ~ 0
+Text Label 9200 5700 2    60   ~ 0
 s8
-Text Label 9200 6200 2    60   ~ 0
+Text Label 9200 5800 2    60   ~ 0
 s9
-Text Label 9200 6300 2    60   ~ 0
+Text Label 9200 5900 2    60   ~ 0
 s10
-Wire Wire Line
-	9200 4950 9250 4950
-Wire Wire Line
-	9200 4850 9250 4850
-Wire Wire Line
-	9200 4750 9250 4750
-Wire Wire Line
-	9200 4650 9250 4650
 Wire Wire Line
 	10550 4750 10600 4750
 Wire Wire Line
@@ -533,8 +525,6 @@ NoConn ~ 5000 4800
 NoConn ~ 5000 4900
 NoConn ~ 5000 5000
 NoConn ~ 5000 5100
-NoConn ~ 5000 2800
-NoConn ~ 5000 2900
 NoConn ~ 5000 3000
 NoConn ~ 5000 3300
 NoConn ~ 1400 4700
@@ -574,7 +564,7 @@ L SW_PUSH SW1
 U 1 1 57061862
 P 7400 950
 F 0 "SW1" H 7550 1060 50  0000 C CNN
-F 1 "SW_PUSH" H 7400 870 50  0000 C CNN
+F 1 "boot" H 7400 870 50  0000 C CNN
 F 2 "" H 7400 950 50  0001 C CNN
 F 3 "" H 7400 950 50  0000 C CNN
 	1    7400 950 
@@ -629,7 +619,7 @@ L SW_PUSH SW2
 U 1 1 57061F5B
 P 7400 1800
 F 0 "SW2" H 7550 1910 50  0000 C CNN
-F 1 "SW_PUSH" H 7400 1720 50  0000 C CNN
+F 1 "reset" H 7400 1720 50  0000 C CNN
 F 2 "" H 7400 1800 50  0001 C CNN
 F 3 "" H 7400 1800 50  0000 C CNN
 	1    7400 1800
@@ -640,7 +630,7 @@ L C C9
 U 1 1 57061F61
 P 7400 2100
 F 0 "C9" H 7425 2200 50  0000 L CNN
-F 1 "1µf" H 7425 2000 50  0000 L CNN
+F 1 "1µ" H 7425 2000 50  0000 L CNN
 F 2 "Capacitors_SMD:C_0603" H 7438 1950 50  0001 C CNN
 F 3 "" H 7400 2100 50  0000 C CNN
 	1    7400 2100
@@ -673,10 +663,10 @@ swdio
 Text Label 5000 3200 0    60   ~ 0
 swclk
 $Comp
-L CONN_01X05 P4
+L CONN_01X05 P2
 U 1 1 57062F1C
 P 10800 6100
-F 0 "P4" H 10800 6400 50  0000 C CNN
+F 0 "P2" H 10800 6400 50  0000 C CNN
 F 1 "Debug" V 10900 6100 50  0000 C CNN
 F 2 "" H 10800 6100 50  0001 C CNN
 F 3 "" H 10800 6100 50  0000 C CNN
@@ -700,7 +690,7 @@ L C C6
 U 1 1 570643C7
 P 9450 1600
 F 0 "C6" H 9475 1700 50  0000 L CNN
-F 1 "4.7µf" H 9475 1500 50  0000 L CNN
+F 1 "4.7µ" H 9475 1500 50  0000 L CNN
 F 2 "" H 9488 1450 50  0001 C CNN
 F 3 "" H 9450 1600 50  0000 C CNN
 	1    9450 1600
@@ -711,35 +701,11 @@ Wire Wire Line
 Text Label 9450 1750 3    60   ~ 0
 vss
 $Comp
-L CONN_01X05 P3
-U 1 1 570650D5
-P 9400 6100
-F 0 "P3" H 9400 6400 50  0000 C CNN
-F 1 "B2" V 9500 6100 50  0000 C CNN
-F 2 "" H 9400 6100 50  0001 C CNN
-F 3 "" H 9400 6100 50  0000 C CNN
-	1    9400 6100
-	1    0    0    -1  
-$EndComp
-$Comp
-L CONN_01X05 P2
-U 1 1 5706513C
-P 9450 4850
-F 0 "P2" H 9450 5150 50  0000 C CNN
-F 1 "B1" V 9550 4850 50  0000 C CNN
-F 2 "" H 9450 4850 50  0001 C CNN
-F 3 "" H 9450 4850 50  0000 C CNN
-	1    9450 4850
-	1    0    0    -1  
-$EndComp
-Wire Wire Line
-	9250 5050 9200 5050
-$Comp
 L CP1 C7
 U 1 1 570673A6
 P 8850 3650
 F 0 "C7" H 8875 3750 50  0000 L CNN
-F 1 "100nf" H 8875 3550 50  0000 L CNN
+F 1 "100n" H 8875 3550 50  0000 L CNN
 F 2 "" H 8850 3650 50  0001 C CNN
 F 3 "" H 8850 3650 50  0000 C CNN
 	1    8850 3650
@@ -7180,4 +7146,38 @@ NoConn ~ -1400 -18500
 NoConn ~ -1450 -18500
 NoConn ~ -1500 -18500
 NoConn ~ -1550 -18500
+Text Label 9200 6000 2    60   ~ 0
+s11
+Text Label 9200 6100 2    60   ~ 0
+s12
+$Comp
+L CONN_01X06 P3
+U 1 1 570CFB57
+P 9400 4900
+F 0 "P3" H 9400 5250 50  0000 C CNN
+F 1 "CONN_01X06" V 9500 4900 50  0000 C CNN
+F 2 "" H 9400 4900 50  0000 C CNN
+F 3 "" H 9400 4900 50  0000 C CNN
+	1    9400 4900
+	1    0    0    -1  
+$EndComp
+$Comp
+L CONN_01X06 P4
+U 1 1 570CFBC4
+P 9400 5850
+F 0 "P4" H 9400 6200 50  0000 C CNN
+F 1 "CONN_01X06" V 9500 5850 50  0000 C CNN
+F 2 "" H 9400 5850 50  0000 C CNN
+F 3 "" H 9400 5850 50  0000 C CNN
+	1    9400 5850
+	1    0    0    -1  
+$EndComp
+Text Label 5200 2800 0    60   ~ 0
+s11
+Text Label 5200 2900 0    60   ~ 0
+s12
+Wire Wire Line
+	5000 2800 5200 2800
+Wire Wire Line
+	5200 2900 5000 2900
 $EndSCHEMATC

+ 203 - 182
Controle/carte/proc.net

@@ -1,7 +1,7 @@
 (export (version D)
   (design
-    (source C:/Users/rcluze/Documents/autres/rampesLeds/Controle/carte/proc.sch)
-    (date "11/04/2016 16:26:50")
+    (source C:\Users\rcluze\Documents\autres\rampesLeds\Controle\carte\proc.sch)
+    (date "13/04/2016 12:36:04")
     (tool "Eeschema 4.0.1-stable")
     (sheet (number 1) (name /) (tstamps /)
       (title_block
@@ -27,7 +27,7 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 56C074B0))
     (comp (ref Y1)
-      (value Crystal)
+      (value 32.768K)
       (libsource (lib device) (part Crystal))
       (sheetpath (names /) (tstamps /))
       (tstamp 56C0750D))
@@ -37,13 +37,13 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 56C6117C))
     (comp (ref C4)
-      (value 12pf)
+      (value 12p)
       (footprint Capacitors_SMD:C_0603)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
       (tstamp 56C61578))
     (comp (ref C5)
-      (value 12pf)
+      (value 12p)
       (footprint Capacitors_SMD:C_0603)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
@@ -72,19 +72,19 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 56C8498F))
     (comp (ref R4)
-      (value 390)
+      (value 510)
       (footprint Resistors_SMD:R_0603)
       (libsource (lib device) (part R))
       (sheetpath (names /) (tstamps /))
       (tstamp 56C84A2E))
     (comp (ref R5)
-      (value 240)
+      (value 330)
       (footprint Resistors_SMD:R_0603)
       (libsource (lib device) (part R))
       (sheetpath (names /) (tstamps /))
       (tstamp 56C84A83))
     (comp (ref C8)
-      (value 10µf)
+      (value 10µ)
       (libsource (lib device) (part CP1))
       (sheetpath (names /) (tstamps /))
       (tstamp 56C84AD6))
@@ -94,19 +94,19 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 56C85860))
     (comp (ref C3)
-      (value 100nf)
+      (value 100n)
       (footprint Capacitors_SMD:C_0603)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
       (tstamp 57054B1D))
     (comp (ref C2)
-      (value 100nf)
+      (value 100n)
       (footprint Capacitors_SMD:C_0603)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
       (tstamp 57054BC2))
     (comp (ref C1)
-      (value 10nf)
+      (value 10n)
       (footprint Capacitors_SMD:C_0603)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
@@ -118,7 +118,7 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 5706178B))
     (comp (ref SW1)
-      (value SW_PUSH)
+      (value boot)
       (libsource (lib device) (part SW_PUSH))
       (sheetpath (names /) (tstamps /))
       (tstamp 57061862))
@@ -135,46 +135,48 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 57061F55))
     (comp (ref SW2)
-      (value SW_PUSH)
+      (value reset)
       (libsource (lib device) (part SW_PUSH))
       (sheetpath (names /) (tstamps /))
       (tstamp 57061F5B))
     (comp (ref C9)
-      (value 1µf)
+      (value 1µ)
       (footprint Capacitors_SMD:C_0603)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
       (tstamp 57061F61))
-    (comp (ref P4)
+    (comp (ref P2)
       (value Debug)
+      (footprint Pin_Headers:Pin_Header_Straight_1x05)
       (libsource (lib conn) (part CONN_01X05))
       (sheetpath (names /) (tstamps /))
       (tstamp 57062F1C))
     (comp (ref C6)
-      (value 4.7µf)
+      (value 4.7µ)
       (libsource (lib device) (part C))
       (sheetpath (names /) (tstamps /))
       (tstamp 570643C7))
-    (comp (ref P3)
-      (value B2)
-      (libsource (lib conn) (part CONN_01X05))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 570650D5))
-    (comp (ref P2)
-      (value B1)
-      (libsource (lib conn) (part CONN_01X05))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 5706513C))
     (comp (ref C7)
-      (value 100nf)
+      (value 100n)
       (libsource (lib device) (part CP1))
       (sheetpath (names /) (tstamps /))
       (tstamp 570673A6))
     (comp (ref U4)
       (value M24C32)
+      (footprint Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm)
       (libsource (lib m24c32) (part M24C32))
       (sheetpath (names /) (tstamps /))
-      (tstamp 570BBB7C)))
+      (tstamp 570BBB7C))
+    (comp (ref P3)
+      (value CONN_01X06)
+      (libsource (lib conn) (part CONN_01X06))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 570CFB57))
+    (comp (ref P4)
+      (value CONN_01X06)
+      (libsource (lib conn) (part CONN_01X06))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 570CFBC4)))
   (libparts
     (libpart (lib device) (part Battery)
       (fields
@@ -226,6 +228,23 @@
         (pin (num 3) (name P3) (type passive))
         (pin (num 4) (name P4) (type passive))
         (pin (num 5) (name P5) (type passive))))
+    (libpart (lib conn) (part CONN_01X06)
+      (description "Connector 01x06")
+      (footprints
+        (fp Pin_Header_Straight_1X06)
+        (fp Pin_Header_Angled_1X06)
+        (fp Socket_Strip_Straight_1X06)
+        (fp Socket_Strip_Angled_1X06))
+      (fields
+        (field (name Reference) P)
+        (field (name Value) CONN_01X06))
+      (pins
+        (pin (num 1) (name P1) (type passive))
+        (pin (num 2) (name P2) (type passive))
+        (pin (num 3) (name P3) (type passive))
+        (pin (num 4) (name P4) (type passive))
+        (pin (num 5) (name P5) (type passive))
+        (pin (num 6) (name P6) (type passive))))
     (libpart (lib device) (part CP1)
       (description "Polarised capacitor")
       (footprints
@@ -354,187 +373,189 @@
         (pin (num 1) (name 1) (type passive))
         (pin (num 2) (name 2) (type passive)))))
   (libraries
-    (library (logical m24c32)
-      (uri m24c32.lib))
-    (library (logical proc-cache)
-      (uri C:\Users\rcluze\Documents\autres\rampesLeds\Controle\carte\proc-cache.lib))
-    (library (logical regul)
-      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\regul.lib"))
     (library (logical device)
       (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\device.lib"))
     (library (logical conn)
-      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib")))
+      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\conn.lib"))
+    (library (logical regul)
+      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\regul.lib"))
+    (library (logical m24c32)
+      (uri m24c32.lib))
+    (library (logical proc-cache)
+      (uri C:\Users\rcluze\Documents\autres\rampesLeds\Controle\carte\proc-cache.lib)))
   (nets
-    (net (code 1) (name /s8)
-      (node (ref U1) (pin 17))
-      (node (ref P3) (pin 3)))
-    (net (code 2) (name /s9)
-      (node (ref U1) (pin 29))
-      (node (ref P3) (pin 4)))
-    (net (code 3) (name /s7)
-      (node (ref P3) (pin 2))
-      (node (ref U1) (pin 16)))
-    (net (code 4) (name /s6)
-      (node (ref P3) (pin 1))
-      (node (ref U1) (pin 15)))
-    (net (code 5) (name /s5)
-      (node (ref U1) (pin 14))
-      (node (ref P2) (pin 5)))
-    (net (code 6) (name /s4)
-      (node (ref P2) (pin 4))
-      (node (ref U1) (pin 13)))
-    (net (code 7) (name /s3)
+    (net (code 2248) (name /s12)
+      (node (ref U1) (pin 32))
+      (node (ref P4) (pin 6)))
+    (net (code 2249) (name /s11)
+      (node (ref P4) (pin 5))
+      (node (ref U1) (pin 31)))
+    (net (code 4212) (name /vdd)
+      (node (ref U2) (pin 8))
+      (node (ref R3) (pin 1))
+      (node (ref R1) (pin 1))
+      (node (ref U3) (pin 2))
+      (node (ref C1) (pin 2))
+      (node (ref C2) (pin 2))
+      (node (ref C3) (pin 2))
+      (node (ref U1) (pin 24))
+      (node (ref U1) (pin 9))
+      (node (ref U1) (pin 48))
+      (node (ref SW2) (pin 2))
+      (node (ref R5) (pin 1))
+      (node (ref C8) (pin 1))
+      (node (ref R2) (pin 1))
+      (node (ref C6) (pin 1))
+      (node (ref U1) (pin 1))
+      (node (ref SW1) (pin 2))
+      (node (ref P2) (pin 1))
+      (node (ref C9) (pin 1))
+      (node (ref C10) (pin 1)))
+    (net (code 4213) (name /nrst)
+      (node (ref R6) (pin 2))
+      (node (ref U1) (pin 7))
+      (node (ref C10) (pin 2))
+      (node (ref P2) (pin 5))
+      (node (ref SW1) (pin 1)))
+    (net (code 4214) (name /vss)
+      (node (ref U1) (pin 23))
+      (node (ref U1) (pin 8))
+      (node (ref C2) (pin 1))
+      (node (ref C1) (pin 1))
+      (node (ref C4) (pin 2))
+      (node (ref C3) (pin 1))
+      (node (ref C6) (pin 2))
+      (node (ref C7) (pin 2))
+      (node (ref U4) (pin ~))
+      (node (ref U4) (pin ~))
+      (node (ref U4) (pin ~))
+      (node (ref C8) (pin 2))
+      (node (ref R5) (pin 2))
+      (node (ref R4) (pin 2))
+      (node (ref U4) (pin ~))
+      (node (ref P1) (pin 2))
+      (node (ref C5) (pin 2))
+      (node (ref BT1) (pin 2))
       (node (ref P2) (pin 3))
+      (node (ref R7) (pin 1))
+      (node (ref U2) (pin 4))
+      (node (ref U1) (pin 47))
+      (node (ref R6) (pin 1)))
+    (net (code 4215) (name "Net-(U1-Pad36)")
+      (node (ref U1) (pin 36)))
+    (net (code 4216) (name /swdio)
+      (node (ref P2) (pin 4))
+      (node (ref U1) (pin 34)))
+    (net (code 4217) (name /swclk)
+      (node (ref P2) (pin 2))
+      (node (ref U1) (pin 37)))
+    (net (code 4218) (name "Net-(U1-Pad35)")
+      (node (ref U1) (pin 35)))
+    (net (code 4219) (name /s3)
+      (node (ref P3) (pin 3))
       (node (ref U1) (pin 12)))
-    (net (code 8) (name /s2)
+    (net (code 4220) (name /s2)
       (node (ref U1) (pin 11))
-      (node (ref P2) (pin 2)))
-    (net (code 9) (name /s1)
-      (node (ref U1) (pin 10))
-      (node (ref P2) (pin 1)))
-    (net (code 10) (name /s10)
-      (node (ref U1) (pin 30))
-      (node (ref P3) (pin 5)))
-    (net (code 11) (name "Net-(U1-Pad27)")
-      (node (ref U1) (pin 27)))
-    (net (code 12) (name "Net-(U1-Pad35)")
-      (node (ref U1) (pin 35)))
-    (net (code 13) (name "Net-(U1-Pad6)")
+      (node (ref P3) (pin 2)))
+    (net (code 4221) (name /s1)
+      (node (ref P3) (pin 1))
+      (node (ref U1) (pin 10)))
+    (net (code 4222) (name /s10)
+      (node (ref P4) (pin 4))
+      (node (ref U1) (pin 30)))
+    (net (code 4223) (name /s9)
+      (node (ref U1) (pin 29))
+      (node (ref P4) (pin 3)))
+    (net (code 4224) (name /s8)
+      (node (ref U1) (pin 17))
+      (node (ref P4) (pin 2)))
+    (net (code 4225) (name /s7)
+      (node (ref U1) (pin 16))
+      (node (ref P4) (pin 1)))
+    (net (code 4226) (name /s6)
+      (node (ref P3) (pin 6))
+      (node (ref U1) (pin 15)))
+    (net (code 4227) (name /s5)
+      (node (ref P3) (pin 5))
+      (node (ref U1) (pin 14)))
+    (net (code 4228) (name /s4)
+      (node (ref P3) (pin 4))
+      (node (ref U1) (pin 13)))
+    (net (code 4229) (name "Net-(U1-Pad21)")
+      (node (ref U1) (pin 21)))
+    (net (code 4230) (name "Net-(U1-Pad6)")
       (node (ref U1) (pin 6)))
-    (net (code 14) (name "Net-(U1-Pad5)")
+    (net (code 4231) (name "Net-(U1-Pad5)")
       (node (ref U1) (pin 5)))
-    (net (code 15) (name "Net-(U1-Pad4)")
+    (net (code 4232) (name "Net-(U1-Pad4)")
       (node (ref U1) (pin 4)))
-    (net (code 16) (name "Net-(U1-Pad3)")
+    (net (code 4233) (name "Net-(U1-Pad3)")
       (node (ref U1) (pin 3)))
-    (net (code 17) (name "Net-(U1-Pad2)")
+    (net (code 4234) (name "Net-(U1-Pad2)")
       (node (ref U1) (pin 2)))
-    (net (code 18) (name "Net-(U1-Pad38)")
+    (net (code 4235) (name "Net-(U1-Pad38)")
       (node (ref U1) (pin 38)))
-    (net (code 19) (name "Net-(U1-Pad33)")
+    (net (code 4236) (name "Net-(U1-Pad33)")
       (node (ref U1) (pin 33)))
-    (net (code 20) (name "Net-(U1-Pad32)")
-      (node (ref U1) (pin 32)))
-    (net (code 21) (name "Net-(U1-Pad31)")
-      (node (ref U1) (pin 31)))
-    (net (code 22) (name "Net-(U1-Pad28)")
+    (net (code 4237) (name "Net-(U1-Pad28)")
       (node (ref U1) (pin 28)))
-    (net (code 23) (name "Net-(U1-Pad26)")
+    (net (code 4238) (name "Net-(U1-Pad27)")
+      (node (ref U1) (pin 27)))
+    (net (code 4239) (name "Net-(U1-Pad26)")
       (node (ref U1) (pin 26)))
-    (net (code 24) (name "Net-(U1-Pad25)")
+    (net (code 4240) (name "Net-(U1-Pad25)")
       (node (ref U1) (pin 25)))
-    (net (code 25) (name "Net-(U1-Pad22)")
+    (net (code 4241) (name "Net-(U1-Pad22)")
       (node (ref U1) (pin 22)))
-    (net (code 26) (name "Net-(U1-Pad21)")
-      (node (ref U1) (pin 21)))
-    (net (code 27) (name "Net-(U1-Pad46)")
+    (net (code 4242) (name "Net-(U1-Pad46)")
       (node (ref U1) (pin 46)))
-    (net (code 28) (name "Net-(U1-Pad45)")
+    (net (code 4243) (name "Net-(U1-Pad45)")
       (node (ref U1) (pin 45)))
-    (net (code 29) (name "Net-(U1-Pad39)")
+    (net (code 4244) (name "Net-(U1-Pad39)")
       (node (ref U1) (pin 39)))
-    (net (code 30) (name "Net-(U1-Pad20)")
+    (net (code 4245) (name "Net-(U1-Pad20)")
       (node (ref U1) (pin 20)))
-    (net (code 31) (name "Net-(U1-Pad19)")
+    (net (code 4246) (name "Net-(U1-Pad19)")
       (node (ref U1) (pin 19)))
-    (net (code 32) (name "Net-(U1-Pad18)")
+    (net (code 4247) (name "Net-(U1-Pad18)")
       (node (ref U1) (pin 18)))
-    (net (code 33) (name /12V)
+    (net (code 4301) (name /wc)
+      (node (ref U1) (pin 40))
+      (node (ref U4) (pin ~)))
+    (net (code 4303) (name /sda)
+      (node (ref U2) (pin 5))
+      (node (ref U4) (pin ~))
+      (node (ref R3) (pin 2))
+      (node (ref U1) (pin 43)))
+    (net (code 4304) (name /sdl)
+      (node (ref U4) (pin ~))
+      (node (ref U1) (pin 42))
+      (node (ref U2) (pin 6))
+      (node (ref R2) (pin 2)))
+    (net (code 4330) (name /12V)
       (node (ref C7) (pin 1))
       (node (ref P1) (pin 1))
       (node (ref U3) (pin 3)))
-    (net (code 34) (name /mfp)
-      (node (ref U2) (pin 7))
-      (node (ref U1) (pin 41))
-      (node (ref R1) (pin 2)))
-    (net (code 35) (name /sda)
-      (node (ref U1) (pin 43))
-      (node (ref R3) (pin 2))
-      (node (ref U2) (pin 5)))
-    (net (code 36) (name /sdl)
-      (node (ref R2) (pin 2))
-      (node (ref U2) (pin 6))
-      (node (ref U1) (pin 42))
-      (node (ref U4) (pin ~)))
-    (net (code 37) (name "Net-(U1-Pad36)")
-      (node (ref U1) (pin 36)))
-    (net (code 38) (name /swdio)
-      (node (ref U1) (pin 34))
-      (node (ref P4) (pin 4)))
-    (net (code 39) (name /wc)
-      (node (ref U1) (pin 40))
-      (node (ref U4) (pin ~)))
-    (net (code 40) (name "Net-(BT1-Pad1)")
-      (node (ref BT1) (pin 1))
-      (node (ref U2) (pin 3)))
-    (net (code 41) (name "Net-(C5-Pad1)")
-      (node (ref C5) (pin 1))
-      (node (ref Y1) (pin 2))
-      (node (ref U2) (pin 2)))
-    (net (code 42) (name "Net-(C4-Pad1)")
-      (node (ref C4) (pin 1))
-      (node (ref U2) (pin 1))
-      (node (ref Y1) (pin 1)))
-    (net (code 43) (name "Net-(R4-Pad1)")
+    (net (code 4331) (name "Net-(R4-Pad1)")
       (node (ref U3) (pin 1))
       (node (ref R4) (pin 1)))
-    (net (code 44) (name /vss)
-      (node (ref R4) (pin 2))
-      (node (ref C6) (pin 2))
-      (node (ref U1) (pin 47))
-      (node (ref R5) (pin 2))
-      (node (ref C8) (pin 2))
-      (node (ref P1) (pin 2))
-      (node (ref C3) (pin 1))
-      (node (ref P4) (pin 3))
-      (node (ref U1) (pin 8))
-      (node (ref U1) (pin 23))
-      (node (ref R6) (pin 1))
-      (node (ref C2) (pin 1))
-      (node (ref C1) (pin 1))
-      (node (ref U4) (pin ~))
-      (node (ref U2) (pin 4))
-      (node (ref U4) (pin ~))
-      (node (ref U4) (pin ~))
-      (node (ref U4) (pin ~))
-      (node (ref BT1) (pin 2))
-      (node (ref C4) (pin 2))
-      (node (ref C5) (pin 2))
-      (node (ref C7) (pin 2))
-      (node (ref R7) (pin 1)))
-    (net (code 45) (name /nrst)
-      (node (ref C10) (pin 2))
-      (node (ref P4) (pin 5))
-      (node (ref U1) (pin 7))
-      (node (ref R6) (pin 2))
-      (node (ref SW1) (pin 1)))
-    (net (code 46) (name /swclk)
-      (node (ref P4) (pin 2))
-      (node (ref U1) (pin 37)))
-    (net (code 47) (name /boot0)
-      (node (ref SW2) (pin 1))
+    (net (code 4332) (name "Net-(C4-Pad1)")
+      (node (ref Y1) (pin 1))
+      (node (ref C4) (pin 1))
+      (node (ref U2) (pin 1)))
+    (net (code 4333) (name "Net-(C5-Pad1)")
+      (node (ref Y1) (pin 2))
+      (node (ref C5) (pin 1))
+      (node (ref U2) (pin 2)))
+    (net (code 4334) (name "Net-(BT1-Pad1)")
+      (node (ref BT1) (pin 1))
+      (node (ref U2) (pin 3)))
+    (net (code 4335) (name /boot0)
       (node (ref R7) (pin 2))
-      (node (ref U1) (pin 44))
-      (node (ref C9) (pin 2)))
-    (net (code 48) (name /vdd)
-      (node (ref C9) (pin 1))
-      (node (ref U1) (pin 1))
-      (node (ref C10) (pin 1))
-      (node (ref R5) (pin 1))
-      (node (ref U3) (pin 2))
-      (node (ref P4) (pin 1))
-      (node (ref C8) (pin 1))
-      (node (ref U1) (pin 9))
-      (node (ref U1) (pin 24))
-      (node (ref C6) (pin 1))
-      (node (ref U1) (pin 48))
-      (node (ref SW2) (pin 2))
-      (node (ref SW1) (pin 2))
-      (node (ref R2) (pin 1))
-      (node (ref R3) (pin 1))
-      (node (ref R1) (pin 1))
-      (node (ref U2) (pin 8))
-      (node (ref U4) (pin ~))
-      (node (ref C1) (pin 2))
-      (node (ref C2) (pin 2))
-      (node (ref C3) (pin 2)))))
+      (node (ref SW2) (pin 1))
+      (node (ref C9) (pin 2))
+      (node (ref U1) (pin 44)))
+    (net (code 4336) (name /mfp)
+      (node (ref U2) (pin 7))
+      (node (ref R1) (pin 2))
+      (node (ref U1) (pin 41)))))

+ 59 - 3
Controle/carte/proc.sch

@@ -513,8 +513,6 @@ Wire Wire Line
 	5200 2600 5000 2600
 Wire Wire Line
 	5200 2700 5000 2700
-NoConn ~ 5000 3600
-NoConn ~ 5000 3700
 NoConn ~ 5000 3800
 NoConn ~ 5000 3900
 NoConn ~ 5000 4400
@@ -668,7 +666,7 @@ U 1 1 57062F1C
 P 10800 6100
 F 0 "P2" H 10800 6400 50  0000 C CNN
 F 1 "Debug" V 10900 6100 50  0000 C CNN
-F 2 "" H 10800 6100 50  0001 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x05" H 10800 6100 50  0001 C CNN
 F 3 "" H 10800 6100 50  0000 C CNN
 	1    10800 6100
 	1    0    0    -1  
@@ -7180,4 +7178,62 @@ Wire Wire Line
 	5000 2800 5200 2800
 Wire Wire Line
 	5200 2900 5000 2900
+$Comp
+L R R8
+U 1 1 570E42C5
+P 5550 3350
+F 0 "R8" V 5630 3350 50  0000 C CNN
+F 1 "R" V 5550 3350 50  0000 C CNN
+F 2 "" V 5480 3350 50  0000 C CNN
+F 3 "" H 5550 3350 50  0000 C CNN
+	1    5550 3350
+	0    1    1    0   
+$EndComp
+$Comp
+L LED D1
+U 1 1 570E4326
+P 6000 3350
+F 0 "D1" H 6000 3450 50  0000 C CNN
+F 1 "rouge" H 6000 3250 50  0000 C CNN
+F 2 "" H 6000 3350 50  0000 C CNN
+F 3 "" H 6000 3350 50  0000 C CNN
+	1    6000 3350
+	-1   0    0    1   
+$EndComp
+$Comp
+L R R9
+U 1 1 570E4510
+P 5550 3700
+F 0 "R9" V 5630 3700 50  0000 C CNN
+F 1 "R" V 5550 3700 50  0000 C CNN
+F 2 "" V 5480 3700 50  0000 C CNN
+F 3 "" H 5550 3700 50  0000 C CNN
+	1    5550 3700
+	0    1    1    0   
+$EndComp
+$Comp
+L LED D2
+U 1 1 570E4516
+P 6000 3700
+F 0 "D2" H 6000 3800 50  0000 C CNN
+F 1 "vert" H 6000 3600 50  0000 C CNN
+F 2 "" H 6000 3700 50  0000 C CNN
+F 3 "" H 6000 3700 50  0000 C CNN
+	1    6000 3700
+	-1   0    0    1   
+$EndComp
+Wire Wire Line
+	5000 3700 5400 3700
+Wire Wire Line
+	5400 3600 5000 3600
+Wire Wire Line
+	5400 3350 5400 3600
+Wire Wire Line
+	5700 3350 5800 3350
+Wire Wire Line
+	5700 3700 5800 3700
+Text Label 6200 3350 0    60   ~ 0
+vss
+Text Label 6200 3700 0    60   ~ 0
+vss
 $EndSCHEMATC

+ 25 - 15
Controle/soft/controle/controle.ioc

@@ -16,27 +16,29 @@ Mcu.Name=STM32F030C8Tx
 Mcu.Package=LQFP48
 Mcu.Pin0=PA0
 Mcu.Pin1=PA1
-Mcu.Pin10=PA10
-Mcu.Pin11=PA11
-Mcu.Pin12=PA13
-Mcu.Pin13=PA14
-Mcu.Pin14=PB4
-Mcu.Pin15=PB5
-Mcu.Pin16=PB6
-Mcu.Pin17=PB7
-Mcu.Pin18=VP_FREERTOS_VS_ENABLE
-Mcu.Pin19=VP_SYS_VS_Systick
+Mcu.Pin10=PA8
+Mcu.Pin11=PA9
+Mcu.Pin12=PA10
+Mcu.Pin13=PA11
+Mcu.Pin14=PA13
+Mcu.Pin15=PA14
+Mcu.Pin16=PB4
+Mcu.Pin17=PB5
+Mcu.Pin18=PB6
+Mcu.Pin19=PB7
 Mcu.Pin2=PA2
-Mcu.Pin20=VP_TIM6_VS_ClockSourceINT
-Mcu.Pin21=VP_TIM14_VS_ClockSourceINT
+Mcu.Pin20=VP_FREERTOS_VS_ENABLE
+Mcu.Pin21=VP_SYS_VS_Systick
+Mcu.Pin22=VP_TIM6_VS_ClockSourceINT
+Mcu.Pin23=VP_TIM14_VS_ClockSourceINT
 Mcu.Pin3=PA3
 Mcu.Pin4=PA4
 Mcu.Pin5=PA5
 Mcu.Pin6=PA6
 Mcu.Pin7=PA7
-Mcu.Pin8=PA8
-Mcu.Pin9=PA9
-Mcu.PinsNb=22
+Mcu.Pin8=PB0
+Mcu.Pin9=PB1
+Mcu.PinsNb=24
 Mcu.UserConstants=
 Mcu.UserName=STM32F030C8Tx
 MxCube.Version=4.13.0
@@ -94,6 +96,14 @@ PA9.GPIOParameters=GPIO_Label
 PA9.GPIO_Label=s10
 PA9.Locked=true
 PA9.Signal=GPIO_Output
+PB0.GPIOParameters=GPIO_Label
+PB0.GPIO_Label=rouge
+PB0.Locked=true
+PB0.Signal=GPIO_Output
+PB1.GPIOParameters=GPIO_Label
+PB1.GPIO_Label=verte
+PB1.Locked=true
+PB1.Signal=GPIO_Output
 PB4.GPIOParameters=PinState,GPIO_Label
 PB4.GPIO_Label=wc
 PB4.Locked=true

+ 14 - 12
drivers/carte/drivers.bak

@@ -102,23 +102,25 @@ Connection ~ 2100 900
 $Comp
 L CONN_01X01 P2
 U 1 1 5704BD0C
-P 5350 2350
-F 0 "P2" H 5350 2450 50  0000 C CNN
-F 1 "CONN_01X01" V 5450 2350 50  0000 C CNN
-F 2 "Mounting_Holes:MountingHole_5mm" H 5350 2350 50  0001 C CNN
-F 3 "" H 5350 2350 50  0000 C CNN
-	1    5350 2350
+P 5800 2350
+F 0 "P2" H 5800 2450 50  0000 C CNN
+F 1 "CONN_01X01" V 5900 2350 50  0000 C CNN
+F 2 "Mounting_Holes:MountingHole_5mm" H 5800 2350 50  0001 C CNN
+F 3 "" H 5800 2350 50  0000 C CNN
+	1    5800 2350
 	1    0    0    -1  
 $EndComp
 $Comp
 L CONN_01X01 P3
 U 1 1 5704C456
-P 5350 2950
-F 0 "P3" H 5350 3050 50  0000 C CNN
-F 1 "CONN_01X01" V 5450 2950 50  0000 C CNN
-F 2 "Mounting_Holes:MountingHole_5mm" H 5350 2950 50  0001 C CNN
-F 3 "" H 5350 2950 50  0000 C CNN
-	1    5350 2950
+P 5800 2950
+F 0 "P3" H 5800 3050 50  0000 C CNN
+F 1 "CONN_01X01" V 5900 2950 50  0000 C CNN
+F 2 "Mounting_Holes:MountingHole_5mm" H 5800 2950 50  0001 C CNN
+F 3 "" H 5800 2950 50  0000 C CNN
+	1    5800 2950
 	1    0    0    -1  
 $EndComp
+NoConn ~ 5600 2350
+NoConn ~ 5600 2950
 $EndSCHEMATC

+ 5 - 196
drivers/carte/drivers.kicad_pcb

@@ -1,15 +1,15 @@
 (kicad_pcb (version 4) (host pcbnew 4.0.1-stable)
 
   (general
-    (links 4)
+    (links 0)
     (no_connects 0)
     (area 39.415 23.170001 91.82 63.660001)
     (thickness 1.6)
-    (drawings 11)
-    (tracks 14)
+    (drawings 1)
+    (tracks 0)
     (zones 0)
-    (modules 5)
-    (nets 7)
+    (modules 0)
+    (nets 1)
   )
 
   (page A4)
@@ -92,12 +92,6 @@
   )
 
   (net 0 "")
-  (net 1 "Net-(P1-Pad1)")
-  (net 2 "Net-(P1-Pad2)")
-  (net 3 "Net-(P1-Pad3)")
-  (net 4 "Net-(R1-Pad2)")
-  (net 5 "Net-(P2-Pad1)")
-  (net 6 "Net-(P3-Pad1)")
 
   (net_class Default "This is the default net class."
     (clearance 0.3)
@@ -106,195 +100,10 @@
     (via_drill 0.4)
     (uvia_dia 0.3)
     (uvia_drill 0.1)
-    (add_net "Net-(P1-Pad1)")
-    (add_net "Net-(P1-Pad2)")
-    (add_net "Net-(P1-Pad3)")
-    (add_net "Net-(P2-Pad1)")
-    (add_net "Net-(P3-Pad1)")
-    (add_net "Net-(R1-Pad2)")
   )
 
-  (module Connect:bornier3 (layer F.Cu) (tedit 0) (tstamp 56BF4F75)
-    (at 45.72 40.64 270)
-    (descr "Bornier d'alimentation 3 pins")
-    (tags DEV)
-    (path /56BF4595)
-    (fp_text reference P1 (at 0 -5.08 270) (layer F.SilkS)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_text value CONN_01X03 (at 0 5.08 270) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_line (start -7.62 3.81) (end -7.62 -3.81) (layer F.SilkS) (width 0.15))
-    (fp_line (start 7.62 3.81) (end 7.62 -3.81) (layer F.SilkS) (width 0.15))
-    (fp_line (start -7.62 2.54) (end 7.62 2.54) (layer F.SilkS) (width 0.15))
-    (fp_line (start -7.62 -3.81) (end 7.62 -3.81) (layer F.SilkS) (width 0.15))
-    (fp_line (start -7.62 3.81) (end 7.62 3.81) (layer F.SilkS) (width 0.15))
-    (pad 1 thru_hole rect (at -5.08 0 270) (size 2.54 2.54) (drill 1.524) (layers *.Cu *.Mask F.SilkS)
-      (net 1 "Net-(P1-Pad1)"))
-    (pad 2 thru_hole circle (at 0 0 270) (size 2.54 2.54) (drill 1.524) (layers *.Cu *.Mask F.SilkS)
-      (net 2 "Net-(P1-Pad2)"))
-    (pad 3 thru_hole circle (at 5.08 0 270) (size 2.54 2.54) (drill 1.524) (layers *.Cu *.Mask F.SilkS)
-      (net 3 "Net-(P1-Pad3)"))
-    (model Connect.3dshapes/bornier3.wrl
-      (at (xyz 0 0 0))
-      (scale (xyz 1 1 1))
-      (rotate (xyz 0 0 0))
-    )
-  )
-
-  (module TO_SOT_Packages_SMD:TO-252-2Lead (layer F.Cu) (tedit 0) (tstamp 56BF4F7C)
-    (at 59.69 35.56 270)
-    (descr "DPAK / TO-252 2-lead smd package")
-    (tags "dpak TO-252")
-    (path /56BF0898)
-    (attr smd)
-    (fp_text reference R1 (at 0 -10.414 270) (layer F.SilkS)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_text value R (at 0 -2.413 270) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_line (start 1.397 -1.524) (end 1.397 1.651) (layer F.SilkS) (width 0.15))
-    (fp_line (start 1.397 1.651) (end 3.175 1.651) (layer F.SilkS) (width 0.15))
-    (fp_line (start 3.175 1.651) (end 3.175 -1.524) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.175 -1.524) (end -3.175 1.651) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.175 1.651) (end -1.397 1.651) (layer F.SilkS) (width 0.15))
-    (fp_line (start -1.397 1.651) (end -1.397 -1.524) (layer F.SilkS) (width 0.15))
-    (fp_line (start 3.429 -7.62) (end 3.429 -1.524) (layer F.SilkS) (width 0.15))
-    (fp_line (start 3.429 -1.524) (end -3.429 -1.524) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.429 -1.524) (end -3.429 -9.398) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.429 -9.525) (end 3.429 -9.525) (layer F.SilkS) (width 0.15))
-    (fp_line (start 3.429 -9.398) (end 3.429 -7.62) (layer F.SilkS) (width 0.15))
-    (pad 1 smd rect (at -2.286 0 270) (size 1.651 3.048) (layers F.Cu F.Paste F.Mask)
-      (net 1 "Net-(P1-Pad1)"))
-    (pad 2 smd rect (at 0 -6.35 270) (size 6.096 6.096) (layers F.Cu F.Paste F.Mask))
-    (pad 3 smd rect (at 2.286 0 270) (size 1.651 3.048) (layers F.Cu F.Paste F.Mask)
-      (net 4 "Net-(R1-Pad2)"))
-    (model TO_SOT_Packages_SMD.3dshapes/TO-252-2Lead.wrl
-      (at (xyz 0 0 0))
-      (scale (xyz 1 1 1))
-      (rotate (xyz 0 0 0))
-    )
-  )
-
-  (module TO_SOT_Packages_SMD:SOT-223 (layer F.Cu) (tedit 56BF59C9) (tstamp 56BF4F84)
-    (at 63.5 45.72 270)
-    (descr "module CMS SOT223 4 pins")
-    (tags "CMS SOT")
-    (path /56BF081D)
-    (attr smd)
-    (fp_text reference U1 (at 0 -1.27 270) (layer F.SilkS)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_text value NDT452AP (at 0 0.762 270) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_line (start -3.556 1.524) (end -3.556 4.572) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.556 4.572) (end 3.556 4.572) (layer F.SilkS) (width 0.15))
-    (fp_line (start 3.556 4.572) (end 3.556 1.524) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.556 -1.524) (end -3.556 -2.286) (layer F.SilkS) (width 0.15))
-    (fp_line (start -3.556 -2.286) (end -2.032 -4.572) (layer F.SilkS) (width 0.15))
-    (fp_line (start -2.032 -4.572) (end 2.032 -4.572) (layer F.SilkS) (width 0.15))
-    (fp_line (start 2.032 -4.572) (end 3.556 -2.286) (layer F.SilkS) (width 0.15))
-    (fp_line (start 3.556 -2.286) (end 3.556 -1.524) (layer F.SilkS) (width 0.15))
-    (pad 4 smd rect (at 0 -3.302 270) (size 3.6576 2.032) (layers F.Cu F.Paste F.Mask))
-    (pad 2 smd rect (at 0 3.302 270) (size 1.016 2.032) (layers F.Cu F.Paste F.Mask)
-      (net 2 "Net-(P1-Pad2)"))
-    (pad 3 smd rect (at 2.286 3.302 270) (size 1.016 2.032) (layers F.Cu F.Paste F.Mask)
-      (net 3 "Net-(P1-Pad3)"))
-    (pad 1 smd rect (at -2.286 3.302 270) (size 1.016 2.032) (layers F.Cu F.Paste F.Mask)
-      (net 4 "Net-(R1-Pad2)"))
-    (model TO_SOT_Packages_SMD.3dshapes/SOT-223.wrl
-      (at (xyz 0 0 0))
-      (scale (xyz 0.4 0.4 0.4))
-      (rotate (xyz 0 0 0))
-    )
-  )
-
-  (module Mounting_Holes:MountingHole_5mm (layer F.Cu) (tedit 5705083D) (tstamp 57050664)
-    (at 53.34 49.53)
-    (descr "Mounting Hole 5mm, no annular")
-    (tags "mounting hole 5mm no annular")
-    (path /5704BD0C)
-    (fp_text reference P2 (at 0 -6) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_text value CONN_01X01 (at 0 6) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_circle (center 0 0) (end 5 0) (layer Cmts.User) (width 0.15))
-    (fp_circle (center 0 0) (end 5.25 0) (layer F.CrtYd) (width 0.05))
-    (pad 1 np_thru_hole circle (at 0 0) (size 5 5) (drill 5) (layers *.Cu *.Mask F.SilkS)
-      (net 5 "Net-(P2-Pad1)"))
-  )
-
-  (module Mounting_Holes:MountingHole_5mm (layer F.Cu) (tedit 57050845) (tstamp 57050669)
-    (at 53.975 30.395001)
-    (descr "Mounting Hole 5mm, no annular")
-    (tags "mounting hole 5mm no annular")
-    (path /5704C456)
-    (fp_text reference P3 (at 0 -6) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_text value CONN_01X01 (at 0 6) (layer F.Fab)
-      (effects (font (size 1 1) (thickness 0.15)))
-    )
-    (fp_circle (center 0 0) (end 5 0) (layer Cmts.User) (width 0.15))
-    (fp_circle (center 0 0) (end 5.25 0) (layer F.CrtYd) (width 0.05))
-    (pad 1 np_thru_hole circle (at 0 0) (size 5 5) (drill 5) (layers *.Cu *.Mask F.SilkS)
-      (net 6 "Net-(P3-Pad1)"))
-  )
-
-  (gr_arc (start 43.18 27.94) (end 41.91 27.94) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_line (start 41.91 52.07) (end 41.91 27.94) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_line (start 69.85 26.67) (end 43.18 26.67) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_arc (start 69.85 27.94) (end 69.85 26.67) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_arc (start 43.18 52.07) (end 43.18 53.34) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_line (start 69.85 53.34) (end 43.18 53.34) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_line (start 71.12 52.07) (end 71.12 27.94) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_arc (start 69.85 52.07) (end 71.12 52.07) (angle 90) (layer Edge.Cuts) (width 0.15))
   (gr_text "R.C 04/2016\nV 1.0" (at 67.31 39.37 90) (layer B.SilkS)
     (effects (font (size 1.5 1.5) (thickness 0.3)) (justify mirror))
   )
-  (dimension 26.67 (width 0.3) (layer Cmts.User)
-    (gr_text "26,670 mm" (at 85.17 40.005 270) (layer Cmts.User)
-      (effects (font (size 1.5 1.5) (thickness 0.3)))
-    )
-    (feature1 (pts (xy 73.66 53.34) (xy 86.52 53.34)))
-    (feature2 (pts (xy 73.66 26.67) (xy 86.52 26.67)))
-    (crossbar (pts (xy 83.82 26.67) (xy 83.82 53.34)))
-    (arrow1a (pts (xy 83.82 53.34) (xy 83.233579 52.213496)))
-    (arrow1b (pts (xy 83.82 53.34) (xy 84.406421 52.213496)))
-    (arrow2a (pts (xy 83.82 26.67) (xy 83.233579 27.796504)))
-    (arrow2b (pts (xy 83.82 26.67) (xy 84.406421 27.796504)))
-  )
-  (dimension 29.21 (width 0.3) (layer Cmts.User)
-    (gr_text "29,210 mm" (at 56.515 62.31) (layer Cmts.User)
-      (effects (font (size 1.5 1.5) (thickness 0.3)))
-    )
-    (feature1 (pts (xy 71.12 55.88) (xy 71.12 63.66)))
-    (feature2 (pts (xy 41.91 55.88) (xy 41.91 63.66)))
-    (crossbar (pts (xy 41.91 60.96) (xy 71.12 60.96)))
-    (arrow1a (pts (xy 71.12 60.96) (xy 69.993496 61.546421)))
-    (arrow1b (pts (xy 71.12 60.96) (xy 69.993496 60.373579)))
-    (arrow2a (pts (xy 41.91 60.96) (xy 43.036504 61.546421)))
-    (arrow2b (pts (xy 41.91 60.96) (xy 43.036504 60.373579)))
-  )
-
-  (segment (start 58.166 33.274) (end 55.88 35.56) (width 0.4) (layer F.Cu) (net 1) (tstamp 570279D8))
-  (segment (start 55.88 35.56) (end 46.99 35.56) (width 0.4) (layer F.Cu) (net 1) (tstamp 570279DD))
-  (segment (start 59.69 33.274) (end 58.166 33.274) (width 0.4) (layer F.Cu) (net 1))
-  (segment (start 46.99 35.56) (end 45.72 35.56) (width 0.4) (layer F.Cu) (net 1) (tstamp 570279E2))
-  (segment (start 46.99 35.56) (end 45.72 35.56) (width 0.4) (layer F.Cu) (net 1) (tstamp 57027977))
-  (segment (start 60.198 45.72) (end 59.69 45.72) (width 0.4) (layer F.Cu) (net 2))
-  (segment (start 59.69 45.72) (end 54.61 40.64) (width 0.4) (layer F.Cu) (net 2) (tstamp 5702797E))
-  (segment (start 54.61 40.64) (end 45.72 40.64) (width 0.4) (layer F.Cu) (net 2) (tstamp 57027981))
-  (segment (start 60.198 48.006) (end 58.166 48.006) (width 0.4) (layer F.Cu) (net 3))
-  (segment (start 55.88 45.72) (end 45.72 45.72) (width 0.4) (layer F.Cu) (net 3) (tstamp 5702798A))
-  (segment (start 58.166 48.006) (end 55.88 45.72) (width 0.4) (layer F.Cu) (net 3) (tstamp 57027986))
-  (segment (start 59.69 37.846) (end 59.69 43.18) (width 0.4) (layer F.Cu) (net 4))
-  (segment (start 59.69 43.18) (end 60.198 43.434) (width 0.4) (layer F.Cu) (net 4) (tstamp 5702797C))
-  (segment (start 60.198 38.354) (end 59.69 37.846) (width 0.4) (layer F.Cu) (net 4))
 
 )

+ 52 - 14
drivers/carte/drivers.kicad_pcb-bak

@@ -3,13 +3,13 @@
   (general
     (links 4)
     (no_connects 0)
-    (area 41.834999 26.594999 71.195001 53.415001)
+    (area 39.415 23.170001 91.82 63.660001)
     (thickness 1.6)
     (drawings 11)
     (tracks 14)
     (zones 0)
-    (modules 3)
-    (nets 5)
+    (modules 5)
+    (nets 7)
   )
 
   (page A4)
@@ -19,7 +19,7 @@
     (32 B.Adhes user)
     (33 F.Adhes user)
     (34 B.Paste user)
-    (35 F.Paste user)
+    (35 F.Paste user hide)
     (36 B.SilkS user hide)
     (37 F.SilkS user)
     (38 B.Mask user)
@@ -65,7 +65,7 @@
     (grid_origin 69.85 30.48)
     (visible_elements 7FFFFFFF)
     (pcbplotparams
-      (layerselection 0x010ff_80000001)
+      (layerselection 0x010f3_80000001)
       (usegerberextensions true)
       (excludeedgelayer false)
       (linewidth 0.100000)
@@ -96,6 +96,8 @@
   (net 2 "Net-(P1-Pad2)")
   (net 3 "Net-(P1-Pad3)")
   (net 4 "Net-(R1-Pad2)")
+  (net 5 "Net-(P2-Pad1)")
+  (net 6 "Net-(P3-Pad1)")
 
   (net_class Default "This is the default net class."
     (clearance 0.3)
@@ -107,6 +109,8 @@
     (add_net "Net-(P1-Pad1)")
     (add_net "Net-(P1-Pad2)")
     (add_net "Net-(P1-Pad3)")
+    (add_net "Net-(P2-Pad1)")
+    (add_net "Net-(P3-Pad1)")
     (add_net "Net-(R1-Pad2)")
   )
 
@@ -208,6 +212,40 @@
     )
   )
 
+  (module Mounting_Holes:MountingHole_5mm (layer F.Cu) (tedit 5705083D) (tstamp 57050664)
+    (at 53.34 49.53)
+    (descr "Mounting Hole 5mm, no annular")
+    (tags "mounting hole 5mm no annular")
+    (path /5704BD0C)
+    (fp_text reference P2 (at 0 -6) (layer F.Fab)
+      (effects (font (size 1 1) (thickness 0.15)))
+    )
+    (fp_text value CONN_01X01 (at 0 6) (layer F.Fab)
+      (effects (font (size 1 1) (thickness 0.15)))
+    )
+    (fp_circle (center 0 0) (end 5 0) (layer Cmts.User) (width 0.15))
+    (fp_circle (center 0 0) (end 5.25 0) (layer F.CrtYd) (width 0.05))
+    (pad 1 np_thru_hole circle (at 0 0) (size 5 5) (drill 5) (layers *.Cu *.Mask F.SilkS)
+      (net 5 "Net-(P2-Pad1)"))
+  )
+
+  (module Mounting_Holes:MountingHole_5mm (layer F.Cu) (tedit 57050845) (tstamp 57050669)
+    (at 53.975 30.395001)
+    (descr "Mounting Hole 5mm, no annular")
+    (tags "mounting hole 5mm no annular")
+    (path /5704C456)
+    (fp_text reference P3 (at 0 -6) (layer F.Fab)
+      (effects (font (size 1 1) (thickness 0.15)))
+    )
+    (fp_text value CONN_01X01 (at 0 6) (layer F.Fab)
+      (effects (font (size 1 1) (thickness 0.15)))
+    )
+    (fp_circle (center 0 0) (end 5 0) (layer Cmts.User) (width 0.15))
+    (fp_circle (center 0 0) (end 5.25 0) (layer F.CrtYd) (width 0.05))
+    (pad 1 np_thru_hole circle (at 0 0) (size 5 5) (drill 5) (layers *.Cu *.Mask F.SilkS)
+      (net 6 "Net-(P3-Pad1)"))
+  )
+
   (gr_arc (start 43.18 27.94) (end 41.91 27.94) (angle 90) (layer Edge.Cuts) (width 0.15))
   (gr_line (start 41.91 52.07) (end 41.91 27.94) (angle 90) (layer Edge.Cuts) (width 0.15))
   (gr_line (start 69.85 26.67) (end 43.18 26.67) (angle 90) (layer Edge.Cuts) (width 0.15))
@@ -216,7 +254,7 @@
   (gr_line (start 69.85 53.34) (end 43.18 53.34) (angle 90) (layer Edge.Cuts) (width 0.15))
   (gr_line (start 71.12 52.07) (end 71.12 27.94) (angle 90) (layer Edge.Cuts) (width 0.15))
   (gr_arc (start 69.85 52.07) (end 71.12 52.07) (angle 90) (layer Edge.Cuts) (width 0.15))
-  (gr_text "R.C 04/04/2016\nV 1" (at 67.31 39.37 90) (layer B.SilkS)
+  (gr_text "R.C 04/2016\nV 1.0" (at 67.31 39.37 90) (layer B.SilkS)
     (effects (font (size 1.5 1.5) (thickness 0.3)) (justify mirror))
   )
   (dimension 26.67 (width 0.3) (layer Cmts.User)
@@ -232,16 +270,16 @@
     (arrow2b (pts (xy 83.82 26.67) (xy 84.406421 27.796504)))
   )
   (dimension 29.21 (width 0.3) (layer Cmts.User)
-    (gr_text "29,210 mm" (at 56.515 61.04) (layer Cmts.User)
+    (gr_text "29,210 mm" (at 56.515 62.31) (layer Cmts.User)
       (effects (font (size 1.5 1.5) (thickness 0.3)))
     )
-    (feature1 (pts (xy 71.12 54.61) (xy 71.12 62.39)))
-    (feature2 (pts (xy 41.91 54.61) (xy 41.91 62.39)))
-    (crossbar (pts (xy 41.91 59.69) (xy 71.12 59.69)))
-    (arrow1a (pts (xy 71.12 59.69) (xy 69.993496 60.276421)))
-    (arrow1b (pts (xy 71.12 59.69) (xy 69.993496 59.103579)))
-    (arrow2a (pts (xy 41.91 59.69) (xy 43.036504 60.276421)))
-    (arrow2b (pts (xy 41.91 59.69) (xy 43.036504 59.103579)))
+    (feature1 (pts (xy 71.12 55.88) (xy 71.12 63.66)))
+    (feature2 (pts (xy 41.91 55.88) (xy 41.91 63.66)))
+    (crossbar (pts (xy 41.91 60.96) (xy 71.12 60.96)))
+    (arrow1a (pts (xy 71.12 60.96) (xy 69.993496 61.546421)))
+    (arrow1b (pts (xy 71.12 60.96) (xy 69.993496 60.373579)))
+    (arrow2a (pts (xy 41.91 60.96) (xy 43.036504 61.546421)))
+    (arrow2b (pts (xy 41.91 60.96) (xy 43.036504 60.373579)))
   )
 
   (segment (start 58.166 33.274) (end 55.88 35.56) (width 0.4) (layer F.Cu) (net 1) (tstamp 570279D8))

+ 14 - 14
drivers/carte/drivers.sch

@@ -102,25 +102,25 @@ Connection ~ 2100 900
 $Comp
 L CONN_01X01 P2
 U 1 1 5704BD0C
-P 5800 2350
-F 0 "P2" H 5800 2450 50  0000 C CNN
-F 1 "CONN_01X01" V 5900 2350 50  0000 C CNN
-F 2 "Mounting_Holes:MountingHole_5mm" H 5800 2350 50  0001 C CNN
-F 3 "" H 5800 2350 50  0000 C CNN
-	1    5800 2350
+P 2850 1200
+F 0 "P2" H 2850 1300 50  0000 C CNN
+F 1 "CONN_01X01" V 2950 1200 50  0000 C CNN
+F 2 "Mounting_Holes:MountingHole_5mm" H 2850 1200 50  0001 C CNN
+F 3 "" H 2850 1200 50  0000 C CNN
+	1    2850 1200
 	1    0    0    -1  
 $EndComp
 $Comp
 L CONN_01X01 P3
 U 1 1 5704C456
-P 5800 2950
-F 0 "P3" H 5800 3050 50  0000 C CNN
-F 1 "CONN_01X01" V 5900 2950 50  0000 C CNN
-F 2 "Mounting_Holes:MountingHole_5mm" H 5800 2950 50  0001 C CNN
-F 3 "" H 5800 2950 50  0000 C CNN
-	1    5800 2950
+P 2850 1800
+F 0 "P3" H 2850 1900 50  0000 C CNN
+F 1 "CONN_01X01" V 2950 1800 50  0000 C CNN
+F 2 "Mounting_Holes:MountingHole_5mm" H 2850 1800 50  0001 C CNN
+F 3 "" H 2850 1800 50  0000 C CNN
+	1    2850 1800
 	1    0    0    -1  
 $EndComp
-NoConn ~ 5600 2350
-NoConn ~ 5600 2950
+NoConn ~ 2650 1200
+NoConn ~ 2650 1800
 $EndSCHEMATC