SlideShare a Scribd company logo
MONITORING TEMPERATURE
RUANGAN DENGAN DISPLAY LCD
DAN RECORDING
MOCH. REZKI SELAMET
MOKH IMAM NUGROHO
SITI HARYANI
YUDA WARDIANA
LATAR BELAKANG
Dalam suatu pengukuran temperature kita biasanya
menunggu guna memperoleh data tiap menit. Tetapi
kadang kala kita selalu meniggalkan pengukuran karena
ada kegiatan lain yang sama penting. Karna itu alat ini dibuat
untuk menyimpan data temperature supaya data pengukuran
tersimpan walaupun kita tinggalkan.
TUJUAN
 Dapat mengetahui suhu ruangan yang terukur
 Dapat menyimpan data temperature
 Dapat mengetahui perubahan suhu ruangan
 Dapat menganalisis data yang tersimpan guna
keperluaan akademik
DESKRIPSI ALAT
Alat ini mempunyai 4 buah sensor LM35 yang
ditempatkan pada tiap sudut ruangan ditampilkan pada
display LCD dan di record oleh arduino uno. Penyimpanan
data dengan micro sd module shield dan di simpan oleh
memori micro sd menit permenit temperaturenya. Data
yang disimpan oleh micro sd module berbentuk
.txt(notepad).
Alat Dan Bahan
 Arduino Uno
LM 35
LM35 TEMPERATURE SENSOR IS ONE TYPE OF SENSOR THAT
CONVERTS ELECTRICAL QUANTITIES TO THE TEMPERATURE SCALE
IN THE FORM OF VOLTAGE. LM35 HAS 3 PIECES PIN LEGS, PIN TO
INPUT POSITIVE VOLTAGE (+), PIN OUTPUT, INPUT PIN NEGATIVE
VOLTAGE / GND (-).
LM 35
HOW the LM 35 measure???
Can operate at a voltage of 4 volts to 30 volts. Each
temperature of 1 degree Celsius will show a voltage of 10
mV.
equation:
Vout = 10 mV / 1ºC
That is, if the read voltage Vout = 500 mV, then the
temperature = 500mv / 10mV = 50ºC.
35 ºC
Vout = 10 mV / 1ºC
That is, if the read voltage Vout = 500 mV, then the temperature = 500mv
/ 10mV = 50ºC.
EXAMPLE
Arduino use sensor LM 35
Read the output of LM35 goes into analog pin, Read data
already in the form of ADC conversion
Converting ADC = Vout / Vref * 1023
So it's not in the form of voltage magnitude again If
you want to know the LM35 output voltage using the
formula above:
Read voltage = Conversion ADC voltage reference * /
1024
MICRO SD SHIELD
The module (MicroSD Card Adapter) is a Micro SD card reader
module, and the SPI interface via the file system driver, microcontroller
system to complete the Micro SD card read and write files. Users can
directly use the Arduino IDE comes with an SD card to complete the
library card initialization and read-write
Features:
 Support Micro SD Card, Micro SDHC card (high-speed card)
 The level conversion circuit board that can interface level is 5V or 3.3V
 Power supply is 4.5V ~ 5.5V, 3.3V voltage regulator circuit board
 Communication interface is a standard SPI interface
 4 M2 screw positioning holes for easy installation
 Control Interface: A total of six pins (GND, VCC, MISO, MOSI, SCK, CS), GND to ground, VCC is the power
supply, MISO, MOSI, SCK is the SPI bus, CS is the chip select signal pin;
 3.3V regulator circuit: LDO regulator output 3.3V as level converter chip, Micro SD card supply
 Level conversion circuit: Micro SD card into the direction of signals into 3.3V, MicroSD card toward the
direction of the control interface MISO signal is also converted to 3.3V, general AVR microcontroller
system can read the signal
 Micro SD card connector: yes since the bomb deck for easy card insertion and removal
 Positioning holes: 4 M2 screws positioning hole diameter of 2.2mm, the module is easy to install
