diff --git a/Hardware/Platine/.directory b/Hardware/Platine/.directory new file mode 100644 index 0000000..733a8f4 --- /dev/null +++ b/Hardware/Platine/.directory @@ -0,0 +1,6 @@ +[Dolphin] +PreviewsShown=false +SortOrder=1 +SortRole=modificationtime +Timestamp=2018,9,14,21,17,29 +Version=4 diff --git a/Hardware/Platine/.net b/Hardware/Platine/.net new file mode 100644 index 0000000..cb93bcb --- /dev/null +++ b/Hardware/Platine/.net @@ -0,0 +1,935 @@ +(export (version D) + (design + (source "/home/hendrik/Schreibtisch/DIY Micro System/Hardware/Platine/V04/mps_V04.sch") + (date "Di 07 Aug 2018 12:12:29 CEST") + (tool "Eeschema 4.0.7") + (sheet (number 1) (name /) (tstamps /) + (title_block + (title MicroPlaneSystem) + (company CopterSicht) + (rev V4) + (date 2018-07-30) + (source mps_V04.sch) + (comment (number 1) (value "")) + (comment (number 2) (value "")) + (comment (number 3) (value "")) + (comment (number 4) (value ""))))) + (components + (comp (ref U4) + (value ATMEGA328P-AU) + (footprint Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm) + (libsource (lib mps_V04-cache) (part MCU_Atmel_ATMEGA:ATMEGA328P-AU)) + (sheetpath (names /) (tstamps /)) + (tstamp 59E66C60)) + (comp (ref J14) + (value MotorA) + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EB99AB)) + (comp (ref J15) + (value MotorB) + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EB9B86)) + (comp (ref JP1) + (value Jumper_1S_or_2S) + (footprint jumper:SOLDER-JUMPER_2-WAY) + (libsource (lib mps_V04-cache) (part Device:Jumper_NC_Dual)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBBCB2)) + (comp (ref J13) + (value SatRX) + (footprint own:SolderPad_3_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x03)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBC602)) + (comp (ref J5) + (value MPU6050) + (footprint own:SolderPad_5_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x06)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBCD4C)) + (comp (ref J9) + (value Servo02) + (footprint own:SolderPad_3_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x03)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBDDBB)) + (comp (ref J10) + (value Servo03) + (footprint own:SolderPad_3_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x03)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBDEA6)) + (comp (ref J11) + (value Servo04) + (footprint own:SolderPad_3_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x03)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBDF02)) + (comp (ref J12) + (value Servo05) + (footprint own:SolderPad_3_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x03)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBDF57)) + (comp (ref J8) + (value Servo01) + (footprint own:SolderPad_3_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x03)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBDFAF)) + (comp (ref R17) + (value "100 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC09A0)) + (comp (ref R18) + (value "56 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC0A70)) + (comp (ref SW1) + (value Reset) + (footprint Button_Switch_SMD:SW_SPST_FSMSM) + (libsource (lib mps_V04-cache) (part Switch:SW_Push)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC15FC)) + (comp (ref R16) + (value "10k Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC1C66)) + (comp (ref Q2) + (value BCX56) + (footprint TO_SOT_Packages_SMD:SOT-89-3) + (libsource (lib mps_V04-cache) (part Transistor_BJT:BCX56)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC223E)) + (comp (ref R9) + (value "1k Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC24CA)) + (comp (ref Q1) + (value BCX56) + (footprint TO_SOT_Packages_SMD:SOT-89-3) + (libsource (lib mps_V04-cache) (part Transistor_BJT:BCX56)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC2E90)) + (comp (ref R2) + (value "1k Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC2F2E)) + (comp (ref D2) + (value LED_Red) + (footprint LEDs:LED_0805_HandSoldering) + (libsource (lib mps_V04-cache) (part Device:LED)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC388A)) + (comp (ref D4) + (value LED_White) + (footprint LEDs:LED_0805_HandSoldering) + (libsource (lib mps_V04-cache) (part Device:LED)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC39A8)) + (comp (ref D3) + (value LED_White) + (footprint LEDs:LED_0805_HandSoldering) + (libsource (lib mps_V04-cache) (part Device:LED)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC3AE6)) + (comp (ref D1) + (value LED_Green) + (footprint LEDs:LED_0805_HandSoldering) + (libsource (lib mps_V04-cache) (part Device:LED)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC3B4D)) + (comp (ref JP2) + (value Onboard_LED) + (footprint jumper:SOLDER-JUMPER_1-WAY) + (libsource (lib mps_V04-cache) (part Device:Jumper_NO_Small)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC3C8D)) + (comp (ref R7) + (value "110 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC5001)) + (comp (ref R8) + (value "82 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC50E8)) + (comp (ref R12) + (value "56 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC5165)) + (comp (ref R13) + (value "56 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC5282)) + (comp (ref J6) + (value LED_White) + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC7D90)) + (comp (ref J7) + (value LED_White) + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC7E5A)) + (comp (ref R10) + (value "56 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC7EEA)) + (comp (ref R11) + (value "56 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC7FCB)) + (comp (ref J3) + (value LED_Green) + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC85D1)) + (comp (ref R3) + (value "110 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC88AC)) + (comp (ref R4) + (value "82 Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC8949)) + (comp (ref J4) + (value LED_Red) + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC8794)) + (comp (ref C9) + (value "100 nF") + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 59ECBCF8)) + (comp (ref Y1) + (value "Crystal 16 MHz") + (footprint own:Resonator_SMD-3pin_3.2x1.3mm) + (libsource (lib mps_V04-cache) (part Device:Crystal)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC6782)) + (comp (ref C10) + (value "22 pF") + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC6807)) + (comp (ref C11) + (value "22 pF") + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC68A2)) + (comp (ref J1) + (value Programming) + (footprint fpc:fpc-10-1.0mm) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x08)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EC9308)) + (comp (ref C5) + (value 10µF) + (footprint Capacitors_Tantalum_SMD:CP_Tantalum_Case-R_EIA-2012-12_Reflow) + (libsource (lib mps_V04-cache) (part Device:CP)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A770E02)) + (comp (ref C4) + (value 10µF) + (footprint Capacitors_Tantalum_SMD:CP_Tantalum_Case-R_EIA-2012-12_Reflow) + (libsource (lib mps_V04-cache) (part Device:CP)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A77179E)) + (comp (ref U1) + (value LM1117-3.3) + (footprint TO_SOT_Packages_SMD:SOT-223) + (libsource (lib mps_V04-cache) (part Regulator_Linear:LM1117-3.3)) + (sheetpath (names /) (tstamps /)) + (tstamp 5A77AF27)) + (comp (ref U3) + (value LM1117S-5.0) + (footprint TO_SOT_Packages_SMD:SOT-223) + (libsource (lib mps_V04-cache) (part Regulator_Linear:LM1117-3.3)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B612247)) + (comp (ref J2) + (value "Battery Connector") + (footprint own:SolderPad_2_Pin) + (libsource (lib mps_V04-cache) (part Connector_Generic:Conn_01x02)) + (sheetpath (names /) (tstamps /)) + (tstamp 59EBA156)) + (comp (ref U2) + (value G5177CF11U) + (footprint Package_SO:SOP-8_EP_150mil) + (datasheet https://datasheet.lcsc.com/szlcsc/Global-Mixed-mode-Tech-G5177CF11U_C83034.pdf) + (libsource (lib mps_V04-cache) (part Power_Management:G5177CF11U)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B607C91)) + (comp (ref L1) + (value 4.7µH) + (footprint Inductors_SMD:L_0805) + (libsource (lib mps_V04-cache) (part Device:L)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B608049)) + (comp (ref R1) + (value 4.7Ω) + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B641335)) + (comp (ref C3) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B64147F)) + (comp (ref R6) + (value 68kΩ) + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B69D9FB)) + (comp (ref R5) + (value 210kΩ) + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B604605)) + (comp (ref C6) + (value "22 µF") + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B61B5CD)) + (comp (ref C7) + (value "22 µF") + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B632ECE)) + (comp (ref C8) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B632F5C)) + (comp (ref C1) + (value "22 µF") + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B6AD75E)) + (comp (ref C2) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B6AD82A)) + (comp (ref U5) + (value KIA4603A) + (footprint Package_SO:SOP-8_EP_150mil) + (datasheet https://datasheet.lcsc.com/szlcsc/KIA-Semicon-Tech-KIA4603A_C135558.pdf) + (libsource (lib mps_V04-cache) (part Transistor_FET:KIA4603A)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B60BE9D)) + (comp (ref U6) + (value KIA4603A) + (footprint Package_SO:SOP-8_EP_150mil) + (datasheet https://datasheet.lcsc.com/szlcsc/KIA-Semicon-Tech-KIA4603A_C135558.pdf) + (libsource (lib mps_V04-cache) (part Transistor_FET:KIA4603A)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B60C177)) + (comp (ref C12) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B71C05E)) + (comp (ref C13) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B71C444)) + (comp (ref C14) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B77D86F)) + (comp (ref C15) + (value 100nF) + (footprint Capacitors_SMD:C_0603) + (libsource (lib mps_V04-cache) (part Device:C)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B77D931)) + (comp (ref D5) + (value D) + (footprint Diodes_SMD:D_0603) + (libsource (lib mps_V04-cache) (part Device:D)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B805CE3)) + (comp (ref D6) + (value D) + (footprint Diodes_SMD:D_0603) + (libsource (lib mps_V04-cache) (part Device:D)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B82974B)) + (comp (ref R14) + (value "1k Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B862C2D)) + (comp (ref R15) + (value "1k Ω") + (footprint Resistors_SMD:R_0603) + (libsource (lib mps_V04-cache) (part Device:R)) + (sheetpath (names /) (tstamps /)) + (tstamp 5B863396))) + (libparts + (libpart (lib mps_V04-cache) (part Connector_Generic:Conn_01x02) + (footprints + (fp Connector*:*_1x??_*)) + (fields + (field (name Reference) J) + (field (name Value) Connector_Generic:Conn_01x02)) + (pins + (pin (num 1) (name Pin_1) (type passive)) + (pin (num 2) (name Pin_2) (type passive)))) + (libpart (lib mps_V04-cache) (part Connector_Generic:Conn_01x03) + (footprints + (fp Connector*:*_1x??_*)) + (fields + (field (name Reference) J) + (field (name Value) Connector_Generic:Conn_01x03)) + (pins + (pin (num 1) (name Pin_1) (type passive)) + (pin (num 2) (name Pin_2) (type passive)) + (pin (num 3) (name Pin_3) (type passive)))) + (libpart (lib mps_V04-cache) (part Connector_Generic:Conn_01x06) + (footprints + (fp Connector*:*_1x??_*)) + (fields + (field (name Reference) J) + (field (name Value) Connector_Generic:Conn_01x06)) + (pins + (pin (num 1) (name Pin_1) (type passive)) + (pin (num 2) (name Pin_2) (type passive)) + (pin (num 3) (name Pin_3) (type passive)) + (pin (num 4) (name Pin_4) (type passive)) + (pin (num 5) (name Pin_5) (type passive)) + (pin (num 6) (name Pin_6) (type passive)))) + (libpart (lib mps_V04-cache) (part Connector_Generic:Conn_01x08) + (footprints + (fp Connector*:*_1x??_*)) + (fields + (field (name Reference) J) + (field (name Value) Connector_Generic:Conn_01x08)) + (pins + (pin (num 1) (name Pin_1) (type passive)) + (pin (num 2) (name Pin_2) (type passive)) + (pin (num 3) (name Pin_3) (type passive)) + (pin (num 4) (name Pin_4) (type passive)) + (pin (num 5) (name Pin_5) (type passive)) + (pin (num 6) (name Pin_6) (type passive)) + (pin (num 7) (name Pin_7) (type passive)) + (pin (num 8) (name Pin_8) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:C) + (footprints + (fp C_*)) + (fields + (field (name Reference) C) + (field (name Value) Device:C)) + (pins + (pin (num 1) (name ~) (type passive)) + (pin (num 2) (name ~) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:CP) + (footprints + (fp CP_*)) + (fields + (field (name Reference) C) + (field (name Value) Device:CP)) + (pins + (pin (num 1) (name ~) (type passive)) + (pin (num 2) (name ~) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:Crystal) + (footprints + (fp Crystal*)) + (fields + (field (name Reference) Y) + (field (name Value) Device:Crystal)) + (pins + (pin (num 1) (name 1) (type passive)) + (pin (num 2) (name 2) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:D) + (footprints + (fp TO-???*) + (fp *SingleDiode) + (fp *_Diode_*) + (fp *SingleDiode*) + (fp D_*)) + (fields + (field (name Reference) D) + (field (name Value) Device:D)) + (pins + (pin (num 1) (name K) (type passive)) + (pin (num 2) (name A) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:Jumper_NC_Dual) + (fields + (field (name Reference) JP) + (field (name Value) Device:Jumper_NC_Dual)) + (pins + (pin (num 1) (name 1) (type passive)) + (pin (num 2) (name 2) (type passive)) + (pin (num 3) (name 3) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:Jumper_NO_Small) + (fields + (field (name Reference) JP) + (field (name Value) Device:Jumper_NO_Small)) + (pins + (pin (num 1) (name 1) (type passive)) + (pin (num 2) (name 2) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:L) + (footprints + (fp Choke_*) + (fp *Coil*) + (fp Inductor_*) + (fp L_*)) + (fields + (field (name Reference) L) + (field (name Value) Device:L)) + (pins + (pin (num 1) (name 1) (type passive)) + (pin (num 2) (name 2) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:LED) + (footprints + (fp LED*) + (fp LED_SMD:*) + (fp LED_THT:*)) + (fields + (field (name Reference) D) + (field (name Value) Device:LED)) + (pins + (pin (num 1) (name K) (type passive)) + (pin (num 2) (name A) (type passive)))) + (libpart (lib mps_V04-cache) (part Device:R) + (footprints + (fp R_*) + (fp R_*)) + (fields + (field (name Reference) R) + (field (name Value) Device:R)) + (pins + (pin (num 1) (name ~) (type passive)) + (pin (num 2) (name ~) (type passive)))) + (libpart (lib mps_V04-cache) (part MCU_Atmel_ATMEGA:ATMEGA328P-AU) + (aliases + (alias ATMEGA48A-AU) + (alias ATMEGA48PA-AU) + (alias ATMEGA88A-AU) + (alias ATMEGA88PA-AU) + (alias ATMEGA168PA-AU) + (alias ATMEGA328-AU) + (alias ATMEGA328P-AU)) + (footprints + (fp TQFP*7x7mm*P0.8mm*)) + (fields + (field (name Reference) U) + (field (name Value) MCU_Atmel_ATMEGA:ATMEGA328P-AU) + (field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm)) + (pins + (pin (num 1) (name "(PCINT19/OC2B/INT1)PD3") (type BiDi)) + (pin (num 2) (name "(PCINT20/XCK/T0)PD4") (type BiDi)) + (pin (num 3) (name GND) (type power_in)) + (pin (num 4) (name VCC) (type power_in)) + (pin (num 5) (name GND) (type power_in)) + (pin (num 6) (name VCC) (type power_in)) + (pin (num 7) (name "(PCINT6/XTAL1/TOSC1)PB6") (type BiDi)) + (pin (num 8) (name "(PCINT7/XTAL2/TOSC2)PB7") (type BiDi)) + (pin (num 9) (name "(PCINT21/OC0B/T1)PD5") (type BiDi)) + (pin (num 10) (name "(PCINT22/OC0A/AIN0)PD6") (type BiDi)) + (pin (num 11) (name "(PCINT23/AIN1)PD7") (type BiDi)) + (pin (num 12) (name "(PCINT0/CLKO/ICP1)PB0") (type BiDi)) + (pin (num 13) (name "(PCINT1/OC1A)PB1") (type BiDi)) + (pin (num 14) (name "(PCINT2/OC1B/~SS~)PB2") (type BiDi)) + (pin (num 15) (name "(PCINT3/OC2A/MOSI)PB3") (type BiDi)) + (pin (num 16) (name "(PCINT4/MISO)PB4") (type BiDi)) + (pin (num 17) (name "(PCINT5/SCK)PB5") (type BiDi)) + (pin (num 18) (name AVCC) (type power_in)) + (pin (num 19) (name ADC6) (type input)) + (pin (num 20) (name AREF) (type BiDi)) + (pin (num 21) (name GND) (type power_in)) + (pin (num 22) (name ADC7) (type input)) + (pin (num 23) (name "(PCINT8/ADC0)PC0") (type BiDi)) + (pin (num 24) (name "(PCINT9/ADC1)PC1") (type BiDi)) + (pin (num 25) (name "(PCINT10/ADC2)PC2") (type BiDi)) + (pin (num 26) (name "(PCINT11/ADC3)PC3") (type BiDi)) + (pin (num 27) (name "(PCINT12/SDA/ADC4)PC4") (type BiDi)) + (pin (num 28) (name "(PCINT13/SCL/ADC5)PC5") (type BiDi)) + (pin (num 29) (name "(PCINT14/~RESET~)PC6") (type BiDi)) + (pin (num 30) (name "(PCINT16/RXD)PD0") (type BiDi)) + (pin (num 31) (name "(PCINT17/TXD)PD1") (type BiDi)) + (pin (num 32) (name "(PCINT18/INT0)PD2") (type BiDi)))) + (libpart (lib mps_V04-cache) (part Power_Management:G5177CF11U) + (footprints + (fp SOP-8*_EP_*150mil)) + (fields + (field (name Reference) U) + (field (name Value) Power_Management:G5177CF11U) + (field (name Footprint) "Package: SOP-8_EP_150mil")) + (pins + (pin (num 1) (name LX) (type BiDi)) + (pin (num 2) (name LX) (type BiDi)) + (pin (num 3) (name VBAT) (type input)) + (pin (num 4) (name ILM01) (type BiDi)) + (pin (num 5) (name GND) (type power_in)) + (pin (num 6) (name FB) (type input)) + (pin (num 7) (name Vout) (type output)) + (pin (num 8) (name Vout) (type input)))) + (libpart (lib mps_V04-cache) (part Regulator_Linear:LM1117-3.3) + (aliases + (alias LM1117-2.5) + (alias LM1117-3.3) + (alias LM1117-5.0) + (alias TLV1117-15) + (alias TLV1117-18) + (alias TLV1117-25) + (alias TLV1117-33) + (alias TLV1117-50)) + (footprints + (fp SOT?223*) + (fp TO?263*) + (fp TO?252*) + (fp TO?220*)) + (fields + (field (name Reference) U) + (field (name Value) Regulator_Linear:LM1117-3.3)) + (pins + (pin (num 1) (name GND) (type power_in)) + (pin (num 2) (name VO) (type power_out)) + (pin (num 3) (name VI) (type power_in)))) + (libpart (lib mps_V04-cache) (part Switch:SW_Push) + (fields + (field (name Reference) SW) + (field (name Value) Switch:SW_Push)) + (pins + (pin (num 1) (name 1) (type passive)) + (pin (num 2) (name 2) (type passive)))) + (libpart (lib mps_V04-cache) (part Transistor_BJT:BCX56) + (footprints + (fp SOT?89*)) + (fields + (field (name Reference) Q) + (field (name Value) Transistor_BJT:BCX56) + (field (name Footprint) Package_TO_SOT_SMD:SOT-89-3)) + (pins + (pin (num 1) (name B) (type input)) + (pin (num 2) (name C) (type passive)) + (pin (num 3) (name E) (type passive)))) + (libpart (lib mps_V04-cache) (part Transistor_FET:KIA4603A) + (footprints + (fp *SOP*3x3mm*P0.5mm*)) + (fields + (field (name Reference) U) + (field (name Value) Transistor_FET:KIA4603A) + (field (name Footprint) "Package: SOP-8_150mil")) + (pins + (pin (num 1) (name Source) (type input)) + (pin (num 2) (name Source) (type input)) + (pin (num 3) (name Source) (type input)) + (pin (num 4) (name Gate) (type input)) + (pin (num 5) (name Drain) (type output)) + (pin (num 6) (name Drain) (type output)) + (pin (num 7) (name Drain) (type output)) + (pin (num 8) (name Drain) (type output))))) + (libraries + (library (logical mps_V04-cache) + (uri "/home/hendrik/Schreibtisch/DIY Micro System/Hardware/Platine/V04/mps_V04-cache.lib"))) + (nets + (net (code 1) (name 1S_Input) + (node (ref L1) (pin 1)) + (node (ref C1) (pin 2)) + (node (ref C2) (pin 2)) + (node (ref JP1) (pin 3)) + (node (ref R1) (pin 2))) + (net (code 2) (name GND) + (node (ref U5) (pin 1)) + (node (ref U5) (pin 2)) + (node (ref U5) (pin 3)) + (node (ref C1) (pin 1)) + (node (ref C2) (pin 1)) + (node (ref U3) (pin 1)) + (node (ref R14) (pin 1)) + (node (ref R15) (pin 1)) + (node (ref J12) (pin 1)) + (node (ref Q1) (pin 3)) + (node (ref J1) (pin 8)) + (node (ref R18) (pin 2)) + (node (ref J13) (pin 2)) + (node (ref U4) (pin 3)) + (node (ref U4) (pin 5)) + (node (ref J9) (pin 1)) + (node (ref U4) (pin 21)) + (node (ref J5) (pin 2)) + (node (ref C11) (pin 1)) + (node (ref U6) (pin 1)) + (node (ref U6) (pin 2)) + (node (ref U6) (pin 3)) + (node (ref C3) (pin 2)) + (node (ref SW1) (pin 2)) + (node (ref C10) (pin 1)) + (node (ref Q2) (pin 3)) + (node (ref C9) (pin 2)) + (node (ref J8) (pin 1)) + (node (ref J10) (pin 1)) + (node (ref J11) (pin 1)) + (node (ref C8) (pin 1)) + (node (ref C7) (pin 1)) + (node (ref C6) (pin 1)) + (node (ref U2) (pin 5)) + (node (ref U1) (pin 1)) + (node (ref C4) (pin 2)) + (node (ref C5) (pin 2)) + (node (ref J2) (pin 1)) + (node (ref R6) (pin 1))) + (net (code 3) (name +5V) + (node (ref R5) (pin 1)) + (node (ref U1) (pin 3)) + (node (ref J3) (pin 1)) + (node (ref J7) (pin 1)) + (node (ref J6) (pin 1)) + (node (ref JP2) (pin 2)) + (node (ref J4) (pin 1)) + (node (ref U2) (pin 7)) + (node (ref U2) (pin 8)) + (node (ref C8) (pin 2)) + (node (ref J5) (pin 6)) + (node (ref C6) (pin 2)) + (node (ref C7) (pin 2)) + (node (ref U3) (pin 2))) + (net (code 4) (name "Net-(C3-Pad1)") + (node (ref U2) (pin 4)) + (node (ref U2) (pin 3)) + (node (ref R1) (pin 1)) + (node (ref C3) (pin 1))) + (net (code 5) (name "Net-(L1-Pad2)") + (node (ref L1) (pin 2)) + (node (ref U2) (pin 2)) + (node (ref U2) (pin 1))) + (net (code 6) (name "Net-(R5-Pad2)") + (node (ref U2) (pin 6)) + (node (ref R6) (pin 2)) + (node (ref R5) (pin 2))) + (net (code 7) (name MOSI) + (node (ref J12) (pin 3)) + (node (ref J1) (pin 4)) + (node (ref U4) (pin 15))) + (net (code 8) (name RST) + (node (ref R16) (pin 2)) + (node (ref SW1) (pin 1)) + (node (ref J1) (pin 5)) + (node (ref U4) (pin 29))) + (net (code 9) (name Tx) + (node (ref J1) (pin 7)) + (node (ref U4) (pin 31))) + (net (code 10) (name INT) + (node (ref U4) (pin 32)) + (node (ref J5) (pin 5))) + (net (code 11) (name SDA) + (node (ref J5) (pin 4)) + (node (ref U4) (pin 27))) + (net (code 12) (name SCL) + (node (ref U4) (pin 28)) + (node (ref J5) (pin 3))) + (net (code 13) (name "Net-(C9-Pad1)") + (node (ref C9) (pin 1)) + (node (ref U4) (pin 20))) + (net (code 14) (name MISO) + (node (ref J1) (pin 2)) + (node (ref U4) (pin 16))) + (net (code 15) (name SCK) + (node (ref U4) (pin 17)) + (node (ref J1) (pin 3))) + (net (code 16) (name "Net-(U4-Pad22)") + (node (ref U4) (pin 22))) + (net (code 17) (name "Net-(U4-Pad19)") + (node (ref U4) (pin 19))) + (net (code 18) (name "Net-(C14-Pad2)") + (node (ref D6) (pin 2)) + (node (ref U6) (pin 5)) + (node (ref U6) (pin 7)) + (node (ref U6) (pin 8)) + (node (ref U6) (pin 6)) + (node (ref C15) (pin 2)) + (node (ref C14) (pin 2)) + (node (ref J15) (pin 1))) + (net (code 19) (name "Net-(U4-Pad23)") + (node (ref U4) (pin 23))) + (net (code 20) (name "Net-(U4-Pad1)") + (node (ref U4) (pin 1))) + (net (code 21) (name "Net-(U4-Pad24)") + (node (ref U4) (pin 24))) + (net (code 22) (name "Net-(C5-Pad1)") + (node (ref C5) (pin 1)) + (node (ref U3) (pin 3)) + (node (ref JP1) (pin 1))) + (net (code 23) (name "Net-(C12-Pad2)") + (node (ref U5) (pin 5)) + (node (ref U5) (pin 7)) + (node (ref C13) (pin 2)) + (node (ref D5) (pin 2)) + (node (ref U5) (pin 6)) + (node (ref C12) (pin 2)) + (node (ref U5) (pin 8)) + (node (ref J14) (pin 1))) + (net (code 24) (name +BATT) + (node (ref JP1) (pin 2)) + (node (ref J15) (pin 2)) + (node (ref J14) (pin 2)) + (node (ref C12) (pin 1)) + (node (ref C13) (pin 1)) + (node (ref C15) (pin 1)) + (node (ref J2) (pin 2)) + (node (ref C14) (pin 1)) + (node (ref R17) (pin 1)) + (node (ref D6) (pin 1)) + (node (ref D5) (pin 1))) + (net (code 25) (name "Net-(R14-Pad2)") + (node (ref U5) (pin 4)) + (node (ref U4) (pin 9)) + (node (ref R14) (pin 2))) + (net (code 26) (name "Net-(J4-Pad2)") + (node (ref J4) (pin 2)) + (node (ref R4) (pin 2))) + (net (code 27) (name "Net-(R15-Pad2)") + (node (ref U4) (pin 10)) + (node (ref R15) (pin 2)) + (node (ref U6) (pin 4))) + (net (code 28) (name "Net-(Q2-Pad1)") + (node (ref Q2) (pin 1)) + (node (ref R9) (pin 1))) + (net (code 29) (name "Net-(J8-Pad3)") + (node (ref U4) (pin 11)) + (node (ref J8) (pin 3))) + (net (code 30) (name "Net-(D3-Pad1)") + (node (ref R12) (pin 1)) + (node (ref D3) (pin 1))) + (net (code 31) (name "Net-(D4-Pad1)") + (node (ref D4) (pin 1)) + (node (ref R13) (pin 1))) + (net (code 32) (name "Net-(J6-Pad2)") + (node (ref J6) (pin 2)) + (node (ref R10) (pin 2))) + (net (code 33) (name "Net-(J7-Pad2)") + (node (ref J7) (pin 2)) + (node (ref R11) (pin 2))) + (net (code 34) (name "Net-(J3-Pad2)") + (node (ref R3) (pin 2)) + (node (ref J3) (pin 2))) + (net (code 35) (name "Net-(Q1-Pad1)") + (node (ref R2) (pin 1)) + (node (ref Q1) (pin 1))) + (net (code 36) (name "Net-(D2-Pad1)") + (node (ref D2) (pin 1)) + (node (ref R8) (pin 1))) + (net (code 37) (name "Net-(D1-Pad1)") + (node (ref R7) (pin 1)) + (node (ref D1) (pin 1))) + (net (code 38) (name "Net-(D1-Pad2)") + (node (ref D4) (pin 2)) + (node (ref D2) (pin 2)) + (node (ref D3) (pin 2)) + (node (ref D1) (pin 2)) + (node (ref JP2) (pin 1))) + (net (code 39) (name "Net-(R9-Pad2)") + (node (ref R9) (pin 2)) + (node (ref U4) (pin 25))) + (net (code 40) (name "Net-(R17-Pad2)") + (node (ref R17) (pin 2)) + (node (ref U4) (pin 26)) + (node (ref R18) (pin 1))) + (net (code 41) (name "Net-(J10-Pad3)") + (node (ref U4) (pin 13)) + (node (ref J10) (pin 3))) + (net (code 42) (name +3V3) + (node (ref J12) (pin 2)) + (node (ref J11) (pin 2)) + (node (ref J8) (pin 2)) + (node (ref J1) (pin 1)) + (node (ref U1) (pin 2)) + (node (ref C4) (pin 1)) + (node (ref J10) (pin 2)) + (node (ref R16) (pin 1)) + (node (ref J5) (pin 1)) + (node (ref U4) (pin 6)) + (node (ref J9) (pin 2)) + (node (ref U4) (pin 4)) + (node (ref U4) (pin 18)) + (node (ref J13) (pin 1))) + (net (code 43) (name "Net-(J9-Pad3)") + (node (ref U4) (pin 12)) + (node (ref J9) (pin 3))) + (net (code 44) (name "Net-(J11-Pad3)") + (node (ref U4) (pin 14)) + (node (ref J11) (pin 3))) + (net (code 45) (name "Net-(Q1-Pad2)") + (node (ref Q1) (pin 2)) + (node (ref R7) (pin 2)) + (node (ref R3) (pin 1)) + (node (ref R4) (pin 1)) + (node (ref R8) (pin 2))) + (net (code 46) (name "Net-(Q2-Pad2)") + (node (ref R11) (pin 1)) + (node (ref R10) (pin 1)) + (node (ref R13) (pin 2)) + (node (ref R12) (pin 2)) + (node (ref Q2) (pin 2))) + (net (code 47) (name "Net-(R2-Pad2)") + (node (ref U4) (pin 2)) + (node (ref R2) (pin 2))) + (net (code 48) (name Rx) + (node (ref U4) (pin 30)) + (node (ref J13) (pin 3)) + (node (ref J1) (pin 6))) + (net (code 49) (name "Net-(C11-Pad2)") + (node (ref C11) (pin 2)) + (node (ref U4) (pin 8)) + (node (ref Y1) (pin 2))) + (net (code 50) (name "Net-(C10-Pad2)") + (node (ref U4) (pin 7)) + (node (ref Y1) (pin 1)) + (node (ref C10) (pin 2))))) \ No newline at end of file diff --git a/Hardware/Platine/Back.png b/Hardware/Platine/Back.png new file mode 100644 index 0000000..2abddc6 Binary files /dev/null and b/Hardware/Platine/Back.png differ diff --git a/Hardware/Platine/Bestueckliste_MPS_V5.ods b/Hardware/Platine/Bestueckliste_MPS_V5.ods index cbfb491..5be7795 100644 Binary files a/Hardware/Platine/Bestueckliste_MPS_V5.ods and b/Hardware/Platine/Bestueckliste_MPS_V5.ods differ diff --git a/Hardware/Platine/Bestueckplan_MPS_V5.odt b/Hardware/Platine/Bestueckplan_MPS_V5.odt index a37c2e2..b430ad1 100644 Binary files a/Hardware/Platine/Bestueckplan_MPS_V5.odt and b/Hardware/Platine/Bestueckplan_MPS_V5.odt differ diff --git a/Hardware/Platine/Top.png b/Hardware/Platine/Top.png new file mode 100644 index 0000000..ecffb44 Binary files /dev/null and b/Hardware/Platine/Top.png differ diff --git a/Hardware/Platine/front b/Hardware/Platine/front deleted file mode 100644 index af05366..0000000 Binary files a/Hardware/Platine/front and /dev/null differ diff --git a/Hardware/Platine/mps_V05.kicad_pcb b/Hardware/Platine/mps_V05.kicad_pcb index a28c921..c373167 100644 --- a/Hardware/Platine/mps_V05.kicad_pcb +++ b/Hardware/Platine/mps_V05.kicad_pcb @@ -1,4 +1,4 @@ -(kicad_pcb (version 20171130) (host pcbnew 5.0.0) +(kicad_pcb (version 20171130) (host pcbnew 5.0.0-5.0.0) (general (thickness 1.6) @@ -12,25 +12,25 @@ (page A4) (layers (0 F.Cu signal hide) - (31 B.Cu signal) + (31 B.Cu signal hide) (32 B.Adhes user hide) (33 F.Adhes user hide) (34 B.Paste user hide) - (35 F.Paste user hide) - (36 B.SilkS user) + (35 F.Paste user) + (36 B.SilkS user hide) (37 F.SilkS user) - (38 B.Mask user) - (39 F.Mask user) - (40 Dwgs.User user) - (41 Cmts.User user) - (42 Eco1.User user) - (43 Eco2.User user) - (44 Edge.Cuts user) - (45 Margin user) - (46 B.CrtYd user) - (47 F.CrtYd user) - (48 B.Fab user) - (49 F.Fab user) + (38 B.Mask user hide) + (39 F.Mask user hide) + (40 Dwgs.User user hide) + (41 Cmts.User user hide) + (42 Eco1.User user hide) + (43 Eco2.User user hide) + (44 Edge.Cuts user hide) + (45 Margin user hide) + (46 B.CrtYd user hide) + (47 F.CrtYd user hide) + (48 B.Fab user hide) + (49 F.Fab user hide) ) (setup @@ -283,7 +283,7 @@ (tags capacitor) (path /5B6AD75E) (attr smd) - (fp_text reference C1 (at -0.025 -3.3655 270) (layer F.SilkS) hide + (fp_text reference C1 (at 0.06838 -1.78014) (layer F.SilkS) hide (effects (font (size 1 1) (thickness 0.15))) ) (fp_text value "22 µF" (at 0 1.65 270) (layer F.Fab) @@ -395,7 +395,7 @@ (tags capacitor) (path /5B61B5CD) (attr smd) - (fp_text reference C3 (at 0.254 -7.29 180) (layer F.SilkS) hide + (fp_text reference C3 (at 0.02032 1.30596 180) (layer F.SilkS) hide (effects (font (size 1 1) (thickness 0.15))) ) (fp_text value "22 µF" (at 0 1.65 180) (layer F.Fab) @@ -1067,7 +1067,7 @@ (tags resistor) (path /5B641335) (attr smd) - (fp_text reference R1 (at -0.9525 -3.1755 270) (layer F.SilkS) hide + (fp_text reference R1 (at 0.0523 -1.7145) (layer F.SilkS) hide (effects (font (size 1 1) (thickness 0.15))) ) (fp_text value "7.5 kΩ" (at 0 1.65 270) (layer F.Fab) @@ -1211,7 +1211,7 @@ (tags resistor) (path /5B604605) (attr smd) - (fp_text reference R2 (at 0.8128 1.334) (layer F.SilkS) hide + (fp_text reference R2 (at -0.18074 1.31552) (layer F.SilkS) hide (effects (font (size 1 1) (thickness 0.15))) ) (fp_text value "1 kΩ" (at 0 1.65) (layer F.Fab) @@ -2463,7 +2463,7 @@ (tags diode) (path /5BB48A68) (attr smd) - (fp_text reference D1 (at 2.2352 0.1016) (layer F.SilkS) + (fp_text reference D1 (at 2.23286 0.11196) (layer F.SilkS) (effects (font (size 0.5 0.5) (thickness 0.125))) ) (fp_text value D (at 0 1.65 270) (layer F.Fab) diff --git a/Hardware/Platine/mps_V05.pro b/Hardware/Platine/mps_V05.pro index 374ae99..7b04c59 100644 --- a/Hardware/Platine/mps_V05.pro +++ b/Hardware/Platine/mps_V05.pro @@ -1,4 +1,4 @@ -update=Mi 22 Aug 2018 11:14:27 CEST +update=Sa 10 Nov 2018 14:22:28 CET version=1 last_client=kicad [pcbnew] @@ -25,6 +25,9 @@ version=1 NetIExt=net [general] version=1 +[eeschema] +version=1 +LibDir= [schematic_editor] version=1 PageLayoutDescrFile= @@ -32,9 +35,6 @@ PlotDirectoryName=./ SubpartIdSeparator=0 SubpartFirstId=65 NetFmtName=Pcbnew -SpiceForceRefPrefix=0 -SpiceUseNetNumbers=0 +SpiceAjustPassiveValues=0 LabSize=60 -[eeschema] -version=1 -LibDir= +ERC_TestSimilarLabels=1 diff --git a/Software/Lib/MicroPlaneSystem_dev04.zip b/Software/Lib/MicroPlaneSystem_dev04.zip new file mode 100644 index 0000000..8e769d6 Binary files /dev/null and b/Software/Lib/MicroPlaneSystem_dev04.zip differ diff --git a/Software/MPS_dev_03/MPS_dev_03.ino b/Software/MPS_dev_03/MPS_dev_03.ino new file mode 100644 index 0000000..9bdbb89 --- /dev/null +++ b/Software/MPS_dev_03/MPS_dev_03.ino @@ -0,0 +1,135 @@ +#include + +MicroPlaneSystem rx; +MicroPlaneSystem servo1; +MicroPlaneSystem servo2; +MicroPlaneSystem motorB; + +int rud; +int ele; +int thro; +int ail; +int aux1; +int aux2; + +int iswitch = 0; + +float fBattV; + +unsigned long timeFirst; + +bool debugging = false; + +void setup() { + Serial.begin(115200); + Serial.println("-----------"); + Serial.println("Hello World"); + + servo1.attach(7); + servo2.attach(8); + + motorB.setMotorPin(6); +} + + +void loop() { + + updateChannels(); + + servo1.write(ail); + servo2.write(ele); + motorB.setThrust(thro); + + if (aux1 >= 1500) { + digitalWrite(A2, HIGH); + } else { + digitalWrite(A2, LOW); + } + + if (aux2 >= 1500) { + posLight(); + } + +} + +void channelMapping() { + ail = rx.getRxChannel(0); + rud = rx.getRxChannel(1); + ele = rx.getRxChannel(2); + thro = rx.getRxChannel(3); + aux1 = rx.getRxChannel(4); + aux2 = rx.getRxChannel(5); +} + +void updateChannels() { + + if (Serial.available()) { + //Serial.println("Serial ist da"); + if (rx.update()) { + channelMapping(); + if (debugging) { + for (int i = 0; i < 6; i++) { + Serial.print(" Ch0"); + Serial.print(i); + Serial.print(": "); + Serial.print(rx.getRxChannel(i)); + } + Serial.println(); + } + } + } else { + //No connection or Failsafe + // Serial.println("\nNo Connection"); + motorB.setThrust(0); + } +} + +void posLight() { + + //Serial.println(millis()); + + switch (iswitch) { + case 0: + if (everyXMills(100)) { + iswitch++; + digitalWrite(4, HIGH); + } + break; + case 1: + if (everyXMills(50)) { + iswitch++; + digitalWrite(4, LOW); + } + break; + case 2: + if (everyXMills(100)) { + iswitch++; + digitalWrite(4, HIGH); + } + break; + case 3: + if (everyXMills(50)) { + iswitch++; + digitalWrite(4, LOW); + } + break; + case 4: + if (everyXMills(800)) { + iswitch = 0; + } + break; + } +} + + +bool everyXMills(unsigned int mills) { + bool bStatus; + if ((millis() - timeFirst) >= mills) { + bStatus = true; + timeFirst = millis(); + } else { + bStatus = false; + } + return bStatus; +} +