Search found 267 matches: pwm

Searched query: pwm

by McEsp32
Sat Jan 18, 2020 7:58 pm
Forum: ESP32 Arduino
Topic: Uart and VESC motor controller
Replies: 1
Views: 1156

Re: Uart and VESC motor controller

... I'm new to the ESP32 and the connecting process to the FSESC 4.12 brushless motor controller. I thought it would be possible by using the PWM library of the ESP32. Then I recognized that FSESC accepts PPM input instead of PWM. Did you really succeed connecting the ESP32 with the controller ...
by mhi32768
Fri Jan 17, 2020 9:29 am
Forum: Hardware
Topic: Generating 12 MHz clock for external component
Replies: 3
Views: 406

Re: Generating 12 MHz clock for external component

... output the 12 MHz clock signal to GPIO (TRM chapter 4.9 table ) ? For the first (ADC clk) solution. I am not very familiar with I2S.. About LEDC/PWM, I am not sure but I think frequency cannot be easily changed (base 80MHz) ? And 80 MHz is not very good for generating 12 MHz by single divisor.
by kushishru
Sun Jan 12, 2020 1:00 pm
Forum: General Discussion
Topic: regarding webserver
Replies: 2
Views: 387

regarding webserver

Hi Everyone,

I am able to control the Motor through the ESP32 wifi webserver and I am using PWM technique to control the Motor. Now I need this PWM values to be shown on the webserver instead of the serial monitor. Could anyone please let me know ,How do i do this ?

Thanks in Advance
by adam_esp
Sat Jan 11, 2020 4:28 pm
Forum: ESP32 IDF
Topic: Every few hours -> Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 0
Views: 145

Every few hours -> Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

ESP32, STA mode, client SNTP, server tcp, server udp, client tcp, pwm, adc, rmt. CORE DUMP: =============================================================== ==================== ESP32 CORE DUMP START ==================== ================== CURRENT THREAD REGISTERS ...
by maxus1998
Wed Jan 08, 2020 9:03 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 16
Views: 831

Re: PWM controlled fan tacho wrong

I swapped the 1nf capacitor now for a 680pf and the values read by the ESP32 seems to be fine. The Corsair fan reaches right around 2000RPM and the noctua one about 1600RPM, both values are the manufacturer specifications for the maximum speed. I can't spot any difference on the oscilloscope when us...
by ESP_Sprite
Wed Jan 08, 2020 2:57 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 16
Views: 831

Re: PWM controlled fan tacho wrong

Sure. If you want to go all-in, you can also have the series resistance in to create a 'proper' RC filter (so fan tacho out - resistor to 3.3V - series resistor - capacitor to gnd - esp32 input pin).
by maxus1998
Tue Jan 07, 2020 10:41 pm
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 16
Views: 831

Re: PWM controlled fan tacho wrong

Adding the 1nf capacitor did indeed help. The values seem quite realistic but a bit high now. I read 3000rpm ok my 400-2000 rpm fan, while the slower noctua one looked fine.
I will try to use a slightly higher value capacitor tomorrow and get some new measurements with the capacitors.
by ESP_Sprite
Tue Jan 07, 2020 9:16 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 16
Views: 831

Re: PWM controlled fan tacho wrong

Ah, I'm sorry - I indeed missed the readings because of the pagination of the topic. From what I can see, your issue may very well be that the ESP32 is triggering on noise induced by the regulation of the fan; adding a R in the line probably creates a RC-filter in combination with the implicit capac...
by maxus1998
Tue Jan 07, 2020 5:04 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 16
Views: 831

Re: PWM controlled fan tacho wrong

I am happy to use those additional 8 resistors, I am just not sure if it is the correct solution,

What exactly do you mean with scope readings? Did you just miss my post with the pictures or would you want to see something else?
by ESP_Sprite
Tue Jan 07, 2020 2:25 am
Forum: ESP32 Arduino
Topic: PWM controlled fan tacho wrong
Replies: 16
Views: 831

Re: PWM controlled fan tacho wrong

Hard to say without scope readings... we have no clue what's going on on that line at the moment, especially because the fan electronics itself is more-or-less a black box. (On a side note, your worry about having to design in 8 resistors is... interesting. If I were in your position, I'd just desig...

Go to advanced search