positioning, to achieve inter-module combination
Mirco SD Card Interface Module :(the last picture show)
 -Control Interface : A total of six pins (GND, VCC, MISO, MOSI, SCK, CS), GND to ground , VCC is the
power supply , MISO, MOSI, SCK is SPI bus , CS is the chip select signal pin
 3.3V voltage regulator circuit : LDO regulator output is 3.3V level converter chip , Micro SD card supply
 Level conversion circuit : Micro SD card into the direction of the signal is converted to 3.3V, MicroSD card
interfaces to control the direction of the MISO signal is also converted into 3.3V, general AVR
microcontroller system can read the signal ;
 Micro SD card connector : a self- bomb deck , easy card insertion .
 Positioning holes : 4 M2 screws positioning hole diameter is 2.2mm, the positioning of the module is easy
to install , to achieve inter- module combination ;
LCD AND BACKPACK
This is another great LCD display compatible with I2C
bus and Gadgeteer modules. With limited pin resources,
your project will quicly run out of resources using normal
LCDs. With this I2C interface LCD module, you only need
2 lines (I2C)to display the information.If you already have
I2C devices in your project, this LCD module actually cost
no more resources at all. The adress can be set from
0x20-0x27.Fantastic for Arduino or gadgeteer based
projects.
Specifications LCD
•Supply voltage: 5V
•I2C Address:0x20-0x27(0x20 default)
•Back lit (Blue with white char color)
•Interface:I2C/TWI x1,Gadgeteer interface x2
•Adjustable contrast
•Size:82x35x18 mm
Specifications Bacpack PCF8574
• Compatible With Most Microcontrollers
• Low Standby-Current Consumption10 mA Max
• Latched Outputs With High-Current Drive
• I2C to Parallel-Port Expander Capability for Directly
Driving LEDs
• Open-Drain Interrupt Output
• Latch-Up Performance Exceeds 100 mA Per
JESD 78, Class II
RTC DS1302
A Real Time Clock Module with battery backup using the easy to
use DS1302 chip. The DS1302 chip uses a simple serial interface (see
datasheet) and example code is available for Arduino, Raspberry Pi
and many others.
 Features
 Real-Time Clock Counts Seconds, Minutes, Hours, Date of the
Month, Month, Day of the Week, and Year with Leap-Year
Compensation Valid Up to 2100
 Serial I/O for Minimum Pin Count
 2.0V to 5.5V Full Operation
 Uses Less than 300nA at 2.0V
 Single-Byte or Multiple-Byte (Burst Mode) Data Transfer for Read
or Write of Clock or RAM Data
 Board Size: 44mm x 24mm
Desain Project
LANGKAH MERANGKAI
 Siapkan alat dan bahan termasuk wadah misting
 Wadah misting lubangi untuk keperluan shield micro
sd dan arduino
 Buat jalur rangkaian pcb untuk pembagian tegangan
dan konektor pin arduino
 Rangkai seperti gambar
 Up load script data pada arduino.
