piotrpdev / ldr_tft_servo

Arduino sketch that rotates servo when LDR is exposed to enough light, also displays info on TFT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LDR TFT Servo

demo.mp4

Arduino sketch that rotates a servo when a light dependent resistor is exposed to enough light, also displays some information on a small TFT display.

Circuit

Parts

  • Arduino Uno
  • SSD1306 TFT display
  • SG90 Servo
  • GL5516 LDR
  • 10 kΩ resistor

Diagrams

Breadboard Schematic
breadboard schematic

License

MIT License, see LICENSE.

Based on example code from Adafruit, which is under the BSD license.

About

Arduino sketch that rotates servo when LDR is exposed to enough light, also displays info on TFT.

License:MIT License


Languages

Language:C++ 100.0%