Page 1 of 1

Controlling Pot FV-1 with PWM

Posted: Sun Jan 13, 2019 4:23 am
by frotaitalos
Hi everyone, I'm trying to control the potentiometer inputs of the FV-1 through an arduino, I already managed to do that and it worked, but the arduino pwm works at 490Hz, can I have problems with pwm noise with this frequency?

Re: Controlling Pot FV-1 with PWM

Posted: Sun Jan 13, 2019 10:45 am
by igorp
Of course, square waves are wide specter, so, use low pass filter (at least RC chain of 10K resistor and 100n cap) maximum closer to arduino
And don't forget divider +5V of arduino into 3.3V of FV-1

Re: Controlling Pot FV-1 with PWM

Posted: Sun Jan 13, 2019 4:20 pm
by frotaitalos
I know there is a possibility of changing the frequency of the Arduino, but it seems like it's a complicated job, I'm going to do some tests with an LPF, thanks for the help.

Re: Controlling Pot FV-1 with PWM

Posted: Mon Jan 14, 2019 7:18 am
by igorp
atmel mcu have hardware pwm, but afair it's unused in arduino.
If you write own software on C , then you can use hardware pwm.

For now you can provide additional LPF on FV-1 side like : ldax Pot2 : rdfx pot2f , 0.002 : wrax pot2f , 1

Re: Controlling Pot FV-1 with PWM

Posted: Tue Apr 16, 2019 5:50 am
by micahvdm
You'll need to change the timers on the Arduino so as to not introduce noise.