AC 220V Heater Temperature PID and TRIAC control

Поделиться
HTML-код
  • Опубликовано: 11 авг 2018
  • Best & Fast Prototype ($2 for 10 PCBs): www.jlcpcb.com
    Thanks to JLCPCB for supporting this video.
    Two projects in one. I've merged the PID temperature control and TRIAC 220V AC voltage control in one tutorial. Control the temperature of 220V heaters.
    Help my projects on Patreon: / electronoobs
    my Q&A page: electronoobs.com/eng_preguntas...
    Canal en Español: / electronoobs en español
    --------------------------------------------------------------------
    PROJECT LINKS
    --------------------------------------------------------------------
    Tutorial webpage: www.electronoobs.com/eng_ardui...
    Part list: www.electronoobs.com/eng_ardui...
    Schematic: www.electronoobs.com/eng_ardui...
    Code: www.electronoobs.com/eng_ardui...
    Thermocouple read example: www.electronoobs.com/eng_ardui...
    PID DC temperature video: • PID temperature contro...
    TRIAC control video: • Bluetooth TRIAC AC pow...
    PRINTERS
    -------------------------------------
    Ender 3(167€): www.gearbest.com/3d-printers-...
    SparkMaker SLA: www.gearbest.com/3d-printers-...
    Crealitu CR10: www.gearbest.com/3d-printers-...
    Coupon code: "11CR10EU" or "11CR10US"
    ANET E10 (219$): www.gearbest.com/3d-printers-...
    Coupon code: "Anete10us"
    TEVO Tarantula (175$): www.gearbest.com/3d-printers-...
    Coupon code: "Tarantulaus"
    Creality CR10 MINI: www.gearbest.com/3d-printers-...
    COUPON: CR10MINI
    Anet A8: www.gearbest.com/3d-printers-...
    Coupon code: "A8KIDA"
    Like share and subscribe to motivate me. Thank you
  • НаукаНаука

