Search found 7 matches

by RickRac
Wed Oct 29, 2025 12:47 am
Forum: General Discussion
Topic: Precision generator
Replies: 12
Views: 4221

Re: Precision generator

Thanks for the reply. I am an old fellow that grew up with Cobol and Fortran.
Not sure if I can do more than Arduino.
Hoping for easy.
by RickRac
Tue Oct 28, 2025 8:39 pm
Forum: General Discussion
Topic: Precision generator
Replies: 12
Views: 4221

Re: Precision generator

While 20 bit PW resolution is super nice, the issue remains that the freq must be an integer so no dice on 7.83
by RickRac
Sun Oct 05, 2025 5:13 pm
Forum: General Discussion
Topic: Precision generator
Replies: 12
Views: 4221

Re: Precision generator

Well the issue is freq must be an integer so no dice on 7.83. I need a version that allows floats or divide the master clock by 10.

ledcAttachChannel(7, freq, resolution, 3); //freq is an integer.

Thanks for the reply though
by RickRac
Fri Oct 03, 2025 3:57 pm
Forum: General Discussion
Topic: Divide by 10 Clock divider
Replies: 0
Views: 1712

Divide by 10 Clock divider

On a ESP32-S3, I want to create a simple clock output of say 7.8 Hz.

ledcAttachChannel(1,78,12, 2); //will give me 78 Hz quite nicely.
How can I divide the clock down by 10 or even 100? This is simple for some but I am so frustrated trying things.
Thanks Rick
by RickRac
Wed Oct 01, 2025 2:12 pm
Forum: General Discussion
Topic: Precision generator
Replies: 12
Views: 4221

Re: Precision generator

Thanks for the prompt reply. A little jitter etc is all ok.
Can you offer any sample code to get started please?
by RickRac
Tue Sep 30, 2025 7:50 pm
Forum: General Discussion
Topic: Precision generator
Replies: 12
Views: 4221

Precision generator

I am keen about generating a square wave with a floating point frequency say 1 or 2 decimal points from the range of 1-20000 Hz.
Is there an easy way to do this say with a S3? 7.83 Hz for example.
Thanks
by RickRac
Thu Apr 29, 2021 8:21 pm
Forum: ESP32 Arduino
Topic: ESP32 Thing SparkFun RMT Pulse Generator 4 Channels Jitter 100ns
Replies: 4
Views: 9322

Re: ESP32 Thing SparkFun RMT Pulse Generator 4 Channels Jitter 100ns

Where do I find the "driver/rmt.h" file? This is new to me.
Thanks

Go to advanced search