PID temperature controller DIY Arduino

  Рет қаралды 420,447

Electronoobs

Electronoobs

Күн бұрын

Best & Fast Prototype ($2 for 10 PCBs): www.jlcpcb.com
Thanks to JLCPCB for supporting this video.
Learn how a PID controller for temperature works. We use a K type thermocouple and read real temperature values with the MAX6675 breakout board. SPI connected to the Arduino which will create the PID and control a MOSFET with PWM signal and the power for a DC heater.
my Q&A page: electronoobs.com/eng_preguntas...
Help me on Patreon : www.patreon.com/user?u=4854866
Canal en Español: / electronoobs en español
🔬PRINTERS FDM
-------------------------------------
Artillery Sidewinderr X1 (364€ Aliexpress): s.click.aliexpress.com/e/_9y9haI
Artillery GENIUS (307€ Aliexpress): s.click.aliexpress.com/e/_A9SvG2
Creality3D Ender 3 Pro (230€ Aliexpress): s.click.aliexpress.com/e/_APcCa2
Anycubic Mega S (206€ Aliexpress): s.click.aliexpress.com/e/_ALcTLs
ELEGOO NEPTUNE 2 (186€ Aliexpress): s.click.aliexpress.com/e/_AM2y7c
Prusa i3 MK3S Clone (393€ Aliexpress): s.click.aliexpress.com/e/_ASNXyi
Creality CR-10 V3 (480€ Aliexpress): s.click.aliexpress.com/e/_AnycCO
🔅PRINTERS RESIN
-------------------------------------
ELEGOO Mars Pro (208€ Aliexpress): s.click.aliexpress.com/e/_A0nVFY
ELEGOO Saturn MSLA (480€ Aliexpress): s.click.aliexpress.com/e/_AKxJim
Anycubic Photon Mono (199€ Aliexpress): s.click.aliexpress.com/e/_9ulv4K
Creality HALOT ONE (275€ Aliexpress): s.click.aliexpress.com/e/_Ak7jBC
LINKS
________________________________________________________
Tutorial webpage: www.electronoobs.com/eng_ardui...
Part list: www.electronoobs.com/eng_ardui...
Schematic thermocouple: www.electronoobs.com/eng_ardui...
Final schematic: www.electronoobs.com/eng_ardui...
Code (thermocouple read example): www.electronoobs.com/eng_ardui...
Code (PID NO rotary encoder): www.electronoobs.com/eng_ardui...
Code (FINAL PID): www.electronoobs.com/eng_ardui...
Please, like, share and subscribe in order to motivate me for moe videos like this one. Thank you!

