<circuit version="2.0.0-" rev="261105" stepSize="1000000" stepsPS="1000000" NLsteps="100000" reaStep="1000000" animate="0" anicurr="0" ansi="0" width="3200" height="2400" >

<item itemtype="Subcircuit" CircId="Uno-1" mainComp="false" Show_id="true" Show_Val="false" Pos="-464,-88" rotation="0" hflip="1" vflip="1" label="Uno-1" idLabPos="0,-20" labelrot="0" valLabPos="-16,20" valLabRot="0" Package="2- Logic Symbol">
<mainCompProps MainCompId="mega328-109" Package="1- mega328_DIP" Frequency="16 MHz" ForceFreq="true" savePGM="false" Program="2.3_PWM.hex" Auto_Load="false" saveEepr="true" MainMcu="true" SerialMon="-1" />
</item>

<item itemtype="Ground" CircId="Ground-2" mainComp="false" Show_id="false" Show_Val="false" Pos="-480,96" rotation="0" hflip="1" vflip="1" label="Ground-2" idLabPos="-16,8" labelrot="0" valLabPos="-16,20" valLabRot="0" />

<item itemtype="Rail" CircId="Rail-5" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-480,0" rotation="90" hflip="1" vflip="1" label="Rail-5" idLabPos="-5,-10" labelrot="-90" valLabPos="-12,6" valLabRot="-90" Voltage="5 V" />

<item itemtype="Potentiometer" CircId="Potentiometer-6" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-360,-80" rotation="90" hflip="1" vflip="1" label="Potentiometer-6" idLabPos="-16,-40" labelrot="0" valLabPos="15,-20" valLabRot="0" Resistance="1 kΩ" Value_Ohm="267 Ω" Slider="true" Scale="1" />

<item itemtype="Rail" CircId="Rail-7" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-360,-116" rotation="90" hflip="1" vflip="1" label="Rail-7" idLabPos="-5,-10" labelrot="-90" valLabPos="-12,6" valLabRot="-90" Voltage="5 V" />

<item itemtype="Ground" CircId="Ground-8" mainComp="false" Show_id="false" Show_Val="false" Pos="-360,-44" rotation="0" hflip="1" vflip="1" label="Ground-8" idLabPos="-16,8" labelrot="0" valLabPos="-16,20" valLabRot="0" />

<item itemtype="Resistor" CircId="Resistor-12" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-328,-16" rotation="0" hflip="1" vflip="1" label="Resistor-12" idLabPos="-16,-24" labelrot="0" valLabPos="-9.56713,-14.5852" valLabRot="0" Resistance="1000 Ω" />

<item itemtype="Capacitor" CircId="Capacitor-13" mainComp="false" ShowProp="Capacitance" Show_id="false" Show_Val="true" Pos="-304,4" rotation="90" hflip="1" vflip="1" label="Capacitor-13" idLabPos="-16,-24" labelrot="0" valLabPos="-8.70942,-17.5872" valLabRot="0" Capacitance="10 µF" Resistance="1 µΩ" InitVolt="0 V" />

<item itemtype="Ground" CircId="Ground-14" mainComp="false" Show_id="false" Show_Val="false" Pos="-304,36" rotation="0" hflip="1" vflip="1" label="Ground-14" idLabPos="-16,8" labelrot="0" valLabPos="-16,20" valLabRot="0" />

<item itemtype="Tunnel" CircId="Tunnel-23" mainComp="false" Show_id="false" Show_Val="false" Pos="-384,-20" rotation="-270" hflip="-1" vflip="1" label="Tunnel-23" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="PWM" IsBus="false" />

<item itemtype="Tunnel" CircId="Tunnel-25" mainComp="false" Show_id="false" Show_Val="false" Pos="-276,-20" rotation="-270" hflip="-1" vflip="1" label="Tunnel-25" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="RC" IsBus="false" />

<item itemtype="Tunnel" CircId="Tunnel-27" mainComp="false" Show_id="false" Show_Val="false" Pos="-144,-8" rotation="-360" hflip="-1" vflip="1" label="Tunnel-27" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="U_OUT" IsBus="false" />

<item itemtype="Oscope" CircId="Oscope-29" mainComp="false" Show_id="false" Show_Val="false" Pos="24,-24" rotation="0" hflip="1" vflip="1" label="Oscope-29" idLabPos="-90,-100" labelrot="0" valLabPos="-16,20" valLabRot="0" Basic_X="135 _px" Basic_Y="135 _px" BufferSize="600000" connectGnd="true" InputImped="10 MΩ" TestTime="0 ns" DoTest="false" TimDiv="500000000" TimPos="-6117886158,-6117886158,-6117886158,-6117886158," VolDiv="1,1,1,1," Tunnels="pwm izhod,glajena nap.,ojačena 2x,," Trigger="0" Filter="0.1 V" AutoSC="4" Tracks="1" HideCh="false,false,false,false," VolPos="-4,-4,-4,-4," />