SCRIPT ARDUINO#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <SD.h>
#include <DS1302.h>
File myFile;
LiquidCrystal_I2C lcd(0x27, 16,2);
float tempc;
float tempc1;
float tempc2;
float tempc3;
int tempin = 0;
int tempin1 = 1;
int tempin2= 2;
int tempin3 = 3;
int a=1;
int b;
DS1302 rtc(2, 3, 5);
void setup()
{
lcd.begin();
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.print("Initializing SD card...");
// On the Ethernet Shield, CS is pin 4. It's set as an output by default.
// Note that even if it's not used as the CS pin, the hardware SS pin
// (10 on most Arduino boards, 53 on the Mega) must be left as an output
// or the SD library functions will not work.
pinMode(10, OUTPUT);
if (!SD.begin(4)) {
Serial.println("initialization failed!");
return;
}
rtc.halt(false);
rtc.writeProtect(false);
}
void loop()
{
tempc= analogRead(tempin);
tempc= (5*tempc*100)/1024;
tempc1= analogRead(tempin1);
tempc1= (5*tempc1*100)/1024;
tempc2= analogRead(tempin2);
tempc2= (5*tempc2*100)/1024;
tempc3= analogRead(tempin3);
tempc3= (5*tempc3*100)/1024;
b=a++;
lcd.backlight();
lcd.setCursor(0,0);
lcd.print(b);
lcd.setCursor(3,0);
lcd.print(tempc,1);
lcd.setCursor(10,0);
lcd.print(tempc1,1);
lcd.setCursor(3,1);
lcd.print(tempc2,1);
lcd.setCursor(10,1);
lcd.print(tempc3,1);
Serial.println("initialization done.");
myFile = SD.open("T1A1.txt", FILE_WRITE);
if (myFile)
{
Serial.print("Writing to T1A1.txt...");
myFile.println(rtc.getDOWStr());
myFile.println(" ");
myFile.println(rtc.getDateStr());
myFile.println(" -- ");
myFile.println(rtc.getTimeStr());
myFile.println("T('C)= ");
myFile.println(tempc);
myFile.print("T1 ('C)= ");
myFile.println(tempc1);
myFile.print("T2 ('C)= ");
myFile.println(tempc2);
myFile.print("T3 ('C)= ");
myFile.println(tempc3);
myFile.println("---------------------------------------------------");
myFile.close();
Serial.println("done.");
}
else
{
Serial.println("error opening T1A1.txt");
}
myFile = SD.open("T1A1.txt");
if (myFile) {
Serial.println("T1A1.txt:");
while (myFile.available()) {
Serial.write(myFile.read());
}
myFile.close();
} else {
Serial.println("error opening T1A1.txt");
}
delay(5000);
}
LANGKAH PENGUJIAN DAN
DATA PENGUJIAN
Selama 2 jam pengukuran dengan waktu 1 menit
penyimpanan data yang tersimpan 21 kb sedangkan
memori 1.949.302kb.
1hari data=24jam/2jam=12x21kb=252kb/hari
1.949.302kb/252kb/hari=7.735hari
7.735/365=21 tahun
KESIMPULAN DAN SARAN
 Data temperature lm35 yang terbaca oleh arduino
harus di ubah ke ADC supaya bisa terukur suhunya
oleh arduino.
 Data yang tersimpan oleh shield micro sd berupa
txt(notepad)
 Backpack yang terpasang pada lcd berguna untuk
memperkecil pin pada lcd
Saran
Untuk mempermudah sambungan pin dan untuk
menempel dengan benar seharusnya dipasan terminal
untuk memperkuat sambungan

More Related Content

What's hot

Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
Zaka Jutt
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
Niket Chandrawanshi
 
Embedded System[586]
Embedded System[586]Embedded System[586]
Embedded System[586]
ajeet singh choudhary
 
Arduino uno
Arduino unoArduino uno
Arduino uno
creatjet3d labs
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
Felipe Belarmino
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
Dhruwank Vankawala
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
soma saikiran
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
Felipe Belarmino
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
AMIT SANPUI
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Jonathan Ruiz de Garibay
 
raushan
raushanraushan
Lcd with arduino uno
Lcd with arduino unoLcd with arduino uno
Lcd with arduino uno
Robomart India
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
Jawaher Abdulwahab Fadhil
 
Arduino and its hw architecture
Arduino and its hw architectureArduino and its hw architecture
Arduino and its hw architecture
Zeeshan Rafiq
 
Arduino and Internet of Thinks: ShareIT TM: march 2010, TM
Arduino and Internet of Thinks: ShareIT TM: march 2010, TMArduino and Internet of Thinks: ShareIT TM: march 2010, TM
Arduino and Internet of Thinks: ShareIT TM: march 2010, TM
Alexandru IOVANOVICI
 
Electronics Multisensor Shield
Electronics Multisensor ShieldElectronics Multisensor Shield
Electronics Multisensor Shield
Leopoldo Armesto
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
Green Moon Solutions
 

What's hot (17)

Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
Embedded System[586]
Embedded System[586]Embedded System[586]
Embedded System[586]
 
