PID temperature controller DIY Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 426

  • @asswipe3079
    @asswipe3079 6 ปีที่แล้ว +89

    On behalf of all mechanical engineering students, thank you so much for breaking this process down into something we can understand!

  • @j3s0n
    @j3s0n 4 ปีที่แล้ว +15

    The heating element can be represented by a first-order transfer function if you apply a step input (e.g 5 V or 12 V or whatever the supply voltage is). Plot the transient behaviour as the temperature raises and settles about a value (sample at regular intervals though). This will fit the equation K/(s(tau)+1). K is the gain so that will be the maximum temperature of the plot. Tau is the time constant and this will be the time it takes for the element to reach about 63% of its maximum temperature. You can either simulate this in Simulink and play with the PID values (make sure you use the z-domain rather than the s-domain though.
    If you don't want to use simulink then just use a tuning method like ziegler nichols

  • @RossOCarroll3301
    @RossOCarroll3301 2 ปีที่แล้ว +2

    This is incredible. I am an MD doing research in neuroscience trying to make an in-line heater for live-cell imaging. This video is exactly what I needed. absolutely stunning!!! :D :D

    • @emoryolsoff96
      @emoryolsoff96 8 หลายเดือนก่อน

      How did it work out?

  • @hippie-io7225
    @hippie-io7225 6 ปีที่แล้ว +84

    One of the best PID explanations I've seen. You are an excellent educator. Thanks!

    • @LM-uz4pr
      @LM-uz4pr 4 ปีที่แล้ว +2

      Going to make some rosin with this info? lol

    • @mohammedalshrief532
      @mohammedalshrief532 3 ปีที่แล้ว +2

      Pidth-cam.com/video/NwuY7qbs2Dkp/w-d-xo.htmlidpid pid line follower robot

    • @embeddedsystemsiotprojects2055
      @embeddedsystemsiotprojects2055 3 ปีที่แล้ว

      @@mohammedalshrief532 thankes

  • @mohammedalshrief532
    @mohammedalshrief532 3 ปีที่แล้ว +1

    I made my machine learning pid iron station and i made pid code by helping your videos great man

    • @mohammedalshrief532
      @mohammedalshrief532 3 ปีที่แล้ว +1

      And mad pid line follower 🙂❤👌pidth-cam.com/video/NwuY7qbs2Dkl/w-d-xo.htmlinefollowerpid

  • @demesisx
    @demesisx ปีที่แล้ว

    Great job. Everyone else is launching rockets and having us use PID for telemetry. Thanks for simplifying it and making it accessible.

  • @marcus_w0
    @marcus_w0 6 ปีที่แล้ว +10

    I really love your enthusiasm. You're getting better and better. As a viewer right from your first few videos it's amazing to see your progress. Keep on!

  • @VasilisKarastergios
    @VasilisKarastergios 6 ปีที่แล้ว +26

    Thanks for all the time and effort you put in to this video, very well explained!

  • @neogabo123
    @neogabo123 4 ปีที่แล้ว +1

    Guys why is it that there is a diode on the protoboard for the part that controls the heater ? i dont see it in schematic (min 6:52). Truly one the greatest PID explanations on youtube! Thanks you guys! Keep at it!! :D

  • @belenhedderich3330
    @belenhedderich3330 6 ปีที่แล้ว +9

    cant wait to see the recycling extruder project. Thank you! Amazing project!

  • @adabill295
    @adabill295 6 ปีที่แล้ว +1

    I've been trying to do a PID with Arduino for Sous Vide cooking. The tuning of the PID is the most difficult process for me. The key is to have the patience and good data collection to adjust the various parameters correctly. I tried to doo it with a Crock Pot but there isn't any circulation in a crock pot and I couldn't get the temp deviations down to an acceptable level..
    Very good video with good starter information.

    • @raffaysajjad
      @raffaysajjad 5 ปีที่แล้ว

      Can you share your thoughts about how you brought the temperature deviations down to an acceptable level?

  • @Meatlove
    @Meatlove 6 ปีที่แล้ว

    This might be the basis for a new barbecue controller project. Thanks for the effort in making such a clear and complete tutorial.

  • @kyanjenkins5932
    @kyanjenkins5932 5 ปีที่แล้ว

    Great explanation! I'm what you could call a beginner in grade 10 at school but I've picked up on the basics really quickly and have decided to do a project for in the house. I am going to use a PID to control the temperature for an espresso machine. This explanation was really useful, but still alot of research to do!

  • @martinhavshjsrensen253
    @martinhavshjsrensen253 6 ปีที่แล้ว

    Ahh... How nice with a video without JLC commercials! ;)

  • @isettech
    @isettech 5 ปีที่แล้ว

    May need elaboration for more advanced engineers on the thermocouple. They DO NOT put out a voltage based on temperature. They work on a difference in temperature between a hot junction and a cold junction. The example video is OK for an elevated temperature in a temperature stable room, but would not work to control the temperature of the room because the cold and hot junctions would be at the same temperature. Great introduction, and a good place for more advanced students to learn about the hot and cold junctions and temperature measurement of the cold junction to get accurate values for the hot junction. The more advanced students and engineers can locate the cold junction in this example.

  • @Johann75
    @Johann75 2 ปีที่แล้ว

    This is what I have been looking for my pastry proofer. Thank you very much Sir.

  • @steveeb00
    @steveeb00 5 ปีที่แล้ว

    I haven't even watched the video and I gave you a Thumbs Up. I hope this is exactly what I need to control my burnout oven.

  • @jamescullins2709
    @jamescullins2709 6 ปีที่แล้ว

    well done, I like the way you did not use libs but wrote the code yourself, it is easier to see what you are doing.

  • @AhmedAmer-he1de
    @AhmedAmer-he1de 4 ปีที่แล้ว

    this is litterely what i needed for a school project and this helped a lot

  • @21mejia25
    @21mejia25 2 ปีที่แล้ว

    Great video. You inspired me to build a fan for my smoker to control temps for long cooks.

  • @lericode
    @lericode 6 ปีที่แล้ว +3

    Siento que la calidad de los vídeos es cada vez mejor, felicitaciones, como siempre increíble.

  • @andrezsa23
    @andrezsa23 6 ปีที่แล้ว +2

    Exelente control pid lo usaré para modificar un horno para soldar smd ojalá lo hubieras hecho en español

  • @mmdnaderi7183
    @mmdnaderi7183 5 ปีที่แล้ว +6

    Another great video! I have a question why did you use BJT transistor to drive mosfet ? how much voltage passes into bjt? 12 or 5 ? if 5 why you didn't use Arduino pin directly And another question why did you use a 10k resistor on mosfet gate ?? Thank You

    • @shariqislam786
      @shariqislam786 2 ปีที่แล้ว +4

      Bjt is used since the mosfet has capacitance between gate and drain and the moment you apply voltage to the gate the capacitor starts charging almost instantaneously which requires current greater than arduino pin can provide increasing the switching time and if the switching is not fast, pwm control will not work properly. Please see great scott video on mosfet drivers to understand better. Also the 10k resistance is added to not keep the gate floating when bjt is off.

    • @yameenansari9039
      @yameenansari9039 ปีที่แล้ว +1

      When we need fast switching like pwm then we use any gate driver

  • @DavDoubleOSeven
    @DavDoubleOSeven ปีที่แล้ว

    I can easily understand your english, it’s very good

  • @nielslarsen1094
    @nielslarsen1094 6 ปีที่แล้ว

    I like this video.
    From many years of experience i will advise you to have a function on your coming
    soldering station controller, where it enters sleep mode, reducing temperature when not being active
    soldering.
    This is due to the fact that soldering tips are " burning out ", when standing idle with high temperature.
    Also the nickel layer is thin, especially on the chinese iron tips you are going to use as per your video..
    Kind rgds.

    • @oscargr_
      @oscargr_ 6 ปีที่แล้ว

      niels larsen.
      A lot of the burning of tips is due to the fact these soldering irons do *not* have a temperature controller.
      In order to not be too cold when they are working (touching new cold wire and melting tin) they are getting slightly too much power.
      Basically, in rest the temperature goes up because nothing cools it down.
      I agree it is a nice feature to add.

  • @anonrider8870
    @anonrider8870 6 ปีที่แล้ว

    man you have one of the best electronics projects channel on TH-cam!!!
    good job!

  • @guansun1571
    @guansun1571 5 ปีที่แล้ว

    Thank you so much for sharing Sir . I am trying to make my own soldering station by myself recently.

  • @sarahgutierrez8196
    @sarahgutierrez8196 3 ปีที่แล้ว

    SO HELPFUL! Learning so much from your explanations through the code and each piece of electronic, thank you so much

  • @hemantmundhe6662
    @hemantmundhe6662 6 ปีที่แล้ว +2

    Thanks to you because those subject to handle to you.I am using hakko 907 temperature control iron (clone).your nest video very useful for me and my temperature control iron 907.Thanks

  • @zeeshanejaz3044
    @zeeshanejaz3044 3 ปีที่แล้ว

    really helpful for Mechatronics engineers

  • @masoodabbasi2527
    @masoodabbasi2527 6 ปีที่แล้ว +6

    Nice Work. I have couple of questions related to source code
    1. Why 3 is added in PID_error
    " PID_error = set_temperature - temperature_read + 3; "
    2. Why kp (gain) is multiplied by 0.01 and in I value 0.01 is multiplied by PID_i and not Ki
    " PID_p = 0.01*kp * PID_error;
    //Calculate the I value in a range on +-3
    PID_i = 0.01*PID_i + (ki * PID_error);"
    3. In your case how you figure out that " PID_value" can be directly written to PWM pin with inversion. How you calculated relationship that this value will produce desired result?.
    " PID_value = PID_p + PID_i + PID_d;
    analogWrite(PWM_pin,255-PID_value);"

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว

      The 3 is added to set a higher reaal value than the set one. You can remove that if you want.
      The 0.01 can be removed but than change the Ki and Kp and divide those by 100 on the top of the code.
      To finde the PDI constants I've just made tests and more tests and always having the PWM signal on the oscilloscope and the real temperature printed.

    • @W00PIE
      @W00PIE 2 ปีที่แล้ว

      Good point, especially number 3. I'm trying to understand the code, shouldn' t there be some kind of mapping function that takes the PID_value and generates an output according to a specified range? And what is the range of PID_value?

  • @wilvanham8911
    @wilvanham8911 2 ปีที่แล้ว

    hi..
    thank you for the good explanation about the PID .... it seems there is a 2 degree difference ( higher ) then the set temp...
    now im analyse where this offset comes from.

  • @yousefsalah2
    @yousefsalah2 5 วันที่ผ่านมา

    thank you for sharing. can you please explain why are you analog writing 255-output instead of just output?

  • @TuttleScott
    @TuttleScott 6 ปีที่แล้ว +1

    as the guys who wrote the marlin firmware know, dont forget a sanity check to watch out for thermal runaway if something happens to the temp sensor.

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว

      True. Thank you very much for the tip. Keep up!

    • @oscargr_
      @oscargr_ 6 ปีที่แล้ว

      Very good point.
      Don't also forget what happens when your Max is broken, or gets no power... The temperature reading go to zero. Your PID code will go to Max output power pretty soon.

  • @jasonfitzpatrick1129
    @jasonfitzpatrick1129 4 ปีที่แล้ว +1

    Is there a reason that a BJT transistor used at the same time that a MOSFET is used to control the 12v heater? My understanding is that one or the other is needed since both are always on or off... I am confused!

  • @mouradmokeddem6467
    @mouradmokeddem6467 3 ปีที่แล้ว

    Appreciate you efforts. much easy for students . Thank you

  • @gogogowa
    @gogogowa 4 ปีที่แล้ว +1

    Great video. About how long would it take to boil 4 cups of water using this?

  • @Telboy-fv8ke
    @Telboy-fv8ke 6 ปีที่แล้ว +2

    I have replicated your Project and all is well except i have nothing from the encoder. (I am definitely using correct sketch) Any suggestions?

  • @dalecallaham4847
    @dalecallaham4847 3 ปีที่แล้ว

    Very nice and clear! You set a high standard.Thanks!

  • @mohammadyaseenhamidi1422
    @mohammadyaseenhamidi1422 6 ปีที่แล้ว +3

    Hi dear sir please kindly share which model nano Oscilloscope you use ... if its possible please share the link of that Oscilloscope which you use

  • @allanminers1662
    @allanminers1662 3 ปีที่แล้ว

    A great presentation. congratulations on a real contribution to education.
    On process control

  • @firefoxik75
    @firefoxik75 6 ปีที่แล้ว

    Nice work! Just saying.. most of those industrial PID has also option to control solid state relay with PWM, so it will work flawlessly with any resistive heating element...

  • @igrewold
    @igrewold 3 ปีที่แล้ว

    Thanks man.
    So PID control(er) stablized something, in this case it's temp(heat...)
    Interestin' probably now I know the concept behind STAC

  • @vovanikotin
    @vovanikotin 6 ปีที่แล้ว +7

    Take note about integral windup!
    It`s very dangerous mistake you did.
    Windup is ver very important.
    Also for AC main supply of course you need to use optocoupler. This note even more important than windup.

    • @milithemuffin4534
      @milithemuffin4534 6 ปีที่แล้ว

      In this case it can be avoided with simple if statements.
      if temperature_read is within +-margin, use PID
      else {
      if (temperature_read < set_temperature-margin) {apply ful power}
      else {cut off the power}
      }

    • @vovanikotin
      @vovanikotin 6 ปีที่แล้ว

      Mili theMUFFIN sure, thats how Electronoob did it now. check his firmware code,he aded +- 3 margin range when integral component calculates, and yes, for such application this works perfect. but for general purpose integral windup or saturation shoud be managed for all setpoint range.

    • @timothyfidler2088
      @timothyfidler2088 6 ปีที่แล้ว

      @@milithemuffin4534 Won't work . Thermocouple falling off looks like zero temeperature. Try harder // ( Commercial thermoucouple transmitters have a high scale burn out feature to avoid this risk).

    • @timothyfidler2088
      @timothyfidler2088 6 ปีที่แล้ว

      @@vovanikotin There is yet another algorithm called the Velocity algorithm... look it up in a digital controls hand book . This avoids wind up issue completely but creates another one... initalisation. I have used V algo in the past.

  • @sunilbelsare5697
    @sunilbelsare5697 4 ปีที่แล้ว +1

    Great informative video, very nicely and deeply explained about each and every aspect of PID controller's functionality using Arduino. You are great explainer, this skill of yours will educate needy learners.

  • @shehryarshaheen7115
    @shehryarshaheen7115 6 ปีที่แล้ว +4

    Thinx for your amazing video

  • @mishadhosen3135
    @mishadhosen3135 4 ปีที่แล้ว

    Awesome video. But can you make a video about how to make a soldering station with these same parts.

  • @MCsCreations
    @MCsCreations 6 ปีที่แล้ว +9

    Really nice, man! Great job! 😊

  • @Rcpasionplus
    @Rcpasionplus 6 ปีที่แล้ว +4

    Very good video, you have the link of the digital screen that looks like an oscilloscope ?. Thank you

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว

      Something like this www.gearbest.com/testers-detectors/pp_437115.html?lkid=13732065

  • @aizukhalid9776
    @aizukhalid9776 5 ปีที่แล้ว

    the best explanations ever, thank you for the detail

  • @ryancoulson2081
    @ryancoulson2081 5 ปีที่แล้ว +1

    @Electronoobs can you explain why you decided to use a BJT to activate the MOSFET? I'm a novice when it comes to electronics, so I'm not saying you're wrong, I'm just curious what purpose it serves.

  • @MAA567000
    @MAA567000 3 ปีที่แล้ว

    Very useful and understable video .. Thank you very much for your effort

  •  6 ปีที่แล้ว

    eres genial. gracias por tu aporte, estuve buscando esto durante mucho tiempo.

  • @numeprenume512
    @numeprenume512 ปีที่แล้ว +1

    I have tested each part individually, they all work properly, yet i cant use the encoder with this application.
    The display starts flashing, changing fast the menu and goes crazy, every time i go near the encoder. Even if i just get very close to it. A 1M resistor from SW to ground stops the craziness but the encoder will stop working all-together.
    It shows the R temp, the menu, everything but the encoder. All the parts are new and tested separately.
    Got any idea why?
    Solved.
    1- it was to close to the laptop and the arduino went crazy.
    2- the encoder was missing the 10K pull-down from SW to GND.
    3- the LCD library i was using was out of date
    Now it works just fine. Thank you Electronoob!

    • @elijak8263
      @elijak8263 ปีที่แล้ว

      I am experiencing issues with the encoder as well. I checked the connections and they seem exact. Individually, All the components work, the whole code compiles, but the rotary encoder gives no signs of life! (It works individually)
      Any suggestions, please?

    • @numeprenume512
      @numeprenume512 ปีที่แล้ว +1

      Update.
      The system works perfectly. The Arduino module had no issues being close to the laptop. It was the LCD that was sensitive to the EMI from laptop/keyboard etc...
      I have shielded the LCD with some grounded tin foil and everything works just fine. Including the encoder. I will mount the whole system into a metalic box for this reason.
      Make sure that the encoder has the 10K pull-down resistor, connected from SW pin to ground, as shown in the schematic. As well as the other two resistors. Mine was missing the SW-GND one from factory.
      I have also changed this:.
      .if(PID_value < 255)
      { PID_value = 255; }
      if(PID_value > 0)
      { PID_value = 0; }
      to this:
      if(PID_value < 0)
      { PID_value = 255; }
      if(PID_value > 255)
      { PID_value = 0; }
      In order to be able to use a logic gate MOSFET, without the need of a BJT.
      Anyway, thank you Electronoob for your time.

  • @ismailoztas7052
    @ismailoztas7052 4 ปีที่แล้ว +2

    Hi, Excellent study, clear explanation. thanks for sharing. I have a question. I wanted to control the 220V AC heater with SSR. I tried to do but I couldn't drive SSR with PWM. and Is banana required for the circuit? :)

  • @hannuhanhi183
    @hannuhanhi183 6 ปีที่แล้ว

    Maybe this was just for educational purposes. Modern 3d printers have PID control for the temperature of the nozzle and autotune as well.

  • @raymondmichael4987
    @raymondmichael4987 6 ปีที่แล้ว +10

    With such explanations,
    Please make tutorials on controlling a stepper motor using arduino, as I want to open/ close a box's window depending on the temperature inside a box.
    Lm35 as a temperature sensor

    • @ultraidtech8250
      @ultraidtech8250 6 ปีที่แล้ว

      th-cam.com/video/Eba4Ufz1o40/w-d-xo.html

    • @TheRebornRJ
      @TheRebornRJ 6 ปีที่แล้ว +1

      Hey! Have u got an idea of controlling the steppermotor based on the temperature? Its for my thesis :(

    • @MrIsuru007
      @MrIsuru007 4 ปีที่แล้ว

      @@TheRebornRJ ahaha take the pid value and make a condition to powerup the motor by a signal

    • @henryrollins9177
      @henryrollins9177 4 ปีที่แล้ว

      @@ultraidtech8250 "video not available"

    • @mohammedalshrief532
      @mohammedalshrief532 3 ปีที่แล้ว

      th-cam.com/video/NwuY7qbs2Dk/w-d-xo.html

  • @karlmozey1412
    @karlmozey1412 6 ปีที่แล้ว +2

    No PID filtering this time ha..... Am just kidding.I really enjoy your tutorials.Thanks a lot.

  • @theflyingdutchman787
    @theflyingdutchman787 6 ปีที่แล้ว

    Exactly what I was looking for! A+ Teacher!!!!

  • @ersinerel97
    @ersinerel97 4 ปีที่แล้ว +1

    may i ask why did you use -3 and +3 range in the integral part?
    Andwhat would happen if we use bigger range or smaller range?

  • @joramotorsportteam3277
    @joramotorsportteam3277 11 หลายเดือนก่อน +1

    Can U make with Kincony A4 ESP32 with 0-10V with 0-10V feedback ESBE ArA 539 or 559.
    U use interrupts for valve?

  • @rohandhankani3962
    @rohandhankani3962 6 ปีที่แล้ว

    Brilliant this is what I was looking for
    Thank you very much

  • @hazalkahraman96
    @hazalkahraman96 5 ปีที่แล้ว +1

    Everything nice but the code belongs to (PID NO rotary encoder) is not uploaded. Please can you upload this code:)

  • @arikspaude1690
    @arikspaude1690 2 ปีที่แล้ว

    Absolute legend thank you sir

  • @stevestickland1706
    @stevestickland1706 4 ปีที่แล้ว +1

    Hi Electronoobs, Thanks for this excellent tutorial/demo. I have a question though - At 7:46 in your video there are several parts of the wiring that are not in your final schematic. It looks like you've added a diode on the "source" side of the Mosfet (is this connecting source to gate??, but I also see you have a negative (black) jumper looped behind the mosfet - what is that connecting to? I can't see what pin you've connected this to because the mosfet is in the way.

    • @RossOCarroll3301
      @RossOCarroll3301 ปีที่แล้ว

      I would also love to know this. Have you figured it out?? Would appreciate some info if you had! :D

  • @philipesantos3192
    @philipesantos3192 6 ปีที่แล้ว +2

    I'm waiting for 220AC controller video

  • @sermadreda399
    @sermadreda399 6 ปีที่แล้ว +1

    great video as usual truly worth subscribing channel,one comment here when PID works shouldn't that mean that the transistor controlling ( with arduino) the MOSFET knows! the exact current required to the mosfet to produce 100 degrees ? so that no wobbling in the osi

    • @oscargr_
      @oscargr_ 6 ปีที่แล้ว +3

      sermad reda.
      Yes and no. One way to control the temperature of an electric heater is to calculate (or find by trial and error) how much power you need to put in to the heating element to keep it at a constant temperature. At that temperature there is then an equilibrium between the amount of 'heat' you lose (flows from heater to environment) and the amount of heat you add (through electric energy).
      For every amount of energy you add, the system will end up at a different equilibrium temperature.
      But this is not very useful, see for example what happens when you blow at the hearter. You remove more heat, and the temperature drops.
      The advantage of PID is to automatically react to such disturbance by adding more electric power.
      And you are right, if the P, I, and D you should not see any wobbly output .... Unless your PID actually NEEDS to respond to a disturbance.
      A PID does not ' *know* '' how much energy it needs, it calculates that based on current, past and expected errors.

  • @crazydiamonduk
    @crazydiamonduk 4 ปีที่แล้ว

    This is great.
    How many watts can the mosfet handle?
    Let's say we replaced the the heater with something a little more Powerful that pulls 10Amps at max voltage?

  • @TheJavaSync
    @TheJavaSync 2 ปีที่แล้ว

    Waiting for AC heater version 😃

  • @gabrielangeles6338
    @gabrielangeles6338 ปีที่แล้ว

    Great video, but I have a question, how can I implement a dimmer module?

  • @vidhatrisamadhiya4599
    @vidhatrisamadhiya4599 6 ปีที่แล้ว +4

    Wow again you and greatscoot at sametime it magic or other🤣🤣🤣

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 ปีที่แล้ว +3

      We have same schedule since we are in same timezone

  • @joao2010
    @joao2010 4 ปีที่แล้ว

    It's excelent! Best explanation I've seen as well. Thank you so much!!!

  • @AsankaLakmalMorawaka
    @AsankaLakmalMorawaka 5 ปีที่แล้ว

    Great explanation, easy to understand..

  • @ahmedladhibi6893
    @ahmedladhibi6893 3 ปีที่แล้ว

    Thank you for your good explanation !

  • @nadachikh1829
    @nadachikh1829 3 ปีที่แล้ว

    I didn't understand why did you put the pwm range between 0 and 255 ,
    I thought pwm is originally can't cross 255 .

  • @ama-bi9cf
    @ama-bi9cf 5 ปีที่แล้ว

    excellent i made the FINAL PID following your video it worked very good . but how can add eeprom to the sketch

  • @marco1903ful
    @marco1903ful 6 ปีที่แล้ว +2

    Hey dude!
    I have a question, I a want to use a timer of 15 minutes for hold the temperature of 121 C°, after these time I want put the element heating off, how can do it?

  • @luise.p.r9248
    @luise.p.r9248 6 ปีที่แล้ว

    very good, what happened with the DIY Solder Station? Don´t Forget

  • @niklaskonig218
    @niklaskonig218 4 ปีที่แล้ว +1

    Very nice Video! I've got one question. Is it possible to use a Mosfet Modul (D4184) instead of the Mosfet in your Video?

  • @djajaproject6837
    @djajaproject6837 4 ปีที่แล้ว

    Its very helpfull...
    do you have any idea if the heater used is operating with AC current and controlled by arduino ?

  • @fromtheflightdeck252
    @fromtheflightdeck252 4 ปีที่แล้ว

    Very good video...easy and concise

  • @ashervalentini9115
    @ashervalentini9115 2 ปีที่แล้ว

    Firstly, love the RandM time travel stuff in the background. Secondly, I have completed this tutorial. Everything works wonderfully at 6 Volts; however, when I increase my bench power supply to 12V, the Arduino begins to make a high pitch noise. I'm worried that I may fry the board. Should I perhaps use a 100+ohm resistor between the PWM pin, or am I being stupid? Thanks in advance!!! Ps. This setup has genuinely changed my practical knowledge of PID control!

  • @andrewmorgan5541
    @andrewmorgan5541 5 ปีที่แล้ว

    Awesome work, thank you for sharing the code! I have numerous arduino projects I have waned to complete involving PID control but could not find any PID code.

  • @ArmandoGonzalez-np2wt
    @ArmandoGonzalez-np2wt 4 ปีที่แล้ว

    Hi! Excellent video. One question... would this work with a 24v 50W resistance.

  • @J_OBODAI
    @J_OBODAI 6 ปีที่แล้ว

    You never disappoint.

  • @HSRMF
    @HSRMF 6 ปีที่แล้ว

    dear.... you are a treasure....keep it up..

  • @duckandflea
    @duckandflea 2 ปีที่แล้ว

    My understanding is that the PWM should vary the voltage going to the ceramic heater? Is that right? Or does it just switch it on and off quickly using the PWM duty cycle to vary it? I'm finding my heater is always getting full voltage and doesn't shut off. Your circuit diagram is different to what you show in the vid as there is an extra component there - is this what I am missing? Any idea why my heater isn't shutting off, even when the PID value says it should be. I'm replicating this on a raspberry pi but other than that the heating circuit is the same as your diagram as far as I can tell. I'm assuming the red lines you have marked 12V are the positive 12V supply and the rest go to ground. I'm driving the BJT with a PWM signal and using the PID_value to change the duty cycle of the PWM.

  • @victorclaros8967
    @victorclaros8967 6 ปีที่แล้ว +1

    Amazing work !!!!! thank you for your effort and passion !!!

  • @ismaeelm7091
    @ismaeelm7091 3 ปีที่แล้ว

    Dear Electronoobs. First of all, thank you for your video and code. I have a question about your codes. I do not understand why you used different values for P and I and D, I mean what would happen if you set all of them the same value. Next, I have some question about the formula which you used to calculate I and D, this is for I and this is for D I was wondering if you could talk about details of these formula. Thanks

  • @jugnu361
    @jugnu361 2 ปีที่แล้ว +1

    Clicked The Like Button HARD ............... Jai Jai Shree Ram.........

  • @praveenaj6183
    @praveenaj6183 6 ปีที่แล้ว

    That's great but please make a video on the soldering iron version also .
    One doubt: how does the gear system improve the thrust while decreasing the speed in brushed drone ??
    Anyway this channel is so great ( I can't refrain from saying that )

  • @KjetilSteinerBergenBodyBooking
    @KjetilSteinerBergenBodyBooking 2 ปีที่แล้ว

    Hi, great video and a great project. I have now made this PID Controller myself and it works really well, but I have a question/wish for you. Could you make an extended video of this project where, in addition to PID, it can also have stepwise adjustment of temperature up and down with time intervals. It had helped me tremendously. Please help me

  • @Isaac-ij3bs
    @Isaac-ij3bs หลายเดือนก่อน

    Facing an issue where the clicking of the switch does not enter the set temp mode, have you experienced this? Fairly certain it is wired right. Also are you using 12v power supply on the positive and negative runs on the side of the board? you have the resistor and heater on the positive run but other components that should be receiving 5v are on this run. Sorry I am smooth brain engr

  • @abdelaleem4026
    @abdelaleem4026 4 ปีที่แล้ว

    Excellent video, one thing I haven't grasped clearly is the conversion between units in the code: if I read a temperature value in say celcius from the sensor feedback, and output a current value (0-2.5 A) to the hardware that drives the process; how do I convert between the two units?

  • @attamuhammad1229
    @attamuhammad1229 5 ปีที่แล้ว

    Good Video. Is there a way to calculate accurate P,I & D variables instead of hit and trial method?

  • @hebrewhammer1000
    @hebrewhammer1000 6 ปีที่แล้ว

    Thank you for sharing! I learned a lot.

  • @lensonchian7134
    @lensonchian7134 5 ปีที่แล้ว

    WOW!! Really nice !! Hmmm, what other heating element i can used? my project is to heat water and maintain its temperature.

  • @jackandersonmelgar
    @jackandersonmelgar ปีที่แล้ว

    Sir, did you already done the tutorial for this one with heating element that has thermistor? I would like to understand how to control temperature using heating element with thermistor built in with PID control system.

  • @engineersupervisor4462
    @engineersupervisor4462 ปีที่แล้ว

    Thanks a lot my friend..but where is the sketch instructions of arduino program file?

  • @rez8839
    @rez8839 ปีที่แล้ว

    can you other video that controlls the blower that gives wind to the fire on the burner with this application?