Skip to content

Commit f0f6744

Browse files
author
dshmyglev
committed
initial commit
1 parent 5f7c45f commit f0f6744

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+183577
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
schematics/air-detector/air-detector-backups
2+
schematics/air-detector/*.lck
3+
src/build/
4+
src/sdkconfig
5+
src/sdkconfig.old
6+
3d/*.gcode
7+
3d/*.FCBak
8+

calc.ods

23.6 KB
Binary file not shown.

emulator.simu

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<circuit reactStep="50" Simu_Step_nS="1000" noLinAcc="5" type="simulide_0.4" Speed_per="100" animate="0" Speed_sps="1000000">
2+
3+
Unique Id: Ground-29:
4+
Circuit Id: Ground-5
5+
<item labelrot="0" hflip="1" labely="8" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-420" Show_id="false" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Ground-29" vflip="1" boardRot="-1e+06" itemtype="Ground" valLabRot="0" x="-164" id="Ground-5"/>
6+
7+
Unique Id: Node-27:
8+
Circuit Id: Node-27
9+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-348" Show_id="false" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Node-27" vflip="1" boardRot="-1e+06" itemtype="Node" valLabRot="0" x="-192" id="Node-27"/>
10+
11+
Unique Id: Voltimeter-25:
12+
Circuit Id: Voltimeter-25
13+
<item labelrot="0" hflip="1" labely="-40" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-24" y="-472" Show_id="false" valLabelx="0" circRot="2.9756238914162006e-30" circPos="0,0" rotation="0" valLabely="0" objectName="Voltimeter-25" vflip="1" boardRot="-1e+06" SwitchPins="false" itemtype="Voltimeter" valLabRot="0" x="-184" id="Voltimeter-25"/>
14+
15+
Unique Id: Node-22:
16+
Circuit Id: Node-22
17+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-344" Show_id="false" valLabelx="0" circRot="2.658987e-316" circPos="0,0" rotation="0" valLabely="0" objectName="Node-22" vflip="1" boardRot="-1e+06" itemtype="Node" valLabRot="0" x="-316" id="Node-22"/>
18+
19+
Unique Id: Node-19:
20+
Circuit Id: Node-19
21+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-336" Show_id="false" valLabelx="0" circRot="5.38e-321" circPos="0,0" rotation="0" valLabely="0" objectName="Node-19" vflip="1" boardRot="-1e+06" itemtype="Node" valLabRot="0" x="-204" id="Node-19"/>
22+
23+
Unique Id: Oscope-17:
24+
Circuit Id: Oscope-17
25+
<item labelrot="0" Basic_X="135" VolDiv="1,1.00929,1,1" hflip="1" hTick="4000000" Tracks="2" labely="-100" VolPos="0,-0.6986,0,0" mainComp="false" AutoSC="4" boardPos="-1e+06,-1e+06" Tunnels=",,," HideCh="false,false,false,false" labelx="-90" TimPos="0,0,0,0" y="-332" Show_id="false" valLabelx="0" circRot="-5.486192064358692e+303" circPos="0,0" rotation="0" Basic_Y="135" valLabely="0" objectName="Oscope-17" vflip="1" boardRot="-1e+06" Trigger="0" itemtype="Oscope" valLabRot="0" x="-52" id="Oscope-17" Filter="0"/>
26+
27+
Unique Id: Node-13:
28+
Circuit Id: Node-13
29+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-300" Show_id="false" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Node-13" vflip="1" boardRot="-1e+06" itemtype="Node" valLabRot="0" x="-300" id="Node-13"/>
30+
31+
Unique Id: Ground-5:
32+
Circuit Id: Ground-5
33+
<item labelrot="0" hflip="1" labely="8" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-224" Show_id="false" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Ground-5" vflip="1" boardRot="-1e+06" itemtype="Ground" valLabRot="0" x="-336" id="Ground-5"/>
34+
35+
Unique Id: Resistor-4:
36+
Circuit Id: Resistor-4
37+
<item labelrot="0" hflip="1" labely="-20" mainComp="false" boardPos="-1e+06,-1e+06" Unit=" kΩ" labelx="-12" y="-272" Resistance="10" Show_id="false" valLabelx="-16" circRot="9.442881271945e-312" circPos="0,0" rotation="-90" valLabely="6" Show_res="true" objectName="Resistor-4" vflip="1" boardRot="-1e+06" itemtype="Resistor" valLabRot="0" x="-300" id="Resistor-4"/>
38+
39+
Unique Id: Resistor-3:
40+
Circuit Id: Resistor-3
41+
<item labelrot="0" hflip="1" labely="-20" mainComp="false" boardPos="-1e+06,-1e+06" Unit=" kΩ" labelx="-12" y="-300" Resistance="30" Show_id="false" valLabelx="-16" circRot="9.442881271945e-312" circPos="0,0" rotation="0" valLabely="6" Show_res="true" objectName="Resistor-3" vflip="1" boardRot="-1e+06" itemtype="Resistor" valLabRot="0" x="-252" id="Resistor-3"/>
42+
43+
Unique Id: WaveGen-2:
44+
Circuit Id: WaveGen-2
45+
<item labelrot="0" hflip="1" Show_Volt="true" Duty_Square="50" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" Unit=" mV" Voltage="700" Quality="5" labelx="-64" y="-344" Always_On="false" Show_id="false" valLabelx="-16" circRot="2.1920167e-316" Out="true" circPos="0,0" Volt_Base="0" rotation="0" valLabely="8" objectName="WaveGen-2" vflip="1" Freq="50" Wave_Type="3" boardRot="-1e+06" itemtype="WaveGen" valLabRot="0" x="-360" id="WaveGen-2"/>
46+
47+
Unique Id: opAmp-1:
48+
Circuit Id: opAmp-1
49+
<item labelrot="0" hflip="1" labely="-32" mainComp="false" boardPos="-1e+06,-1e+06" Switch_Pins="false" Gain="1000" Power_Pins="false" labelx="-16" y="-336" Show_id="false" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="opAmp-1" vflip="1" Volt_Neg="0" boardRot="-1e+06" Volt_Pos="5" itemtype="opAmp" valLabRot="0" x="-268" id="opAmp-1"/>
50+
51+
Unique Id: Connector-10:
52+
Circuit Id: Connector-10
53+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-240" Show_id="false" endpinid="Resistor-4-lPin" valLabelx="0" circRot="4.416208753293923e+257" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-10" vflip="1" boardRot="-1e+06" pointList="-336,-240,-336,-256,-300,-256" itemtype="Connector" valLabRot="0" enodeid="enode-10" x="-336" id="Connector-10" startpinid="Ground-5-Gnd"/>
54+
55+
Unique Id: Connector-11:
56+
Circuit Id: Connector-11
57+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-288" Show_id="false" endpinid="Node-13-0" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-11" vflip="1" boardRot="-1e+06" pointList="-300,-288,-300,-300" itemtype="Connector" valLabRot="0" enodeid="enode-12" x="-300" id="Connector-11" startpinid="Resistor-4-rPin"/>
58+
59+
Unique Id: Connector-12:
60+
Circuit Id: Connector-12
61+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-300" Show_id="false" endpinid="Node-13-1" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-12" vflip="1" boardRot="-1e+06" pointList="-268,-300,-300,-300" itemtype="Connector" valLabRot="0" enodeid="enode-12" x="-268" id="Connector-12" startpinid="Resistor-3-lPin"/>
62+
63+
Unique Id: Connector-14:
64+
Circuit Id: Connector-14
65+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-300" Show_id="false" endpinid="opAmp-1-inputInv" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-14" vflip="1" boardRot="-1e+06" pointList="-300,-300,-300,-328,-292,-328" itemtype="Connector" valLabRot="0" enodeid="enode-12" x="-300" id="Connector-14" startpinid="Node-13-2"/>
66+
67+
Unique Id: Connector-15:
68+
Circuit Id: Connector-15
69+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-300" Show_id="false" endpinid="Node-19-0" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-15" vflip="1" boardRot="-1e+06" pointList="-236,-300,-204,-300,-204,-336" itemtype="Connector" valLabRot="0" enodeid="enode-26" x="-236" id="Connector-15" startpinid="Resistor-3-rPin"/>
70+
71+
Unique Id: Connector-16:
72+
Circuit Id: Connector-16
73+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-344" Show_id="false" endpinid="Node-22-0" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-16" vflip="1" boardRot="-1e+06" pointList="-292,-344,-316,-344" itemtype="Connector" valLabRot="0" enodeid="enode-21" x="-292" id="Connector-16" startpinid="opAmp-1-inputNinv"/>
74+
75+
Unique Id: Connector-18:
76+
Circuit Id: Connector-18
77+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-348" Show_id="false" endpinid="Node-27-0" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-18" vflip="1" boardRot="-1e+06" pointList="-140,-348,-192,-348" itemtype="Connector" valLabRot="0" enodeid="enode-26" x="-140" id="Connector-18" startpinid="Oscope-17-Pin1"/>
78+
79+
Unique Id: Connector-20:
80+
Circuit Id: Connector-20
81+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-336" Show_id="false" endpinid="opAmp-1-output" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-20" vflip="1" boardRot="-1e+06" pointList="-204,-336,-244,-336" itemtype="Connector" valLabRot="0" enodeid="enode-26" x="-204" id="Connector-20" startpinid="Node-19-2"/>
82+
83+
Unique Id: Connector-21:
84+
Circuit Id: Connector-21
85+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-380" Show_id="false" endpinid="Node-22-1" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-21" vflip="1" boardRot="-1e+06" pointList="-140,-380,-316,-380,-316,-344" itemtype="Connector" valLabRot="0" enodeid="enode-21" x="-140" id="Connector-21" startpinid="Oscope-17-Pin0"/>
86+
87+
Unique Id: Connector-23:
88+
Circuit Id: Connector-23
89+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-344" Show_id="false" endpinid="WaveGen-2-outnod" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-23" vflip="1" boardRot="-1e+06" pointList="-316,-344,-344,-344" itemtype="Connector" valLabRot="0" enodeid="enode-21" x="-316" id="Connector-23" startpinid="Node-22-2"/>
90+
91+
Unique Id: Connector-26:
92+
Circuit Id: Connector-26
93+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-456" Show_id="false" endpinid="Node-27-1" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-26" vflip="1" boardRot="-1e+06" pointList="-192,-456,-192,-348" itemtype="Connector" valLabRot="0" enodeid="enode-26" x="-192" id="Connector-26" startpinid="Voltimeter-25-lPin"/>
94+
95+
Unique Id: Connector-28:
96+
Circuit Id: Connector-28
97+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-348" Show_id="false" endpinid="Node-19-1" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-28" vflip="1" boardRot="-1e+06" pointList="-192,-348,-204,-348,-204,-336" itemtype="Connector" valLabRot="0" enodeid="enode-26" x="-192" id="Connector-28" startpinid="Node-27-2"/>
98+
99+
Unique Id: Connector-30:
100+
Circuit Id: Connector-30
101+
<item labelrot="0" hflip="1" labely="-24" mainComp="false" boardPos="-1e+06,-1e+06" labelx="-16" y="-436" Show_id="false" endpinid="Voltimeter-25-rPin" valLabelx="0" circRot="0" circPos="0,0" rotation="0" valLabely="0" objectName="Connector-30" vflip="1" boardRot="-1e+06" pointList="-164,-436,-164,-456,-176,-456" itemtype="Connector" valLabRot="0" enodeid="enode-30" x="-164" id="Connector-30" startpinid="Ground-29-Gnd"/>
102+
103+
</circuit>
+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
"Source:","/opt/work-iot/air-detector/schematics/air-detector/air-detector.kicad_sch"
2+
"Date:","Вт 09 янв 2024 12:32:36"
3+
"Tool:","Eeschema 7.0.10-7.0.10~ubuntu22.04.1"
4+
"Generator:","/usr/share/kicad/plugins/bom_csv_grouped_by_value_with_fp.py"
5+
"Component Count:","132"
6+
"Ref","Qnty","Value","Cmp name","Footprint","Description","Vendor","DNP"
7+
"C1, C2, C3, C6, C27, C28, C29","7","10 uF","C","Capacitor_SMD:C_0603_1608Metric","Unpolarized capacitor","",""
8+
"C4, C11, C30, C33","4","1000 uF","C_Polarized","Capacitor_THT:CP_Radial_D8.0mm_P3.50mm","Polarized capacitor","",""
9+
"C5, C9, C17, C31, C32, C36","6","22 uF","C","Capacitor_SMD:C_1210_3225Metric","Unpolarized capacitor","",""
10+
"C7, C8, C10, C12, C14, C15, C19, C20, C21, C23, C24, C25, C34, C39, C40, C41","16","1 uF","C","Capacitor_SMD:C_0603_1608Metric","Unpolarized capacitor","",""
11+
"C13, C26","2","100 nF","C","Capacitor_SMD:C_0603_1608Metric","Unpolarized capacitor","",""
12+
"C16, C22, C35","3","100 uF","C","Capacitor_SMD:C_0603_1608Metric","Unpolarized capacitor","",""
13+
"C18, C37, C38","3","0.1 uF","C","Capacitor_SMD:C_0603_1608Metric","Unpolarized capacitor","",""
14+
"D4","1","SK6812","SK6812","LED_SMD:LED_SK6812_PLCC4_5.0x5.0mm_P3.2mm","RGB LED with integrated controller","",""
15+
"D8, D9","2","PRTR5V0U2X","SP0503BAHT","Package_TO_SOT_SMD:SOT-143","TVS Diode Array, 5.5V Standoff, 3 Channels, SOT-143 package","",""
16+
"H1, H2, H3, H4, H5, H6, H7, H8, H9","9","MountingHole","MountingHole","MountingHole:MountingHole_2.2mm_M2","Mounting Hole without connection","",""
17+
"J1, J9","2","USB_C_Receptacle_USB2.0","USB_C_Receptacle_USB2.0","Library:USB_C_P16_MIDMOUNT_1.6","USB 2.0-only Type-C Receptacle connector","",""
18+
"J2","1","Touch sensor","Conn_01x02_Socket","Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical","Generic connector, single row, 01x02, script generated","",""
19+
"J3, J10","2","5V input","Conn_01x02_Socket","Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical","Generic connector, single row, 01x02, script generated","",""
20+
"J4, J8","2","BME280","Conn_01x04_Socket","Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical","Generic connector, single row, 01x04, script generated","",""
21+
"J5","1","PMS7003","Conn_02x05_Odd_Even","Connector_JST:JST_XH_B10B-XH-A_1x10_P2.50mm_Vertical","Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)","",""
22+
"J6","1","Ext FAN","Conn_01x02_Socket","Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical","Generic connector, single row, 01x02, script generated","",""
23+
"J7","1","FAN","Conn_01x02_Socket","Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical","Generic connector, single row, 01x02, script generated","",""
24+
"J11","1","MHZ19B","Conn_01x04_Socket","Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical","Generic connector, single row, 01x04, script generated","",""
25+
"JP1, JP3","2","FLUSH","SolderJumper_2_Open","Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm","Solder Jumper, 2-pole, open","",""
26+
"JP2, JP4","2","RESET","SolderJumper_2_Open","Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm","Solder Jumper, 2-pole, open","",""
27+
"Q1, Q2, Q6, Q7","4","BC847","BC847","Package_TO_SOT_SMD:SOT-23","0.1A Ic, 45V Vce, NPN Transistor, SOT-23","",""
28+
"Q3, Q4, Q5","3","IRLML0030","IRLML0030","Package_TO_SOT_SMD:SOT-23","5.3A Id, 30V Vds, 27mOhm Rds, N-Channel HEXFET Power MOSFET, SOT-23","",""
29+
"R1, R24","2","22K","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
30+
"R2, R25","2","44K","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
31+
"R3, R14, R15, R26, R29, R31","6","1K","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
32+
"R4, R5, R7, R9, R17, R18, R22, R23, R27, R28, R30, R32, R33, R34, R35, R36, R37","17","10K","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
33+
"R6","1","100","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
34+
"R8","1","10K","R_Photo","Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_Vertical","Photoresistor","",""
35+
"R10, R11, R12, R13","4","3K3","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
36+
"R16, R20","2","4R7","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
37+
"R19","1","500","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
38+
"R21","1","30K","R","Resistor_SMD:R_0805_2012Metric","Resistor","",""
39+
"RV1","1","5K","R_Potentiometer","Potentiometer_THT:Potentiometer_Runtron_RM-065_Vertical","Potentiometer","",""
40+
"RV2, RV3","2","200K","R_Potentiometer","Potentiometer_THT:Potentiometer_Runtron_RM-065_Vertical","Potentiometer","",""
41+
"SW1, SW2, SW3, SW4","4","KLS7-TS3601-5.0-180","SW_Push","Library:SW_PUSH_P6.5_W3.5","Push button switch, generic, two pins","",""
42+
"U1, U13","2","CP2102N-Axx-xQFN28","CP2102N-Axx-xQFN28","Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mm","USB to UART master bridge, QFN-28","",""
43+
"U2","1","O2A2","O2A2","Library:O2A2","","",""
44+
"U3","1","LM358ADR","LM2904","Package_SO:SOP-8_5.28x5.23mm_P1.27mm","Dual Operational Amplifiers, DIP-8/SOIC-8/TSSOP-8/VSSOP-8","",""
45+
"U4, U14","2","AMS1117-3.3","AMS1117-3.3","Package_TO_SOT_SMD:SOT-223-3_TabPin2","1A Low Dropout regulator, positive, 3.3V fixed output, SOT-223","",""
46+
"U5","1","MQ-7","MQ-6","Sensor:MQ-6","Semiconductor Sensor for Flammable Gas","",""
47+
"U6, U12","2","MQ-136","MQ-6","Sensor:MQ-6","Semiconductor Sensor for Flammable Gas","",""
48+
"U8, U15","2","ESP32-WROOM-32","ESP32-WROOM-32","RF_Module:ESP32-WROOM-32","RF Module, ESP32-D0WDQ6 SoC, Wi-Fi 802.11b/g/n, Bluetooth, BLE, 32-bit, 2.7-3.6V, onboard antenna, SMD","",""
49+
"U10, U11","2","SGP41","SGP41","footprints:XDCR_SGP41-D-R4","","",""

0 commit comments

Comments
 (0)