Search found 7 matches
- Tue Aug 07, 2018 1:53 pm
- Forum: ESP32 Arduino
- Topic: 40khz Timer setup
- Replies: 6
- Views: 8572
Re: 40khz Timer setup
When I use ledc library so the output signal is OK even at 80khz but as suddenly I use my code using the timer so the signal is unstable
- Tue Aug 07, 2018 9:42 am
- Forum: ESP32 Arduino
- Topic: 40khz Timer setup
- Replies: 6
- Views: 8572
Re: 40khz Timer setup
The picture is just an example of it being seen only a problem with the timer ledc library works correctly that i tried but i need to set the timer to the frequency of 40khz my project.
- Tue Aug 07, 2018 5:55 am
- Forum: ESP32 Arduino
- Topic: 40khz Timer setup
- Replies: 6
- Views: 8572
Re: 40khz Timer setup
Hi
I have in mind that the timer is unstable as it is seen in this photo.

I have in mind that the timer is unstable as it is seen in this photo.

- Mon Aug 06, 2018 11:04 pm
- Forum: ESP32 Arduino
- Topic: 40khz Timer setup
- Replies: 6
- Views: 8572
40khz Timer setup
Hi
Can you please tell me why this setting is unstable and the oscilloscope output can see bending as otherwise I could set the timer to be stable at 40Khz thank you for your advice.
my code
#include "driver/timer.h"
static intr_handle_t s_timer_handle;
void init_timer(uint64_t timer_period_us ...
Can you please tell me why this setting is unstable and the oscilloscope output can see bending as otherwise I could set the timer to be stable at 40Khz thank you for your advice.
my code
#include "driver/timer.h"
static intr_handle_t s_timer_handle;
void init_timer(uint64_t timer_period_us ...
- Wed Jun 06, 2018 4:11 pm
- Forum: ESP32 Arduino
- Topic: Arduino Uno convert code to ESP32 help
- Replies: 0
- Views: 4984
Arduino Uno convert code to ESP32 help
Hello Friends
Please give me some advice on the code I'm trying to adjust for ESP32 for a long time but still does not want to work properly please advise me how to modify line 38 (uint8_t ctr = TCNT0;) to work correctly.
here is my code for ESP32 who does not want to work and flood code for ...
Please give me some advice on the code I'm trying to adjust for ESP32 for a long time but still does not want to work properly please advise me how to modify line 38 (uint8_t ctr = TCNT0;) to work correctly.
here is my code for ESP32 who does not want to work and flood code for ...
- Fri Feb 09, 2018 1:43 am
- Forum: ESP32 Arduino
- Topic: Code help
- Replies: 3
- Views: 6830
Re: Code help
Hello
I do not know how to set timers i am not totally sure how to edit this code for ESP32 i do not have any experience with ESP32 development board
I do not know how to set timers i am not totally sure how to edit this code for ESP32 i do not have any experience with ESP32 development board
- Wed Feb 07, 2018 2:01 am
- Forum: ESP32 Arduino
- Topic: Code help
- Replies: 3
- Views: 6830
Code help
Hello friends
Can anyone advise me how to edit this sketch to work with ESP32 in advance thanks for your reply.
https://github.com/dc42/arduino/blob/master/MetalDetector/MetalDetector.ino
Problem is with this frequent code
ISR(TIMER1_OVF_vect)
{
++ticks;
uint8_t ctr = TCNT0;
int16_t val = (int16 ...
Can anyone advise me how to edit this sketch to work with ESP32 in advance thanks for your reply.
https://github.com/dc42/arduino/blob/master/MetalDetector/MetalDetector.ino
Problem is with this frequent code
ISR(TIMER1_OVF_vect)
{
++ticks;
uint8_t ctr = TCNT0;
int16_t val = (int16 ...