google-site-verification=SkGCPV09Sm10530AcS_1gAh0NCgunLJ0Cdn2x6bYlvo Langsung ke konten utama

Postingan

Menampilkan postingan dengan label communication

Membuat Jam Digital dengan Arduino Uno

Membuat Jam Arduino, mudah dipasang, Anda bisa mengatur tanggal dan waktu monitor Serial, proyek ini hanya menggunakan beberapa komponen saja jumper, Arduino, dan display Nokia 5110/3110, dan siap. Pin Ke LCD Pin 3 - Serial clock out (SCLK) Pin 4 - Serial date out (DIN) Pin 5 - date/Command select (D/C) Pin 6 - LCD chip select (CS/CE) Pin 7 - LCD reset (RST) - CODE /Programa : Teste display Nokia 5110 usando biblioteca Adafruit //Autor : VINICIUS LOPES # include <Adafruit_GFX.h> # include <Adafruit_PCD8544.h> // pin 3 - Serial clock out (SCLK) // pin 4 - Serial date out (DIN) // pin 5 - date/Command select (D/C) // pin 6 - LCD chip select (CS/CE) // pin 7 - LCD reset (RST) Adafruit_PCD8544 display = Adafruit_PCD8544( 3 , 4 , 5 , 6 , 7 ); int second,minute, hour, day, mounth,year; unsigned long UtlTime; void setup () pinMode ( 2 , OUTPUT ); UtlTime= 0 ; { minute= 0 ; hour= 0 ; day= 0 ; mounth= 0 ; year= 0 ;