<item itemtype="Tunnel" CircId="Tunnel-30" mainComp="false" Show_id="false" Show_Val="false" Pos="-76,-72" rotation="-360" hflip="1" vflip="1" label="Tunnel-30" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="PWM" IsBus="false" />

<item itemtype="Tunnel" CircId="Tunnel-31" mainComp="false" Show_id="false" Show_Val="false" Pos="-76,-40" rotation="-720" hflip="1" vflip="1" label="Tunnel-31" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="RC" IsBus="false" />

<item itemtype="Tunnel" CircId="Tunnel-32" mainComp="false" Show_id="false" Show_Val="false" Pos="-76,-8" rotation="-360" hflip="1" vflip="1" label="Tunnel-32" idLabPos="-16,-24" labelrot="0" valLabPos="-16,20" valLabRot="0" Name="U_OUT" IsBus="false" />

<item itemtype="opAmp" CircId="opAmp-33" mainComp="false" Show_id="false" Show_Val="false" Pos="-228,-8" rotation="0" hflip="1" vflip="1" label="opAmp-33" idLabPos="-16,-32" labelrot="0" valLabPos="-16,20" valLabRot="0" Gain="1000" Out_Imped="10 Ω" Power_Pins="true" Switch_Pins="false" Volt_Pos="5 V" Volt_Neg="-5 V" />

<item itemtype="Ground" CircId="Ground-20" mainComp="false" Show_id="false" Show_Val="false" Pos="-172,88" rotation="0" hflip="1" vflip="1" label="Ground-20" idLabPos="-16,8" labelrot="0" valLabPos="-16,20" valLabRot="0" />

<item itemtype="Resistor" CircId="Resistor-19" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-172,52" rotation="90" hflip="1" vflip="1" label="Resistor-19" idLabPos="-16,-24" labelrot="0" valLabPos="-11.2826,-15.014" valLabRot="0" Resistance="1 kΩ" />

<item itemtype="Resistor" CircId="Resistor-18" mainComp="false" ShowProp="Resistance" Show_id="false" Show_Val="true" Pos="-172,12" rotation="90" hflip="1" vflip="1" label="Resistor-18" idLabPos="-16,-24" labelrot="0" valLabPos="-11.2826,-15.014" valLabRot="0" Resistance="1 kΩ" />

<item itemtype="Rail" CircId="Rail-37" mainComp="false" ShowProp="Voltage" Show_id="false" Show_Val="true" Pos="-228,-44" rotation="90" hflip="1" vflip="1" label="Rail-37" idLabPos="-5,-10" labelrot="-90" valLabPos="-12,6" valLabRot="-90" Voltage="10 V" />

<item itemtype="Ground" CircId="Ground-38" mainComp="false" Show_id="false" Show_Val="false" Pos="-228,28" rotation="0" hflip="1" vflip="1" label="Ground-38" idLabPos="-16,8" labelrot="0" valLabPos="-16,20" valLabRot="0" />

<item itemtype="Node" CircId="Node-3" mainComp="false" Pos="-480,64" />

<item itemtype="Node" CircId="Node-4" mainComp="false" Pos="-480,72" />

<item itemtype="Node" CircId="Node-17" mainComp="false" Pos="-304,-16" />

<item itemtype="Node" CircId="Node-24" mainComp="false" Pos="-384,-16" />

<item itemtype="Node" CircId="Node-34" mainComp="false" Pos="-276,-16" />

<item itemtype="Node" CircId="Node-36" mainComp="false" Pos="-172,-8" />

<item itemtype="Node" CircId="Node-35" mainComp="false" Pos="-172,32" />

<item itemtype="Connector" uid="Connector-2" startpinid="Uno-1-GND1" endpinid="Node-3-1" pointList="-472,64,-480,64" />

<item itemtype="Connector" uid="Connector-4" startpinid="Node-3-2" endpinid="Uno-1-GND0" pointList="-480,64,-480,56,-472,56" />

<item itemtype="Connector" uid="Connector-5" startpinid="Uno-1-GND2" endpinid="Node-4-1" pointList="-472,72,-480,72" />

