SKU: OT5077 Article number: AA685 EAN: 8720618231123
This PWM to Voltage Converter Module is designed to convert PWM signals to a voltage between 0-10V, and is suitable for a wide range of applications in industry and electronics projects.
The module has a working voltage range of DC 12V-30V, with a minimum current of more than 100mA. Note, this is the voltage required to operate the module and is separate from the PWM signal.
The PWM signal frequency range is between 1KHZ-3KHZ, making the module compatible with a large number of devices and controllers.
The PWM signal input level range can be set to 4.5 to 10V level (for conventional industrial control boards such as the MACH3 board and the interface of a 5V CPU) or to 12 to 24V level (mainly aimed at the conventional PLC interface).
With a jumper pin, this is set by default to 4.5 to 10V level.
The conversion range from PWM to voltage is 0%-100%, with a tolerance of 5%. This means you can easily adjust the output voltage between 0-10V by adjusting the PWM duty cycle.
The PWM to Voltage Converter Module is compact and easy to install and use. The module offers flexible options for adjusting the signal level, making it suitable for a wide range of applications, such as motor speed control, LED dimming, and temperature control.
Product specifications:
How to connect the PWM to Voltage converter module 0-10V to an Arduino UNO or ESP32, with an example sketch you can upload straight away.
This project demonstrates how to generate an analog control voltage (0-10V) using an Arduino PWM output. The Arduino outputs a varying PWM signal on pin 9, which the module converts into a proportional DC voltage at the VOUT terminal. Open the Serial Monitor to observe the current PWM duty cycle as the output sweeps up and down.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : PWM to 0-10V Voltage Converter Demo
* Board : Arduino UNO (arduino:avr:uno)
* Parts : PWM naar Voltage converter module 0-10V
* Libraries : none (built-in)
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
// PWM to 0-10V Voltage Converter Demo
const int pwmPin = 9;
void setup() {
pinMode(pwmPin, OUTPUT);
Serial.begin(115200);
Serial.println(F("PWM to Voltage Converter initialized."));
}
void loop() {
// Ramp up output voltage (0% to 100% duty cycle)
Serial.println(F("Ramping voltage up..."));
for (int duty = 0; duty <= 255; duty += 5) {
analogWrite(pwmPin, duty);
Serial.print(F("Duty cycle: "));
Serial.print((duty * 100) / 255);
Serial.println(F("%"));
delay(50);
}
delay(1000);
// Ramp down output voltage (100% to 0% duty cycle)
Serial.println(F("Ramping voltage down..."));
for (int duty = 255; duty >= 0; duty -= 5) {
analogWrite(pwmPin, duty);
Serial.print(F("Duty cycle: "));
Serial.print((duty * 100) / 255);
Serial.println(F("%"));
delay(50);
}
delay(1000);
}
Wiring diagram and example code generated by Codey.online — https://www.codey.online
This project demonstrates converting a digital PWM signal from the ESP32 into an analog 0-10V control voltage using the PWM-to-Voltage converter module. The module is powered by an external 12V DC supply and controlled via GPIO 18. The sketch sweeps the PWM duty cycle from 0% to 100%, generating an analog output ranging from 0V to 10V (ideal for PLCs, VFDs, or industrial dimmers).
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : ESP32 PWM to 0-10V Voltage Converter Demo
* Board : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
* Parts : PWM naar Voltage converter module 0-10V
* Libraries : none (built-in)
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
// PWM to 0-10V Converter Module Demo with ESP32
// Connect GPIO 18 to PWM input and external 12V DC to module VIN
const int pwmPin = 18;
void setup() {
Serial.begin(115200);
pinMode(pwmPin, OUTPUT);
Serial.println("ESP32 PWM to 0-10V Converter Demo Started");
}
void loop() {
// Sweep output from 0V up to 10V in steps
for (int duty = 0; duty <= 255; duty += 25) {
analogWrite(pwmPin, duty);
float expectedVoltage = (duty / 255.0) * 10.0;
Serial.print("PWM Duty: ");
Serial.print(duty);
Serial.print("/255 | Approx Output: ");
Serial.print(expectedVoltage, 1);
Serial.println(" V");
delay(1000);
}
}
Wiring diagram and example code generated by Codey.online — https://www.codey.online