Thumbnail

PWM Slider

+ How To Add This Control To Your Project (Click to Expand)
  1. Load the most recent release of ARC.
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Control from the button ribbon bar in ARC.
  4. Choose the PWM category tab.
  5. Press the PWM Slider icon to add the control to your project.
An EZ-B can trigger a digital port ON and OFF rapidly to simulate a TTL voltage signal low (0V) and a TTL voltage signal high (+3.3V or +5V). This method is called Pulse Width Modulation (PWM). The slider controls the value of the PWM on any digital I/O pin of the EZ-B.

If you have a motor controller (H-Bridge) with an enable port, you can connect it to a Digital I/O pin and use this skill to control the speed of the motor. Alternately, you could also control the brightness of an LED with this slider.

Main Window



1. PWM Slider
This slider adjusts the amount of PWM signal that's generated.

2. Duty Cycle Percentage Readout
This displays the numerical percentage amount of PWM signal that's generated.

3. Stop Button
This button instantly brings the PWM signal down to 0% (Off).

Settings



1. Name Field
Enter a name for your PWM Slider.

2. Board Drop-down
Select your board number.

3. Port Drop-down
Select your Digital port number.

How to use PWM Slider


1) Add the PWM Slider skill to your ARC project (Project -> Add Skill -> PWM -> PWM Slider).

2) In the skill settings select the Digital port that you have your device connected to.

3) In the Main Window use the mouse to slide the slider up and down to control the PWM.

Requirements


An I/O Controller with digital ports.

Video