Introduction: 4Duino LED Brightness Control

About: 4D Makers is a group of curious engineers and enthusiasts who finds great satisfaction in creating and building anything from electronics.

In this project, we will learn how to control the brightness of LED via an I/O port (with PWM output capability) and a touch display slider. The 4Duino resistive touch display is used as a means for a graphical interface to control the intensity of the LED. Since the 4Duino itself has an LED on pin D13 with PWM output capability, you may use the LED to conduct this project for convenience.

You can visit 4Duino Projects for more info and creative stuff. :)

Step 1: How It Works

Step 2: Components

  • 4Duino
  • LED
  • 220Ω Resistor
  • Jumper cables
  • Micro USB cable
  • Breadboard

Step 3: Build

Build the circuit as shown in the following diagram and schematic.

Step 4: Program

Workshop 4 – 4Duino Basic Graphics environment is used to program this project.

This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.

  1. Download the file indicated in this step
  2. Open the file using Workshop 4.
  3. Connect the 4Duino to the PC using µUSB cable.
  4. Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.
  5. Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.

Step 5: Demonstration

Now using the touch slider on the 4Duino Display, you can control the brightness of the LED.

You can add more LED and use it in your creative projects.
ENJOY !!! :)

Step 6: More Projects

For more projects, you can visit 4Duino Projects.
Thank you !!!

Metal Contest 2016

Participated in the
Metal Contest 2016