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

Comments

author
DIY Hacks and How Tos (author)2015-10-17

Nice DIY potentiometer

author

Thank you!

About This Instructable

2,344views

6favorites

License:

Bio: Hello! I'm Lorenzo Daidone, a student of the IIS Italo Calvino in Genoa, Italy. I love Arduino, Raspberry and all around the DIY electronics.
More by Lorenzo Daidone:L29x H bridge Arduino LibraryArduino Metronome (with ISR)Fishino WiFi Module Firmware Update
Add instructable to: