Page 1 of 3

PWM FC component for ESP ?

Posted: Thu Oct 03, 2024 3:16 pm
by Xbiotec
hi,
which FC component is better to use for PWM on ESP32 ?

Re: PWM FC component for ESP ?

Posted: Fri Oct 04, 2024 6:35 am
by Xbiotec
Hi FC team, no answer for this question?

Re: PWM FC component for ESP ?

Posted: Fri Oct 04, 2024 10:13 am
by medelec35
Hello.
You have posted a question in User Components.
User Components.png
User Components.png (24.58 KiB) Viewed 6999 times
I have moved your post to general as you have not created a component

There is a dedicated PWM component within the Outputs of the component library.
Or you can select the component library ribbon, then click on the magnifying glass and enter PWM.

Re: PWM FC component for ESP ?

Posted: Fri Oct 04, 2024 10:21 am
by Xbiotec
Hi Martin,
I know that there components already made but there is :
- PWM (cal)
- PWM (internal) it seems that "Set frequency" do not work
So which one is adapted to EPS32 ?
also need to be able to change Frequency, dutycycle with a variable.

Re: PWM FC component for ESP ?

Posted: Fri Oct 04, 2024 12:43 pm
by medelec35
We don't recommend using cal which is why I mentioned dedicated PWM.
I also mentioned where the PWM component is as its helpful for new Flowcode uses that will read this topic.
Thank you for letting us know the set Frequency is not working, we are investigating the issue and will be fixed ASAP

Re: PWM FC component for ESP ?

Posted: Fri Oct 04, 2024 1:27 pm
by Xbiotec
Set frequency do not work on FC PWM (internal) component.
Please also check duty cycle because I need to setdutycycle10bit to 32 to get 50% duty cycle .
What must be the max value for period overflow ?

please make ti working ASAP. thx

Re: PWM FC component for ESP ?

Posted: Mon Oct 07, 2024 11:11 am
by Xbiotec
hello,
still no news?

Re: PWM FC component for ESP ?

Posted: Mon Oct 07, 2024 11:19 am
by medelec35
There is not always a quick fix as an update can break other target devices.
I will post on here when the PWM has been fixed.

Re: PWM FC component for ESP ?

Posted: Mon Oct 07, 2024 11:26 am
by Xbiotec
I know Martin that there is not always a quick fix but you can understand that I don't know if your are working on it or not,
and as you know for professional use, we can not only ask and wait...
thx

Re: PWM FC component for ESP ?

Posted: Wed Oct 09, 2024 6:51 am
by Xbiotec
medelec35 wrote:
Mon Oct 07, 2024 11:19 am
No, not since https://flowcode.co.uk/forums/viewtopic.php?p=17327#p17327
There is not always a quick fix as an update can break other target devices.
I will post on here when the PWM has been fixed.
hello Martin,
this link is wrong.