--> Project I.19. Jam Digital menggunakan Modul LED Matrix P10 berbasis Arduino Uno | Tutorial arduino lengkap

Tuesday, August 1, 2017

Project I.19. Jam Digital menggunakan Modul LED Matrix P10 berbasis Arduino Uno

| Tuesday, August 1, 2017
Jam Digital menggunakan Modul LED Matrix P10



Sistem Kerja Alat

               Membuat jam digital dengan LED Matrix P10 berbasis Arduino UNO. LED Matrix P10 saat ini sudah sering dipakai untuk display seperti tulisan berjalan (moving sign /running text). Selain praktis, modul LED Matrix P10 ini juga fleksibel pengembangannya. Tinggal sesuaikan dengan ukuran tulisan/display yang akan kita buat.

Kebutuhan Hardware
  • Arduino UNO Board
  • Modul LED Matrix P10


  • Modul RTC DS1307 atau DS3231
  • Power Supply 7-9 Vdc
  • Power Supply 5V 10A untuk modul P10 


 Schematics

 Koneksi LED Matrix P10 (DMD) :

 Koneksi Arduino dengan RTC DS1307 atau DS3231 :

Source Code/Sketch :

#include <Wire.h>
#include <DS1307.h>

#include <SPI.h>
#include <DMD.h>
#include <TimerOne.h>
#include "SystemFont5x7.h"
#define DISPLAYS_ACROSS 1
#define DISPLAYS_DOWN 1
DMD dmd(DISPLAYS_ACROSS, DISPLAYS_DOWN);
int a;
char b[8];
String str;
void ScanDMD()
{
dmd.scanDisplayBySPI();
}
void setup()
{
RTC.stop();
RTC.start();
Serial.begin(9600);
Timer1.initialize( 5000 );
Timer1.attachInterrupt( ScanDMD );
dmd.clearScreen( true );
}
void loop()

{
str="";
int h(RTC.get(DS1307_HR,true));
int m(RTC.get(DS1307_MIN,false));
dmd.clearScreen( true );
str=String(h)+":"+String(m);
str.toCharArray(b,6);
dmd.selectFont(SystemFont5x7);
dmd.drawString( 1, 4, b, 5, GRAPHICS_NORMAL );
delay(5000);
}



Jalannya Alat :
 
Pada LED Matrix P10 akan tampil nilai jam


Video Project I.19. Jam Digital menggunakan Modul LED Matrix P10 berbasis Arduino Uno


KAMI MELAYANI JASA PEMBUATAN HARDWARE ATAU SOFTWARE BERBASIS ARDUINO

KONTAK KAMI 085743320570 (adi sanjaya)

Related Posts

2 comments:

  1. Replies
    1. just check at the last page of this posting sir, the green highlight download file

      Delete