1. The circuit post in this video 4:28 2. Code Program Arduino show below and Thank you for following. /* Simple Code for Quasi-Resonant Induction Heater Adj Power : POT = 10K(B) at A0 Current Monitor : Pin A1 Set PWM Max : 50% Dev by : Nattapon Date : 20/6/2021, V.0 Website : www.electronicsdna.com */ #include <PWM.h> int setPWM = 0; int Icoil = 0; int32_t frequency = 100000; //frequency (in Hz) void setup() { InitTimersSafe(); Serial.begin(9600); //sets the frequency for the specified pin bool success = SetPinFrequencySafe(3, frequency); if(success) { pinMode(3, OUTPUT); } } void loop() { Icoil = analogRead(A1); Serial.print(" Icoil = "); Serial.println( Icoil ); setPWM = analogRead(A0); pwmWrite(3,(setPWM/8)); delay(50); }
@ihtsarl91153 жыл бұрын
Nice video very interesting Thanks . Can you post the circuit please and the code ?