-->
Page 1 of 2

PWM frequency higher than 100hz

PostPosted: Mon Apr 18, 2016 8:46 pm
by riq
I've been using NodeMCU (Lua) with PWM and I couldn't get PWM frequencies higher than 100hz.
I don't know if this is a hardware limitation (esp8266) or a framework limitation (nodeMCU).

so, my question is: is possible to get higher PWM frequencies using Sming? I don't mind sacrificing some range bits (from 10bits to 8bit for example) in order to get higher frequencies.

Thanks!

Re: PWM frequency higher than 100hz

PostPosted: Wed Apr 20, 2016 6:45 pm
by kenn
...and you asked this in the Sming forum why?

[edit. Sorry - as per Martin, I am an idiot for not reading. As punishment i will try to find an answer. Might take a while tho. Again, sorry.]

Re: PWM frequency higher than 100hz

PostPosted: Thu Apr 21, 2016 8:16 am
by martinayotte
kenn wrote:...and you asked this in the Sming forum why?

He asked :
is possible to get higher PWM frequencies using Sming ?

Re: PWM frequency higher than 100hz

PostPosted: Thu Apr 21, 2016 10:24 am
by riq
yes, I assumed that by using Sming (instead of NodeMCU) we could have more control, and perhaps trigger the PWM faster... but I don't know if that is possible.
Any idea? thanks.