-->
Page 12 of 14

Re: High Frequency pwm?!

PostPosted: Sun Jun 25, 2017 11:35 am
by Dakota
[quote="urbanze"]with 12uS (you use this), frequency is about 71kHz. Now, at end of your code, you put 1uS !, it's the "X" of topic. Theoretically, esp does not make above 250kHz, 1uS give 500kHz and doesn't work, but you used "FALSE", this not make a loop with timer, just an "callback", if use true, timer work like an loop. :(


Yes, the FALSE is for stoping the loop with timer and make a pause of 100 ms or 200 ms. If you know a better way (sure) to modulate the radio signal, please let me know it ;)

Re: High Frequency pwm?!

PostPosted: Sun Jun 25, 2017 11:41 am
by urbanze
Dakota wrote:
urbanze wrote:with 12uS (you use this), frequency is about 71kHz. Now, at end of your code, you put 1uS !, it's the "X" of topic. Theoretically, esp does not make above 250kHz, 1uS give 500kHz and doesn't work, but you used "FALSE", this not make a loop with timer, just an "callback", if use true, timer work like an loop. :(


Yes, the FALSE is for stoping the loop with timer and make a pause of 100 ms or 200 ms. If you know a better way (sure) to modulate the radio signal, please let me know it ;)



Unfortunately, the best thing to do is to use specific hardware or better. :x :cry: :roll:

Re: High Frequency pwm?!

PostPosted: Tue Jul 11, 2017 2:08 am
by schufti
Hi,
this may show your ultimate solution:
https://www.youtube.com/watch?v=AWT2w7v9szs
with the esp running @346MHz allmost everything should be possible (apart from WiFi)

Re: High Frequency pwm?!

PostPosted: Tue Jul 11, 2017 7:28 pm
by urbanze
schufti wrote:Hi,
this may show your ultimate solution:
https://www.youtube.com/watch?v=AWT2w7v9szs
with the esp running @346MHz allmost everything should be possible (apart from WiFi)


:shock: :o Very interesting! Thanks