Arduino uno
Arduino unoArduino uno
Arduino uno
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
ARDUINO AND ITS PIN CONFIGURATION
 ARDUINO AND ITS PIN  CONFIGURATION ARDUINO AND ITS PIN  CONFIGURATION
ARDUINO AND ITS PIN CONFIGURATION
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
 
raushan
raushanraushan
raushan
 
Lcd with arduino uno
Lcd with arduino unoLcd with arduino uno
Lcd with arduino uno
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino and its hw architecture
Arduino and its hw architectureArduino and its hw architecture
Arduino and its hw architecture
 
Arduino and Internet of Thinks: ShareIT TM: march 2010, TM
Arduino and Internet of Thinks: ShareIT TM: march 2010, TMArduino and Internet of Thinks: ShareIT TM: march 2010, TM
Arduino and Internet of Thinks: ShareIT TM: march 2010, TM
 
Electronics Multisensor Shield
Electronics Multisensor ShieldElectronics Multisensor Shield
Electronics Multisensor Shield
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 

Viewers also liked

2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter
2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter
2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorterehstudies
 
Www 247manandvan com
Www 247manandvan comWww 247manandvan com
Www 247manandvan com
247 Man and Van
 
Evalution task 2
Evalution task 2Evalution task 2
Evalution task 2
GeorgeAtkinson
 
Importance of user friendly headers
Importance of user friendly headersImportance of user friendly headers
Importance of user friendly headers
SEO, SEM, Online Marketing
 
Net Present Value of Synergy Gains 2
Net Present Value of Synergy Gains 2Net Present Value of Synergy Gains 2
Net Present Value of Synergy Gains 2
Flavio Mota, THE Data Unicorn
 
It·互联网微博一周经典语录(2010.12.6—12.12)
It·互联网微博一周经典语录(2010.12.6—12.12)It·互联网微博一周经典语录(2010.12.6—12.12)
It·互联网微博一周经典语录(2010.12.6—12.12)cn140
 
Event sourcing your AngularJS applications
Event sourcing your AngularJS applicationsEvent sourcing your AngularJS applications
Event sourcing your AngularJS applications
nextbuild
 
Health care premium assistance
Health care premium assistanceHealth care premium assistance
Health care premium assistance
DerlandBahr
 

Viewers also liked (9)

2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter
2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter
2015.06.27 studiedag deel3-vaders_welbehagen_in_christus-d_gorter
 
IT Boss Iran
IT Boss IranIT Boss Iran
IT Boss Iran
 
Www 247manandvan com
Www 247manandvan comWww 247manandvan com
Www 247manandvan com
 
Evalution task 2
Evalution task 2Evalution task 2
Evalution task 2
 
Importance of user friendly headers
Importance of user friendly headersImportance of user friendly headers
Importance of user friendly headers
 
Net Present Value of Synergy Gains 2
Net Present Value of Synergy Gains 2Net Present Value of Synergy Gains 2
Net Present Value of Synergy Gains 2
 
It·互联网微博一周经典语录(2010.12.6—12.12)
It·互联网微博一周经典语录(2010.12.6—12.12)It·互联网微博一周经典语录(2010.12.6—12.12)
It·互联网微博一周经典语录(2010.12.6—12.12)
 
Event sourcing your AngularJS applications
Event sourcing your AngularJS applicationsEvent sourcing your AngularJS applications
Event sourcing your AngularJS applications
 
Health care premium assistance
Health care premium assistanceHealth care premium assistance
Health care premium assistance
 

Similar to Monitoring temperature ruangan dengan display lcd

Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd
mukhammadimam
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd
siti_haryani
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
Research Design Lab
 
Automatic irrigation system using Arduino
Automatic irrigation system using ArduinoAutomatic irrigation system using Arduino
Automatic irrigation system using Arduino
BalajiK109
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
srknec
 
Embedded &amp; pcb design
Embedded &amp; pcb designEmbedded &amp; pcb design
Embedded &amp; pcb design
Tanveer Behl
 
