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

6 Online
0 Member And 6 Guest
Today Visits : 2363
Yesterday Visits : 1907
All Visits : 109670

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


+1 vote

dear sir, im looking this your project. 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 (150 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 (32.1k points)