Hello,
does anyone have experience with generating a sine wave using pwm (on ESP32 or 8622), need to drive MOSFETs for a single phase inverter like:
https://www.homemade-circuits.com/ardui ... r-circuit/
Search found 16 matches
- Sat Sep 17, 2022 4:05 pm
- Forum: ESP32 boards
- Topic: Micropython SPWM
- Replies: 2
- Views: 21939
- Tue Jan 25, 2022 6:45 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
Re: ESP32 machine.PWM
Dear,
the problem was in the Chinese servo motor that was not working properly,
by replacing the motor, everything works!
Thank you very much for the answers and time!
the problem was in the Chinese servo motor that was not working properly,
by replacing the motor, everything works!
Thank you very much for the answers and time!
- Tue Dec 21, 2021 2:10 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
- Mon Dec 20, 2021 6:33 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
Re: ESP32 machine.PWM
Forth and back in small steps!
freq = 50
duty = (95-130) # from 95 to 130
freq = 50
duty = (95-130) # from 95 to 130
- Mon Dec 20, 2021 5:03 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
Re: ESP32 machine.PWM
In case I don't use deinit (), it's as if there is some interference (signal) that moves the servo in small movements! I am not an expert in the field of microcontrollers ... My field of expertise is acoustics and audio signal processing ... Is there an error in the code given in the previous post?
- Mon Dec 20, 2021 1:18 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
Re: ESP32 machine.PWM
I just tried this code on the MicroPython v1.16 on 2021-06-23; ESP32 module with ESP32, and everithing work!
That it is not a mistake in the version v1.17...?
That it is not a mistake in the version v1.17...?
- Mon Dec 20, 2021 12:15 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
Re: ESP32 machine.PWM
Sorry, it doesn't seem to be a mistake in the firmware and timing! Is pwm.deinit () automatically sent commands to return the servo to the starting position and is it possible to change it? This is my code for servo motor control: '''klapna''' class klapna: def __init__(self, pozicija): self.pozicij...
- Mon Dec 20, 2021 7:49 am
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
- Sun Dec 19, 2021 10:30 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723
- Sun Dec 19, 2021 10:09 pm
- Forum: ESP32 boards
- Topic: ESP32 machine.PWM
- Replies: 23
- Views: 29723