Jump to content
Arduino.lk Community Sri Lanka
  • Announcements

    • Team Arduino.lk

      Arduino Stater Kit 2 එකක් දිනාගන්න.   11/13/2017

      arduino.lk community වෙත ඔබව සාදරයෙන් පිළිගනිමු. ඔබගේ ගැටළු අදහස් මෙහි පළකර Rs 3650.00 වටිනා Arduino Stater Kit 2 එකක් දිනාගන්න. ඔබ කල යුත්තේ Arduino, හා සම්බන්ධ අදහස්, ලිපි, කමෙන්ට් මෙහි පල කර මෙහි ඇති LeaderBoard එකේ පළමු තැනට පැමිණීමයි. සැම මාසකම අවසාන දින 11.55 PM හොදම Contributor තෝරනු ලැබේ
Geeth Kavinda

Fade an LED (Practical 5)

Recommended Posts

Fade an LED

By using a PWM pin on the Arduino, you will be able to increase and decrease the intensity of brightness of an LED.

Parts Needed

  • (1) Arduino Uno
  • (1) USB A-to-B Cable
  • (1) Breadboard – Half Size
  • (1) LED 5mm
  • (1) 220 Ω Resistor
  • (2) Jumper Wires

Project Diagram

arduino uno projects for beginners

Click Image To Enlarge

Project Code

  1. Connect the Arduino board to your computer using the USB cable.
  2. Open project code  –  Circuit_05_Fade
  3. Select the board and serial port as outlined in earlier section.
  4. Click upload button to send sketch to the Arduino.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×