Any Surface Drum Kit
Any Surface Drum Kit Any Surface Drum Kit
Any Surface Drum Kit
ViVek Patel
 
Tft touch screen manufacturers
Tft touch screen manufacturersTft touch screen manufacturers
Tft touch screen manufacturers
KeatonParker2
 
Using Ready-for-PIC and SDR Libraries
Using Ready-for-PIC and SDR LibrariesUsing Ready-for-PIC and SDR Libraries
Using Ready-for-PIC and SDR Libraries
Corrado Santoro
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ajit kumar singh
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller
IJECEIAES
 
Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)
Aravind E Vijayan
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
Electric&elctronics&engineeering
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
Susmit Sircar
 
Thesis power theft detection ch 3
Thesis power theft detection ch 3Thesis power theft detection ch 3
Thesis power theft detection ch 3
Faraz Ahmed
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontroller
Somnath Sharma
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
Md. Nahidul Islam
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
HebaEng
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ajit kumar singh
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Abhishekvb
 

Similar to Monitoring temperature ruangan dengan display lcd (20)

Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
 
Automatic irrigation system using Arduino
Automatic irrigation system using ArduinoAutomatic irrigation system using Arduino
Automatic irrigation system using Arduino
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 
Embedded &amp; pcb design
Embedded &amp; pcb designEmbedded &amp; pcb design
Embedded &amp; pcb design
 
Any Surface Drum Kit
Any Surface Drum Kit Any Surface Drum Kit
Any Surface Drum Kit
 
Tft touch screen manufacturers
Tft touch screen manufacturersTft touch screen manufacturers
Tft touch screen manufacturers
 
Using Ready-for-PIC and SDR Libraries
Using Ready-for-PIC and SDR LibrariesUsing Ready-for-PIC and SDR Libraries
Using Ready-for-PIC and SDR Libraries
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller
 
Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)
 
Bidirect visitor counter
Bidirect visitor counterBidirect visitor counter
Bidirect visitor counter
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Thesis power theft detection ch 3
Thesis power theft detection ch 3Thesis power theft detection ch 3
Thesis power theft detection ch 3
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontroller
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 

Recently uploaded

How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 

Recently uploaded (20)

How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 

