Search found 3 matches

by hartltech
Tue Oct 20, 2020 1:12 pm
Forum: ESP32 Arduino
Topic: PWM drifting with increasing dutycycle
Replies: 4
Views: 3660

Re: PWM drifting with increasing dutycycle

Usually the lab equipment runs on its own ground. For development and debugging purposes we use our own notebooks for quick access.

In this case it was a combination of convenience and faulty handling
by hartltech
Tue Oct 20, 2020 6:05 am
Forum: ESP32 Arduino
Topic: PWM drifting with increasing dutycycle
Replies: 4
Views: 3660

Re: PWM drifting with increasing dutycycle

I found the error. I started the lab equipment today and found out that my notebook did not have power. The cable of the power supply was not plugged in correctly and therefore the power source (via USB) was floating connected to an grounded osci. The PWM signal behaves as expected and on the flanks...
by hartltech
Mon Oct 19, 2020 10:35 am
Forum: ESP32 Arduino
Topic: PWM drifting with increasing dutycycle
Replies: 4
Views: 3660

PWM drifting with increasing dutycycle

Hello everyone, I just started programming an ESP32 and already ran into some problems. I use the Arduino framework of the 'Visual studio code' and the MCPWM library. I adapted the code from https://hackaday.io/project/169905/logs?sort=oldest #include <Arduino.h> #include "driver/mcpwm.h" #include "...