LCD, Potentiometer and Pwm Led With Arduino

2,571

6

2

Posted

Introduction: LCD, Potentiometer and Pwm Led With Arduino

What will you need:

  • Arduino board
  • LCD 16 * 2
  • Trimmer 10 kΩ
  • Potentiometer 10 kΩ
  • Led 5mm
  • 220, 330 Ω resistors
  • Some jumpers
  • Breadboard

What sketch does:
In this sketch, will be printed the potentiometer analog value on lcd and near it the pwm value given to led.

Connections:

  • Arduino pin A5 to the potentiometer central pin
  • Arduino pin 2 to LCD D7
  • Arduino pin 3 to LCD D6
  • Arduino pin 4 to LCD D5
  • Arduino pin 5 to LCD D4
  • Arduino pin 9 to led (through 330 ohms resistor)
  • Arduino pin 11 to LCD Enable
  • Arduino pin 12 to LCD RS
  • LCD Vss pin to ground
  • LCD Vdd pin to +5V
  • LCD R/W pin to ground
  • LCD A pin through a 220 ohms resistor to +5V
  • LCD K pin to ground
  • a pin of pot to +5V, the opposite one to GND

You can see video here.

Visit my site for more: http://estro.co

Share

    Recommendations

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Spotless Contest

      Spotless Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    2 Comments