<item itemtype="Connector" uid="Connector-6" startpinid="Ground-2-Gnd" endpinid="Node-4-0" pointList="-480,80,-480,72" />

<item itemtype="Connector" uid="Connector-7" startpinid="Node-4-2" endpinid="Node-3-0" pointList="-480,72,-480,64" />

<item itemtype="Connector" uid="Connector-8" startpinid="Rail-5-outnod" endpinid="Uno-1-3V3" pointList="-480,16,-480,40,-472,40" />

<item itemtype="Connector" uid="Connector-9" startpinid="Rail-7-outnod" endpinid="Potentiometer-6-PinA" pointList="-360,-100,-360,-96" />

<item itemtype="Connector" uid="Connector-10" startpinid="Potentiometer-6-PinB" endpinid="Ground-8-Gnd" pointList="-360,-64,-360,-60" />

<item itemtype="Connector" uid="Connector-11" startpinid="Potentiometer-6-PinM" endpinid="Uno-1-A5" pointList="-376,-80,-408,-80" />

<item itemtype="Connector" uid="Connector-16" startpinid="Ground-14-Gnd" endpinid="Capacitor-13-rPin" pointList="-304,20,-304,20" />

<item itemtype="Connector" uid="Connector-18" startpinid="Capacitor-13-lPin" endpinid="Node-17-0" pointList="-304,-12,-304,-16" />

<item itemtype="Connector" uid="Connector-19" startpinid="Node-17-2" endpinid="Resistor-12-rPin" pointList="-304,-16,-312,-16" />

<item itemtype="Connector" uid="Connector-26" startpinid="Tunnel-23-pin" endpinid="Node-24-1" pointList="-384,-20,-384,-16" />

<item itemtype="Connector" uid="Connector-27" startpinid="Uno-1-11" endpinid="Node-24-0" pointList="-408,-16,-384,-16" />

<item itemtype="Connector" uid="Connector-28" startpinid="Node-24-2" endpinid="Resistor-12-lPin" pointList="-384,-16,-344,-16" />

<item itemtype="Connector" uid="Connector-35" startpinid="Tunnel-30-pin" endpinid="Oscope-29-Pin0" pointList="-76,-72,-64,-72" />

<item itemtype="Connector" uid="Connector-36" startpinid="Tunnel-31-pin" endpinid="Oscope-29-Pin1" pointList="-76,-40,-64,-40" />

<item itemtype="Connector" uid="Connector-37" startpinid="Tunnel-32-pin" endpinid="Oscope-29-Pin2" pointList="-76,-8,-64,-8" />

<item itemtype="Connector" uid="Connector-43" startpinid="Node-34-2" endpinid="Node-17-1" pointList="-276,-16,-304,-16" />

<item itemtype="Connector" uid="Connector-42" startpinid="Tunnel-25-pin" endpinid="Node-34-0" pointList="-276,-20,-276,-16" />

<item itemtype="Connector" uid="Connector-41" startpinid="opAmp-33-inputNinv" endpinid="Node-34-1" pointList="-252,-16,-276,-16" />

<item itemtype="Connector" uid="Connector-49" startpinid="Node-36-2" endpinid="Tunnel-27-pin" pointList="-172,-8,-144,-8" />

<item itemtype="Connector" uid="Connector-48" startpinid="Resistor-18-lPin" endpinid="Node-36-0" pointList="-172,-4,-172,-8" />

<item itemtype="Connector" uid="Connector-22" startpinid="Ground-20-Gnd" endpinid="Resistor-19-rPin" pointList="-172,72,-172,68" />

<item itemtype="Connector" uid="Connector-47" startpinid="opAmp-33-output" endpinid="Node-36-1" pointList="-204,-8,-172,-8" />

<item itemtype="Connector" uid="Connector-44" startpinid="opAmp-33-inputInv" endpinid="Node-35-1" pointList="-252,0,-252,32,-172,32" />

<item itemtype="Connector" uid="Connector-46" startpinid="Node-35-2" endpinid="Resistor-19-lPin" pointList="-172,32,-172,36" />

<item itemtype="Connector" uid="Connector-45" startpinid="Resistor-18-rPin" endpinid="Node-35-0" pointList="-172,28,-172,32" />

<item itemtype="Connector" uid="Connector-50" startpinid="Ground-38-Gnd" endpinid="opAmp-33-powerNeg" pointList="-228,12,-228,8" />

<item itemtype="Connector" uid="Connector-51" startpinid="opAmp-33-powerPos" endpinid="Rail-37-outnod" pointList="-228,-24,-228,-28" />

</circuit>