Simple Arduino Timer Switch
Let's make a simple arduino switch. It is very useful way to run your devices for specific time.
Supplies
1. Arduino Uno
2. Dot matrix PCB
3. OLED 0.96' Display
4. 5v Relay
5. BC547 Transistor
6. 1N4007 Diode
7. 1Kohm Resistor
8. Push buttons x3
9. Wires
10. Connector
Circuit Diagram:
Library:
Download library for oled display.
Download zip file from github link below.
https://github.com/adafruit/Adafruit_SSD1306
https://github.com/adafruit/Adafruit-GFX-Library
Click on "Clone or Download" and Download zip.
To add library to arduino ide goto Sketch> Include Library > Add zip Library> Select zip file.
Code:
Change 0x3C from the code to your i2c display address and upload.