Комментарии • 236

  • @jerichorivera1657
    @jerichorivera1657 6 лет назад +1

    This is what I've been waiting for Electronoobs. Im so happy that you finally uploaded this project. This will help me a lot. Im in the middle of my project on PID temperature control also. 😄

  • @elidiaz9861
    @elidiaz9861 5 лет назад +3

    This channel has helped me extremely with my Senior Design Project. Thank you so much for your videos

  • @ua89das7ufj
    @ua89das7ufj 6 лет назад

    Just wanted to say that I really enjoy these videos. Very good presentation of content, plenty of original project ideas, and broken down clearly. You are a 5 star man

  • @UpcycleElectronics
    @UpcycleElectronics 6 лет назад +15

    You probably should add a thermal switch/fuse to this circuit. I have several of these I have removed from old ovens and microwaves. If something were to go wrong in the circuit and the heating element gets overloaded, a simple normally closed thermal switch with an appropriate temperature rating could really improve the safety of this experiment. If you intend on leaving a design like this unattended for any reason, you should probably use 2 separate thermal switches placed in different locations. This topology/saftey circuit is standard in devices like microwaves. A small heater like this is not as dangerous as the power potential of a microwave, but for those of us experimenting with these things, we are just as potentially dangerous ourselves and should strive for double redundancy while planning for potential failures;)
    -Jake

  • @cheetahkid
    @cheetahkid 6 лет назад +3

    nice video and super colourful schematic. I built mine with MOSFET driven a trailing edge (triac only works as leading edge) circuit like ATTINY85. Nice and quiet without interfering my hearing aid.

    • @aijazmuhammadkhan3139
      @aijazmuhammadkhan3139 Год назад

      can you please help me with the AC heater...i can fine one similar to the one shown in video.
      How can i make this project without this heater and employing some other mechanism ?

  • @rtarade1
    @rtarade1 6 лет назад

    Filament Extruder !! I have been waiting for this project for very long time and collecting wasted 3D prints, support material hoping one day I'll make my own extruder and use it

  • @zakariasaidi2191
    @zakariasaidi2191 6 лет назад +1

    thank you for your videos, i have been waiting this one

    • @romanspoljaric6032
      @romanspoljaric6032 5 лет назад

      Do you have Arduino code? If you have, plese, send me.

  • @princebanini
    @princebanini 4 года назад +1

    Such an amazing video. I cant explain how happy i am to find this video. Please what is the maximum temperature that can be set?...Keep up the great work Electronoobs

  • @texasaggiegigsem
    @texasaggiegigsem 3 года назад

    I'm wanting to automate temperature control for roasting coffee, and it seems most people use a SSR to pass a PWM signal directly to the heating element. While I'm sure this is fine, high-current SSRs are expensive and I googled around for TRIAC-based control and found your video. I think this will work quite well for coffee roasting, and I can spend all my money on green coffee instead of an SSR.

  • @bannyspear
    @bannyspear 6 лет назад

    Hello sir thanks for the video from Tanzania ,i like your electronoob watch i'm waiting for the tut soon.love u

  • @reeseyme9613
    @reeseyme9613 6 лет назад +43

    *FULL BRIDGE REC* ....wrong channel😂😂😂😂

    • @FilipeDGuedes
      @FilipeDGuedes 6 лет назад

      Reesey Me I thought the same 😂😂😂

  • @kanchanajayawardane7188
    @kanchanajayawardane7188 4 года назад

    This is a fantastic project

  • @MCsCreations
    @MCsCreations 6 лет назад

    Great work, dude! 😀

  • @youtubxkip
    @youtubxkip Год назад +1

    Hint: your wave is jumping all the time, you can use AC as a trigger source to keep it stable and use AC input of scope as a reference to avoid problems triggering after triac. If OWON can do this, I'm pretty sure Keysight should as well.

  • @hemantmundhe6662
    @hemantmundhe6662 6 лет назад

    Nice look and work to your electronoob uno.

  • @fredkester6130
    @fredkester6130 2 года назад

    Thanks very much. This principle is how I found it in a commercial heater element

  • @narinoguerra7656
    @narinoguerra7656 6 лет назад

    Awesome tutorial Bro...

  • @josuevillasante2546
    @josuevillasante2546 6 лет назад

    Great video my friend

  • @doufasmilz485
    @doufasmilz485 6 лет назад

    I like you and your project

  • @deepakmittal4633
    @deepakmittal4633 6 лет назад

    Nice work sir

  • @HETRM
    @HETRM 11 месяцев назад

    Thankyou for making this video

  • @pdebchoudhury4591
    @pdebchoudhury4591 5 лет назад +1

    this is a good project but i want to add triac cut off when a reed switch is closed . this can be used for hot air soldering station, when the iron is in stand , a reed switch is closed and the program will cut off the gate drive , or shall give a low pulse width. awaiting the add on in Arduino sketch and gate drive modifications. Thanks.

  • @nardaoeletronica
    @nardaoeletronica 4 года назад

    Very good vídeo. congratulation.

  • @user-xf9ml1nj6y
    @user-xf9ml1nj6y 5 лет назад

    thanks very good job, مشكور

  • @kanchanajayawardane7188
    @kanchanajayawardane7188 4 года назад

    Electronoobs
    dude i designed the band heater for water heating (immersed) the PID working properly but 2 to 3 degree deviations

  • @juliomaruyama
    @juliomaruyama 3 года назад

    Awesome video, thank you.
    Can I use freezer motor with same schema?

  • @electronic7979
    @electronic7979 6 лет назад

    Useful video

  • @santoshbabu517
    @santoshbabu517 4 года назад

    Hi great tutorial very helpful.. it would be great if u cam add a countdown timer with heater too.... Looking forward for the project

  • @ahmedboudi1808
    @ahmedboudi1808 5 лет назад

    Thank you a lot

  • @paulmcfarland
    @paulmcfarland 4 года назад

    Very helpful video thanks. Would it be very difficult to implement this with a 3kw heater / 15Amps ?

  • @djajaproject6837
    @djajaproject6837 4 года назад

    thanks, its helpfull.....what is the 47k resistor function before the full bridge diode ?

  • @victorramos9779
    @victorramos9779 5 лет назад

    great proyect.... I try to uses in a Solder Iron Control, as Solder Station... a simple solder iron to 220VCA is cheap...only need a thermocuple...
    Regards from Perú

  • @ranganatennakoon
    @ranganatennakoon 3 года назад

    this is great

  • @joshhagen4182
    @joshhagen4182 4 года назад

    How would I be able to go about using this pod setup to control two different heaters both using a thermo couple?

  • @blankstate683
    @blankstate683 5 лет назад

    Hi. Great videos. i am working on a project myself and was thinking of using band heaters.. how hot can these band heaters actually get? and can you heat up say, 4 all at once from a 12v 20a 250w transformer? or would i need say a 24v 40a 1000w transformer so it could handle 4 x 220v? Help with this information would be much appreciated.

  • @abdelilhaitijja
    @abdelilhaitijja 5 лет назад

    thanks

  • @nandodecolo3781
    @nandodecolo3781 5 лет назад +2

    sir my schematic and things are correct, but the heater doesnt get hot, even a little, it just gives me a little vibration when i drag my fingers to the heating unit. is there any problem with the heater?

  • @moejoe987654321
    @moejoe987654321 5 лет назад

    Would this be worth building for temperature control of a ~9 cu. ft. oven for powder coating or would a $30 PID controller and relay be able to keep something with that large of a volume at a decently consistent temperature?

  • @MohammadChangizi
    @MohammadChangizi Год назад

    very nice tutorial. i whant to run 2 heating elements that each one is 2000W what modification is required for this amount of power?

  • @duanquan8854
    @duanquan8854 3 года назад

    Beautiful explanation and exciting project. I have a small query if the system is a cooling system, we might have to connect the heater terminal to compress terminals in order to control cooling effect. Is that correct? Do you think the code will still work if the setpoint is -5°C for e.g.?

  • @muhammadsalimramadhan8916
    @muhammadsalimramadhan8916 6 лет назад

    Electronoobs i very like this video that i need to make chef robot out of arduino. Hail !!

  • @redsnow123456
    @redsnow123456 6 лет назад +1

    How did you make the tests to specify your PID initial values ?

  • @miljanmiletic
    @miljanmiletic 5 лет назад

    Hi can you show how to build a water temperature control for heating using a mixing valve that will be operated by a pwm servo

  • @HuseyinKaanKAPLAN
    @HuseyinKaanKAPLAN 5 лет назад

    Hi, this project is fantastic. Is it possible that you help me with add one more push button to start/stop heating with a free pin? For this purpose what changes had to be done on the code? Or any is there any other way to do it?

  • @ninogionnanevideos9452
    @ninogionnanevideos9452 4 года назад

    Why you used pin 8 instead of pin 2 interrupt ?
    Good video !

  • @manusholm3536
    @manusholm3536 5 лет назад

    i see your soldering iron bord in the beginning of the vidio with a t12 tip. did you do that build?
    i dont finde it in your vidios

  • @mulyawanin
    @mulyawanin 4 года назад

    Hi, I have tried a 220v triac schematic on a fan, at the same time I have a problem reading the rpm speed of the fan. I use an IR sensor module. How do I display the rpm on the LCD? help please

  • @mcdaryllleno2902
    @mcdaryllleno2902 2 года назад

    I hope you have a content teaching how to know the Kp Ki and Kd values.

  • @akshaykumarvyas
    @akshaykumarvyas 3 года назад

    Instead of triac and opto driver can we use a solid state relay directly as it has both

  • @javierdelaportilla1467
    @javierdelaportilla1467 4 года назад

    what would you do if you want to control the icrease rate of temperature, I mean, the amount of degrees per minute to reach the setpoint?

  • @ahmedboudi1808
    @ahmedboudi1808 5 лет назад +2

    how to attach 220vac rectified directely to photocoupler pc814!

  • @memetcuncun7220
    @memetcuncun7220 5 лет назад

    if the optocoupler and bridge are different, will the circuit turn on? because I use other than EL817, is it still working?

  • @prakashsharma5910
    @prakashsharma5910 5 лет назад

    Can I increase the temperature with respect to time
    For example the temperature increases 100°c randomly than after that temperatures it's increase 10°in 1min or 1°in 1min

  • @babyspot_toys
    @babyspot_toys 4 года назад

    kindly guide me i want the same circuit control like in the video but my load is a 5KW heater 220V kindly guide what changes should i do in above circuit to make it work.....!

  • @jamescullins2709
    @jamescullins2709 3 года назад

    I have a question about the PID code. The PID_p, PID_i and PID_d are integers. but you multiply them the kp, ki, and kd which are floating point numbers. shouldn't they all be floats? or am I missing something?

  • @nandodecolo3781
    @nandodecolo3781 5 лет назад

    what other type of TRIAC and optoisolator can i use because its not available in our country

  • @arahmankabir8405
    @arahmankabir8405 2 года назад

    Very fine project. Sincerely request Arduino base projects with dyeing machine temperature controller.

  • @nam_8bit904
    @nam_8bit904 4 года назад

    Can you show me how to find the PID constant
    How do you find the constants in this controller?

  • @yasinakar2350
    @yasinakar2350 4 месяца назад

    Giriş/Çıkış Pin Atamaları: Bazı pin atamaları tanımlanmış, ancak kullanılmamış gibi görünüyor. Örneğin, firing_pin, zero_cross, increase_pin ve decrease_pin tanımlanmış ancak kullanılmamış.
    Optocoupler Okuması: Optokuplörden gelen giriş okunuyor ve zero_cross_detected bayrağı ayarlanıyor. Ancak, bu kod parçasında herhangi bir yerde last_CH1_state değişkeninin başlangıç değeri atandığını göremiyorum. Bu değişkenin başlangıç durumu kontrol edilmeli ve atamalıdır.
    PID Kontrolü: PID kontrolü için kullanılan sabitler (kp, ki, kd) el ile ayarlanmış gibi görünüyor. Gerçek bir PID kontrolörü, PID sabitlerini otomatik olarak ayarlayabilen veya kullanıcı tarafından kolayca ayarlanabilen bir yöntem içermelidir.
    LCD Güncellemesi: LCD güncelleme sıklığı temp_read_Delay ile belirlenirken, PID kontrol döngüsü her zaman bu süre boyunca çalışmayabilir. PID kontrol döngüsünün çalışma süresi (örneğin, sıcaklık okuma ve PID hesaplama) hesaba katılmalıdır.
    PID Sınırları: PID değeri, belirli bir aralıkta sınırlanır (if(PID_value < 0) ve if(PID_value > 7400)). Ancak, bu sınırlar sabit değerlerle belirlenmiş ve PID kontrolünün ayarlarına bağlı olmalıdır.
    Buton Okuması: Butonlar için kesme rutini, debouncing (titremeyi önleme) yöntemi içermiyor. Bu, yanlış okumalara neden olabilir. Ayrıca, buton okuma işlemi delay() kullanılarak yapılmış, bu da kodun diğer kısımlarının çalışmasını engelleyebilir.
    Optimizasyon: Bazı delay() çağrıları, özellikle PID kontrol döngüsünde, kodun diğer kısımlarının çalışmasını engelleyebilir. Bu, PID kontrolünün sürekli çalışmasını sağlamak için önemlidir.
    Optokuplör Okuma Yöntemi: Optokuplör okuması için PCINT0_vect kesme vektörü kullanılmış. Bu, girişlerin herhangi bir değişikliğinde kesmeleri tetikler. Ancak, bu herhangi bir giriş değişikliğinde kesintiye neden olabilir ve bu gerekli olmayabilir. Optokuplör okuması için kesinti yalnızca sıfır geçişlerinde gereklidir.

  • @jksjks555
    @jksjks555 5 лет назад

    Could you do a temp control heater to use in dynavap ?

  • @netmaster78
    @netmaster78 3 года назад

    should be possible to adapt to control pressure instead of temperature on a 220v AC blower motor?

  • @isuruakalanka1354
    @isuruakalanka1354 3 года назад

    Can we use this method to Controll speed of the 220v AC Cooling fan

  • @RogerTannous
    @RogerTannous 2 года назад

    Can you make the same project but with control over the load's current instead of PWMing for voltage control ?

  • @user-bm2li3kj3h
    @user-bm2li3kj3h 4 года назад

    could you suggest me a replacement for the optocoupler EL817? I was unable to find it in my country.

  • @muhammadbasheer9225
    @muhammadbasheer9225 3 года назад

    dear sir, can i use this circuit and code for max 250 degree centigrade for convection microwave oven?

  • @divanshudodeja2822
    @divanshudodeja2822 4 года назад

    Supposing that I want to integrate this complete circuit into one board, how can we still detect the zero crossing, since, in your circuit, you are using a separate supply for Arduino. I want to use the same rectified supply provided after the bridge rectifier.

  • @oishikmukherjee3722
    @oishikmukherjee3722 Год назад

    How did u tune the pid controller and decided kp ki and kd values? I need to control current for my current mtech project. I am sensing current with ACS712 sensor. My current set point is 15 amps, maximum current is 20 amps and voltage is 100 v ac

  • @ggiorgiannigmail
    @ggiorgiannigmail 3 года назад

    Hello.. very nice video.. I'd like to know.. is it possible to simulate this circuit in Tinkercad?

  • @pasans8858
    @pasans8858 3 года назад

    Can create this temperature control for a microwave oven? My question which part of the microwave oven do i connect the sysem to?

  • @keyvangaroosi4694
    @keyvangaroosi4694 3 года назад

    Hi. this video is very good. can you help me to run this project with a touchscreen lcd?

  • @daveyoung3965
    @daveyoung3965 6 лет назад +1

    Hey, @Electronoobs this is AWESOME!! Thanks for putting this up and it's exactly what I am looking for to make a homemade candy maker and keep the candy at temp to increase my working time by keeping the candy hot in a hopper.
    One question is I am in the US and 120VAC. I think this will work if I understand because the photocoupler should find the zero cross point no matter the AC voltage. The one thing I would have to change is aximum_firing_delay to my electric. Is that correct? If not what would you change for 120VAC? The BTA16 TRIAC maybe?

    • @jonahswain
      @jonahswain 6 лет назад +1

      Dave Young this project should work fine for american 120V AC

    • @daveyoung3965
      @daveyoung3965 6 лет назад

      Thanks Jonah! Much appreciate the time to respond and confirm what I learned!

    • @aijazmuhammadkhan3139
      @aijazmuhammadkhan3139 Год назад

      can you help me out please ?
      I have constructed the circuit but when i run it LCD is powering ON but is not showing any display i have used a potentiometer to vary contrast but still no results...can you help me with it ?
      I'm using an arduino UNO

  • @hirdeshbajwa8906
    @hirdeshbajwa8906 3 года назад

    What temperature probe did you use? I have the ds18b20 probe

  • @RadixElektra
    @RadixElektra 6 лет назад +3

    it would be awesome if ya can explain the code also.
    ur videos are awesome!
    would love if you make a video series on arduino programming and interfacing (I2c, SPI, RS323, UART/USART etc.)

  • @IosifVitalis-mg2wh
    @IosifVitalis-mg2wh 11 месяцев назад

    I want to know if it is a difference between EL817 and PC817 and if i cand use PC817?

  • @P4K1TZ
    @P4K1TZ 4 года назад

    You meantion that the actual temperature fluctuation is +- a few degrees, which is ok.. Can you please elaborate on how to get a more accurate control of the temperature (tuning of the PID loop)? Also, is there a hardware solution to something like this where you wouldnt need an interrupt for the zero cross, but just feed a PWM signal to a chip which would then control the signal to the optocoupler based on the zero cross instead? I also noticed you didnt touch on using a heatsink with the triac, can you go into any amount of detail of when a heatsync might need to be used? A response here would be great and maybe a detailed video touching on some or all of these would benefit your community. Keep up the good work!

  • @JL0419ful
    @JL0419ful 4 года назад +1

    Can this Triac support a 2KW heater?

  • @outsealindonesia8274
    @outsealindonesia8274 4 года назад

    What camera did you use to create this video?

  • @joyelreeves3692
    @joyelreeves3692 4 года назад

    Hi is it showing heater fail alarm if the heater coil becomes defective?

  • @elquemiras
    @elquemiras 6 лет назад

    Thanks a Lot , love your videos , I'd be great if you explain how PID code is done , greetings!

    • @Pantera13g
      @Pantera13g 6 лет назад

      HPerezBs hi, check his first PID video, there he explains more about it or in his web page

    • @elquemiras
      @elquemiras 6 лет назад

      Pantera13g , thankyou very much , i didn't even know he has a web page.

  • @alucardkrk
    @alucardkrk 2 года назад

    can i use ssr instead of triac here?

  • @purwantojanuar5755
    @purwantojanuar5755 4 года назад

    Good job bro..
    How max temp?

  • @maximilianr714
    @maximilianr714 3 года назад

    Hey, what if i want more exact temperatues? For example 35.6 °C ... is this possible with this scematic? Thank you... great video :)

  • @lucasvasconcelos7052
    @lucasvasconcelos7052 4 года назад

    Is it possible to use only one arduino and control two different temperatures on two different heaters simultaneously ?

  • @hazalkahraman96
    @hazalkahraman96 5 лет назад

    Can I use relay rather than mosfet?

  • @assiaaboutalib280
    @assiaaboutalib280 5 лет назад

    heey if i want to set the temperature with labview is it possible !!

  • @cnsport9564
    @cnsport9564 3 года назад

    can use ssr for this

  • @allabouttech5689
    @allabouttech5689 2 года назад

    Hello sir, I have stop by to watch your video and it's very informative. Anyway I'm new here. Sir can you build digital temperature display like that one of KOOCU 852D rework station

  • @danangwili2353
    @danangwili2353 4 года назад

    Hi, thanks for the video. How long that PID control can work ? and what the different if i add snubber on that schematic ?

    • @RogerTannous
      @RogerTannous 2 года назад

      There's no need for a snubber network/circuit, as the load is resistive and not inductive.

  • @daro242467
    @daro242467 Год назад

    Hi
    @Electronoobs my project dont work :( all connections ok, but not power to heat... The fault may be because I used the tlp665j (I had it from recovery - it is 100% efficient) instead of moc3020?
    I can't figure it out :(

  • @joshuavincent7884
    @joshuavincent7884 4 года назад

    why do we need to measure the zero cross point of the mains power? cant just control it like an duty cycle output from the arduino?

  • @gaxe4037
    @gaxe4037 4 года назад

    I can use it to 800w heater ?

  • @earhlemmanuelacedilla4346
    @earhlemmanuelacedilla4346 Год назад

    Can i replace the 220V heater with a Heating element?

  • @kaizoniumnh2405
    @kaizoniumnh2405 2 месяца назад

    I constructed this circuit with lm35 instead of max6675 module and changed the code too but I can't get any reading im not sure why

  • @lucasvasconcelos7052
    @lucasvasconcelos7052 4 года назад

    Hello can you please help me I am utilizing this code and it does not seem to be working properly anymore, the heating element does not stop heating when it reaches the set value. I believe the zero cross interrupt is no longer working.

  • @aijazmuhammadkhan3139
    @aijazmuhammadkhan3139 Год назад

    Can you provide Gerber files to get the PCB for this project.Thanks

  • @Arquetipo13
    @Arquetipo13 9 месяцев назад

    Someone can explain me what the resistors connected to the rectifier are for? I’m trying to build this and end up with this doubt

  • @arunbhakat9322
    @arunbhakat9322 6 лет назад

    Sir please make videos on SMPS

  • @Rov-qc2ti
    @Rov-qc2ti 6 лет назад

    will it work for ac motor

  • @kaizoniumnh2405
    @kaizoniumnh2405 Месяц назад

    Why is it chosen to increase delay times with a fixed firing signal of 100ms than have a fixed firing pulse with variable delay?

  • @santoshbabu517
    @santoshbabu517 4 года назад

    Hi electro... I have tried to make one for my dip solder but not able to detect zero cross I think. When zero cross connected to arduino no heating when I disconnect heater heats up but no temperature control.. How can I detect zero cross plz help..