Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AntiBotCaptcha has a deprecated constructor in /homepages/8/d680172117/htdocs/QA/qa-plugin/q2a-captcha-antibot-master/AntiBotCaptcha.php on line 22
about Temperature PID controller - Electronoobs Q&A

Welcome to Electronoobs Q&A, where you can ask questions and receive answers from other members of the community.


PCBWay Ad

Categories


+1 vote

dear sir, im looking this your project. http://electronoobs.com/eng_arduino_tut24_2.php. so i have a question !  line number 48: 

  TCCR2B = TCCR2B & B11111000 | 0x03;    // pin 3 and 11 PWM frequency of 980.39 Hz

what is the purpose of this cord,  why do you used to PWM frequency of 980.39 Hz ?

Thank you ! 

asked in Arduino by (130 points)

1 Answer

0 votes
The default frequency of pwm signal in Arduino is too low for the MOSFET switch. We need higher frequency to avoid flickering.
answered by (28.2k points)
...