[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1792806 [View]
File: 142 KB, 1280x960, photo_2020-04-04_23-45-14.jpg [View same] [iqdb] [saucenao] [google]
1792806

I'm making a temperature controller for my heating mantle (basically just a hot plate) and was wondering if it's possible to lower the PWM frequency, I would like 50% on the potentiometer to be 0.5 sec off 0.5 sec on, 25% to be 0.25 sec on 0.75sec off, 100% to be solid on.
The arduino is controlling a solid state relay on pin 9 and the potentiometer is hooked to pin 0.
AnalogInOutSerial example in the IDE seems to be exactly what I need other than the fact that it switches too quickly.

Is there a way to lower the frequency at which the PWM switches on and off, a much coarser duty cycle than the stock one, like 1hz, vs the 490hz of the stock PWM.

Navigation
View posts[+24][+48][+96]