PWM - PWM Slider

How To Add This Control To Your Project

Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the PWM category tab
Step #5) Press the PWM Slider icon to add the control to your project


Description

The EZ-B can trigger a digital port ON and OFF rapidly to simulate a voltage range between 0 and 5volts. This method is called Pulse Width Modulation. The slider controls the value of the PWM on any digital I/O pin of the EZ-B.

If you have a motor controller (HBridge) with an Enable port, you can connect it to a Digital I/O connector and use this to control the speed of the motor. Or, you can control the brightness of an LED.


Video

Related Tutorials & Activities

Pulse Flash LED with PWM

Pulse Width Modulation is the method of having a digital port, which is only On or Off to have a varying output voltage. Use this approach to flash and LED with a pulsing effect.

Last Modified on 1/16/2016

Created by ezrobot


Related Articles: N/A