Monitoring temperature ruangan dengan display lcd

  • 1. MONITORING TEMPERATURE RUANGAN DENGAN DISPLAY LCD DAN RECORDING MOCH. REZKI SELAMET MOKH IMAM NUGROHO SITI HARYANI YUDA WARDIANA
  • 2. LATAR BELAKANG Dalam suatu pengukuran temperature kita biasanya menunggu guna memperoleh data tiap menit. Tetapi kadang kala kita selalu meniggalkan pengukuran karena ada kegiatan lain yang sama penting. Karna itu alat ini dibuat untuk menyimpan data temperature supaya data pengukuran tersimpan walaupun kita tinggalkan.
  • 3. TUJUAN  Dapat mengetahui suhu ruangan yang terukur  Dapat menyimpan data temperature  Dapat mengetahui perubahan suhu ruangan  Dapat menganalisis data yang tersimpan guna keperluaan akademik
  • 4. DESKRIPSI ALAT Alat ini mempunyai 4 buah sensor LM35 yang ditempatkan pada tiap sudut ruangan ditampilkan pada display LCD dan di record oleh arduino uno. Penyimpanan data dengan micro sd module shield dan di simpan oleh memori micro sd menit permenit temperaturenya. Data yang disimpan oleh micro sd module berbentuk .txt(notepad).
  • 5. Alat Dan Bahan  Arduino Uno
  • 6. LM 35 LM35 TEMPERATURE SENSOR IS ONE TYPE OF SENSOR THAT CONVERTS ELECTRICAL QUANTITIES TO THE TEMPERATURE SCALE IN THE FORM OF VOLTAGE. LM35 HAS 3 PIECES PIN LEGS, PIN TO INPUT POSITIVE VOLTAGE (+), PIN OUTPUT, INPUT PIN NEGATIVE VOLTAGE / GND (-).
  • 7.
  • 8. LM 35 HOW the LM 35 measure??? Can operate at a voltage of 4 volts to 30 volts. Each temperature of 1 degree Celsius will show a voltage of 10 mV. equation: Vout = 10 mV / 1ºC That is, if the read voltage Vout = 500 mV, then the temperature = 500mv / 10mV = 50ºC.
  • 9. 35 ºC Vout = 10 mV / 1ºC That is, if the read voltage Vout = 500 mV, then the temperature = 500mv / 10mV = 50ºC. EXAMPLE
  • 10. Arduino use sensor LM 35 Read the output of LM35 goes into analog pin, Read data already in the form of ADC conversion Converting ADC = Vout / Vref * 1023 So it's not in the form of voltage magnitude again If you want to know the LM35 output voltage using the formula above: Read voltage = Conversion ADC voltage reference * / 1024
  • 11. MICRO SD SHIELD The module (MicroSD Card Adapter) is a Micro SD card reader module, and the SPI interface via the file system driver, microcontroller system to complete the Micro SD card read and write files. Users can directly use the Arduino IDE comes with an SD card to complete the library card initialization and read-write
  • 12. Features:  Support Micro SD Card, Micro SDHC card (high-speed card)  The level conversion circuit board that can interface level is 5V or 3.3V  Power supply is 4.5V ~ 5.5V, 3.3V voltage regulator circuit board  Communication interface is a standard SPI interface  4 M2 screw positioning holes for easy installation  Control Interface: A total of six pins (GND, VCC, MISO, MOSI, SCK, CS), GND to ground, VCC is the power supply, MISO, MOSI, SCK is the SPI bus, CS is the chip select signal pin;  3.3V regulator circuit: LDO regulator output 3.3V as level converter chip, Micro SD card supply  Level conversion circuit: Micro SD card into the direction of signals into 3.3V, MicroSD card toward the direction of the control interface MISO signal is also converted to 3.3V, general AVR microcontroller system can read the signal  Micro SD card connector: yes since the bomb deck for easy card insertion and removal  Positioning holes: 4 M2 screws positioning hole diameter of 2.2mm, the module is easy to install positioning, to achieve inter-module combination Mirco SD Card Interface Module :(the last picture show)  -Control Interface : A total of six pins (GND, VCC, MISO, MOSI, SCK, CS), GND to ground , VCC is the power supply , MISO, MOSI, SCK is SPI bus , CS is the chip select signal pin  3.3V voltage regulator circuit : LDO regulator output is 3.3V level converter chip , Micro SD card supply  Level conversion circuit : Micro SD card into the direction of the signal is converted to 3.3V, MicroSD card interfaces to control the direction of the MISO signal is also converted into 3.3V, general AVR microcontroller system can read the signal ;  Micro SD card connector : a self- bomb deck , easy card insertion .  Positioning holes : 4 M2 screws positioning hole diameter is 2.2mm, the positioning of the module is easy to install , to achieve inter- module combination ;
  • 13. LCD AND BACKPACK This is another great LCD display compatible with I2C bus and Gadgeteer modules. With limited pin resources, your project will quicly run out of resources using normal LCDs. With this I2C interface LCD module, you only need 2 lines (I2C)to display the information.If you already have I2C devices in your project, this LCD module actually cost no more resources at all. The adress can be set from 0x20-0x27.Fantastic for Arduino or gadgeteer based projects.
  • 14. Specifications LCD •Supply voltage: 5V •I2C Address:0x20-0x27(0x20 default) •Back lit (Blue with white char color) •Interface:I2C/TWI x1,Gadgeteer interface x2 •Adjustable contrast •Size:82x35x18 mm Specifications Bacpack PCF8574 • Compatible With Most Microcontrollers • Low Standby-Current Consumption10 mA Max • Latched Outputs With High-Current Drive • I2C to Parallel-Port Expander Capability for Directly Driving LEDs • Open-Drain Interrupt Output • Latch-Up Performance Exceeds 100 mA Per JESD 78, Class II
  • 15. RTC DS1302 A Real Time Clock Module with battery backup using the easy to use DS1302 chip. The DS1302 chip uses a simple serial interface (see datasheet) and example code is available for Arduino, Raspberry Pi and many others.
  • 16.  Features  Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100  Serial I/O for Minimum Pin Count  2.0V to 5.5V Full Operation  Uses Less than 300nA at 2.0V  Single-Byte or Multiple-Byte (Burst Mode) Data Transfer for Read or Write of Clock or RAM Data  Board Size: 44mm x 24mm
  • 18. LANGKAH MERANGKAI  Siapkan alat dan bahan termasuk wadah misting  Wadah misting lubangi untuk keperluan shield micro sd dan arduino  Buat jalur rangkaian pcb untuk pembagian tegangan dan konektor pin arduino  Rangkai seperti gambar  Up load script data pada arduino.
  • 19. SCRIPT ARDUINO#include <Wire.h> #include <LiquidCrystal_I2C.h> #include <SD.h> #include <DS1302.h> File myFile; LiquidCrystal_I2C lcd(0x27, 16,2); float tempc; float tempc1; float tempc2; float tempc3; int tempin = 0; int tempin1 = 1; int tempin2= 2; int tempin3 = 3; int a=1; int b; DS1302 rtc(2, 3, 5);
  • 20. void setup() { lcd.begin(); Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } Serial.print("Initializing SD card..."); // On the Ethernet Shield, CS is pin 4. It's set as an output by default. // Note that even if it's not used as the CS pin, the hardware SS pin // (10 on most Arduino boards, 53 on the Mega) must be left as an output // or the SD library functions will not work. pinMode(10, OUTPUT); if (!SD.begin(4)) { Serial.println("initialization failed!"); return; } rtc.halt(false); rtc.writeProtect(false); }
  • 21. void loop() { tempc= analogRead(tempin); tempc= (5*tempc*100)/1024; tempc1= analogRead(tempin1); tempc1= (5*tempc1*100)/1024; tempc2= analogRead(tempin2); tempc2= (5*tempc2*100)/1024; tempc3= analogRead(tempin3); tempc3= (5*tempc3*100)/1024; b=a++; lcd.backlight(); lcd.setCursor(0,0); lcd.print(b);
  • 23. myFile.println(rtc.getDOWStr()); myFile.println(" "); myFile.println(rtc.getDateStr()); myFile.println(" -- "); myFile.println(rtc.getTimeStr()); myFile.println("T('C)= "); myFile.println(tempc); myFile.print("T1 ('C)= "); myFile.println(tempc1); myFile.print("T2 ('C)= "); myFile.println(tempc2); myFile.print("T3 ('C)= "); myFile.println(tempc3); myFile.println("---------------------------------------------------"); myFile.close(); Serial.println("done."); }
  • 24. else { Serial.println("error opening T1A1.txt"); } myFile = SD.open("T1A1.txt"); if (myFile) { Serial.println("T1A1.txt:"); while (myFile.available()) { Serial.write(myFile.read()); } myFile.close(); } else { Serial.println("error opening T1A1.txt"); } delay(5000); }
  • 25. LANGKAH PENGUJIAN DAN DATA PENGUJIAN Selama 2 jam pengukuran dengan waktu 1 menit penyimpanan data yang tersimpan 21 kb sedangkan memori 1.949.302kb. 1hari data=24jam/2jam=12x21kb=252kb/hari 1.949.302kb/252kb/hari=7.735hari 7.735/365=21 tahun
  • 26. KESIMPULAN DAN SARAN  Data temperature lm35 yang terbaca oleh arduino harus di ubah ke ADC supaya bisa terukur suhunya oleh arduino.  Data yang tersimpan oleh shield micro sd berupa txt(notepad)  Backpack yang terpasang pada lcd berguna untuk memperkecil pin pada lcd Saran Untuk mempermudah sambungan pin dan untuk menempel dengan benar seharusnya dipasan terminal untuk memperkuat sambungan