Posts

Showing posts from July, 2020

seven segment display with arduino

Image
Hi ---------------------------------------------------------  here is the circuit diagram ---------------------------------------------------------- HERE is the code for without library -------------------------------------------------------------------------------------- /*  * ER BROS LAB  */ #define a 6 #define b 7 #define c 8 #define d 9 #define e 10 #define f 11 #define g 12 #define dp 13 void setup() {   pinMode(a, OUTPUT);   pinMode(b, OUTPUT);   pinMode(c, OUTPUT);   pinMode(d, OUTPUT);   pinMode(e, OUTPUT);   pinMode(f, OUTPUT);   pinMode(g, OUTPUT);   pinMode(dp, OUTPUT); } void n0() {   digitalWrite(a,LOW);   digitalWrite(b,LOW);   digitalWrite(c,LOW);   digitalWrite(d,LOW);   digitalWrite(e,LOW);   digitalWrite(f,LOW);   digitalWrite(g,HIGH);   digitalWrite(dp,HIGH); } void n1() {   digitalWrite(...

timer switch

Image
Hi here is the simple and very useful project. parts list ATMEGA8 (you can use atmrga328p, or any other arduino) - 1 22pf capacitor -2 16MHz crystal - 1 10K resistor - 1 100E resistors -8 push button - 1 rotary encoder with push button - 1 4 digit seven segment display - 1 relay- 1 bc547 transistor - 2 buzzer - 1 zero pcb - 1 10uf capacitor - 1 100nf capacitor - 1 some wires and male or female header pins here is the  schematic diagram here is the code link https://github.com/vivek-chauhan7/Timer-Switch YOUTUBE LINK https://www.youtube.com/channel/UCY6KA8oFk1s36fyPiFEmedQ