Пікірлер: 424
@marcus_w0
@marcus_w0 6 жыл бұрын
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!
@asswipe3079
@asswipe3079 5 жыл бұрын
On behalf of all mechanical engineering students, thank you so much for breaking this process down into something we can understand!
@VasilisKarastergios
@VasilisKarastergios 6 жыл бұрын
Thanks for all the time and effort you put in to this video, very well explained!
@j3s0n
@j3s0n 4 жыл бұрын
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
@belenhedderich3330
@belenhedderich3330 6 жыл бұрын
cant wait to see the recycling extruder project. Thank you! Amazing project!
@lericode
@lericode 6 жыл бұрын
Siento que la calidad de los vídeos es cada vez mejor, felicitaciones, como siempre increíble.
@hippie-io7225
@hippie-io7225 6 жыл бұрын
One of the best PID explanations I've seen. You are an excellent educator. Thanks!
@LM-uz4pr
@LM-uz4pr 4 жыл бұрын
Going to make some rosin with this info? lol
@mohammedalshrief532
@mohammedalshrief532 2 жыл бұрын
Pidkzfaq.info/get/bejne/hN2ljJqix9mWdJ-j.htmlidpid pid line follower robot
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 жыл бұрын
@@mohammedalshrief532 thankes
@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!
@MCsCreations
@MCsCreations 6 жыл бұрын
Really nice, man! Great job! 😊
@RossOCarroll3301
@RossOCarroll3301 Жыл бұрын
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 4 ай бұрын
How did it work out?
@anonrider8870
@anonrider8870 6 жыл бұрын
man you have one of the best electronics projects channel on KZfaq!!! good job!
@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.
@sarahgutierrez8196
@sarahgutierrez8196 3 жыл бұрын
SO HELPFUL! Learning so much from your explanations through the code and each piece of electronic, thank you so much
@guansun1571
@guansun1571 4 жыл бұрын
Thank you so much for sharing Sir . I am trying to make my own soldering station by myself recently.
@demesisx
@demesisx Жыл бұрын
Great job. Everyone else is launching rockets and having us use PID for telemetry. Thanks for simplifying it and making it accessible.
@Johann75
@Johann75 2 жыл бұрын
This is what I have been looking for my pastry proofer. Thank you very much Sir.
@AhmedAmer-he1de
@AhmedAmer-he1de 3 жыл бұрын
this is litterely what i needed for a school project and this helped a lot
@sunilbelsare5697
@sunilbelsare5697 4 жыл бұрын
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.
@adabill295
@adabill295 6 жыл бұрын
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?
@victorclaros8967
@victorclaros8967 6 жыл бұрын
Amazing work !!!!! thank you for your effort and passion !!!
@dalecallaham4847
@dalecallaham4847 3 жыл бұрын
Very nice and clear! You set a high standard.Thanks!
@mohammedalshrief532
@mohammedalshrief532 2 жыл бұрын
I made my machine learning pid iron station and i made pid code by helping your videos great man
@mohammedalshrief532
@mohammedalshrief532 2 жыл бұрын
And mad pid line follower 🙂❤👌pidkzfaq.info/get/bejne/hN2ljJqix9mWdJ-f.htmlinefollowerpid
@steveeb00
@steveeb00 4 жыл бұрын
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.
@joao2010
@joao2010 4 жыл бұрын
It's excelent! Best explanation I've seen as well. Thank you so much!!!
@martinhavshjsrensen253
@martinhavshjsrensen253 6 жыл бұрын
Ahh... How nice with a video without JLC commercials! ;)
@paulhendrix8599
@paulhendrix8599 6 жыл бұрын
Amazing quality!
@aizukhalid9776
@aizukhalid9776 4 жыл бұрын
the best explanations ever, thank you for the detail
6 жыл бұрын
eres genial. gracias por tu aporte, estuve buscando esto durante mucho tiempo.
@21mejia25
@21mejia25 2 жыл бұрын
Great video. You inspired me to build a fan for my smoker to control temps for long cooks.
@rohandhankani3962
@rohandhankani3962 6 жыл бұрын
Brilliant this is what I was looking for Thank you very much
@hebrewhammer1000
@hebrewhammer1000 6 жыл бұрын
Thank you for sharing! I learned a lot.
@shehryarshaheen7115
@shehryarshaheen7115 6 жыл бұрын
Thinx for your amazing video
@allanminers1662
@allanminers1662 3 жыл бұрын
A great presentation. congratulations on a real contribution to education. On process control
@hemantmundhe6662
@hemantmundhe6662 6 жыл бұрын
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
@karlmozey1412
@karlmozey1412 6 жыл бұрын
No PID filtering this time ha..... Am just kidding.I really enjoy your tutorials.Thanks a lot.
@AsankaLakmalMorawaka
@AsankaLakmalMorawaka 5 жыл бұрын
Great explanation, easy to understand..
@theflyingdutchman787
@theflyingdutchman787 5 жыл бұрын
Exactly what I was looking for! A+ Teacher!!!!
@andrezsa23
@andrezsa23 6 жыл бұрын
Exelente control pid lo usaré para modificar un horno para soldar smd ojalá lo hubieras hecho en español
@jamescullins2709
@jamescullins2709 5 жыл бұрын
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.
@neogabo123
@neogabo123 4 жыл бұрын
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
@J_OBODAI
@J_OBODAI 6 жыл бұрын
You never disappoint.
@javierbravo5020
@javierbravo5020 6 жыл бұрын
good job, congrats
@mouradmokeddem6467
@mouradmokeddem6467 2 жыл бұрын
Appreciate you efforts. much easy for students . Thank you
@diazpty
@diazpty 6 жыл бұрын
Super awesome presentation thanks!
@Stratix91
@Stratix91 6 жыл бұрын
nice nice nice, youre a real maker and im a fan:D
@zaprodk
@zaprodk 6 жыл бұрын
Nice explanation of how PID works. Keep up the good work! - Btw. is that soldering iron only 24 Watts? I would think it would be 40 or 50 watts by looking at the size.
@fromtheflightdeck252
@fromtheflightdeck252 4 жыл бұрын
Very good video...easy and concise
@ahmedladhibi6893
@ahmedladhibi6893 3 жыл бұрын
Thank you for your good explanation !
@konturgestalter
@konturgestalter 6 жыл бұрын
excellent videos!!! more of it please!!
@nasirmahmood6764
@nasirmahmood6764 3 жыл бұрын
excellent explanation man!
@MAA567000
@MAA567000 2 жыл бұрын
Very useful and understable video .. Thank you very much for your effort
@ifindev
@ifindev 6 жыл бұрын
Thank you!!! This is really great!!!!!!!!!!
@Rov-qc2ti
@Rov-qc2ti 6 жыл бұрын
Great tutorial Man....! Im Waiting other great video...
@wi_zeus6798
@wi_zeus6798 6 жыл бұрын
Wohooo, I predicted it! ;)
@zeeshanejaz3044
@zeeshanejaz3044 2 жыл бұрын
really helpful for Mechatronics engineers
@andrewmorgan5541
@andrewmorgan5541 4 жыл бұрын
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.
@mohammadyaseenhamidi1422
@mohammadyaseenhamidi1422 6 жыл бұрын
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
@marco1903ful
@marco1903ful 6 жыл бұрын
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?
@andresmao2230
@andresmao2230 6 жыл бұрын
gracias por tu video, quisiera preguntarte, necesito controlar la temperatura de una resistencia industrial para un proyecto ¿que pwm puedo usar? ya que la resistencia va conectada a AC!
@celtichongy
@celtichongy 5 жыл бұрын
Well done, thank you.
@johannienel1
@johannienel1 2 жыл бұрын
Liked and subscribed! Great job
@hezi350
@hezi350 6 жыл бұрын
Great video!!
@HSRMF
@HSRMF 5 жыл бұрын
dear.... you are a treasure....keep it up..
@electronic7979
@electronic7979 6 жыл бұрын
Good video
@user-zo2jo3cc9p
@user-zo2jo3cc9p 11 ай бұрын
excellent video.
@ibrahimkhadraoui7736
@ibrahimkhadraoui7736 6 жыл бұрын
Thank you very much dude, I really appreciate this video ♥ please can you make a video about a line follower with PID
@arikspaude1690
@arikspaude1690 2 жыл бұрын
Absolute legend thank you sir
@vidhatrisamadhiya4599
@vidhatrisamadhiya4599 6 жыл бұрын
Wow again you and greatscoot at sametime it magic or other🤣🤣🤣
@ELECTRONOOBS
@ELECTRONOOBS 6 жыл бұрын
We have same schedule since we are in same timezone
@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...
@ersinerel97
@ersinerel97 4 жыл бұрын
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?
@fernandolozano9898
@fernandolozano9898 4 жыл бұрын
Great video
@ismailoztas7052
@ismailoztas7052 4 жыл бұрын
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? :)
@wilvanham8911
@wilvanham8911 Жыл бұрын
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.
@abdelaleem4026
@abdelaleem4026 3 жыл бұрын
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?
@Bianchi77
@Bianchi77 2 жыл бұрын
Nice video, thanks for sharing :)
@sixact9647
@sixact9647 6 жыл бұрын
This is an awesome arduino projects Thank you for sharing Do you have instagram?
@dr.ayadianis_embeddedsyste3883
@dr.ayadianis_embeddedsyste3883 5 жыл бұрын
think very much , very useful video for prctice project
@lensonchian7134
@lensonchian7134 5 жыл бұрын
WOW!! Really nice !! Hmmm, what other heating element i can used? my project is to heat water and maintain its temperature.
@jackkrawatt3908
@jackkrawatt3908 5 жыл бұрын
good work
@giorsoros1135
@giorsoros1135 5 жыл бұрын
hey one question, is mosfet or triac the best control signal amplifier ? or do you have a list of another choices?
@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.
@pdebchoudhury4591
@pdebchoudhury4591 5 жыл бұрын
plz advice how to add a switch in the code to put the temp at base while the switch found closed.
@guru253
@guru253 4 жыл бұрын
Hello! Excellent video. What accuracy can we attain using this given room temperature conditions? Is 0.1 degree C doable?
@fabioalmeida4700
@fabioalmeida4700 2 жыл бұрын
One more great video!
@RetzvadTsigo
@RetzvadTsigo 6 жыл бұрын
What if i want to use an engine heater plug (glow plug) as an element, what changes do i need to do on the circuit
@TheRebornRJ
@TheRebornRJ 5 жыл бұрын
You are a hero
@arnaudgoffin
@arnaudgoffin 5 жыл бұрын
Hi , Thank you a lot for your video. Very nice project! I would like to adapt this PID to refurbish a annealing furnace. But I want to use the MAX31855 instead of MAX6675 because I want to measure until 1200C°. Could you tell me if it's complicate to adapt ? Thank you in advance. :)
@DavDoubleOSeven
@DavDoubleOSeven Жыл бұрын
I can easily understand your english, it’s very good
@bitsurfer0101
@bitsurfer0101 2 жыл бұрын
Could you explain how you adjust each parameter? Do you simply adjust the P constant until the desired ramp up speed to temperature is reached for example? Once you have that determined, the D value then becomes the error constant and need to find the happy medium for that (i.e it lands on the right value and doesn't take too long to reach final value)?
@user-xf9ml1nj6y
@user-xf9ml1nj6y 5 жыл бұрын
good job thanks, مشكور
@tecknologg2289
@tecknologg2289 6 жыл бұрын
cool dude
@Rcpasionplus
@Rcpasionplus 6 жыл бұрын
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
@3dpseurope
@3dpseurope 2 жыл бұрын
Köszönjük!
@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.
@niklaskonig218
@niklaskonig218 4 жыл бұрын
Very nice Video! I've got one question. Is it possible to use a Mosfet Modul (D4184) instead of the Mosfet in your Video?
@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 )
@Volkankorkut8
@Volkankorkut8 5 жыл бұрын
cool video.
@junkasan4788
@junkasan4788 2 жыл бұрын
very nice video.. can you make this using an attiny85 as replacement for the uno? and the output signal is connected for a small servo for opening a valve for fuel? thanks
@KidNombre
@KidNombre 2 жыл бұрын
Hi There. Do you know if its possible to use a thermometer that communicates over I2C with the standard PID libraries?
AC 220V Heater Temperature PID and TRIAC control
8:39
Electronoobs
Рет қаралды 107 М.
Homemade Reflow HOT Plate - Version 2 | Low Cost
18:32
Electronoobs
Рет қаралды 193 М.
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 8 МЛН
Pleased the disabled person! #shorts
00:43
Dimon Markov
Рет қаралды 29 МЛН
Touchscreen Temperature Controller | Arduino Project
5:49
Kiyani's Lab
Рет қаралды 3,4 М.
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 70 М.
EEVacademy #6 - PID Controllers Explained
27:11
EEVblog
Рет қаралды 205 М.
How to Tune a PID Controller
8:43
RealPars
Рет қаралды 775 М.
Homemade Reflow Hot Plate for SMD Soldering - 3000W
14:01
Electronoobs
Рет қаралды 351 М.
Hardware Demo of a Digital PID Controller
2:58
Gregory L. Holst
Рет қаралды 980 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 735 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,3 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 481 М.