SlideShare a Scribd company logo
1 of 24
SMART LAMP WITH A GSM MODULE SIM 800 L
By :
Arisa Tri Rahayu/151611005
Farid Giffari Akbar/151611010
Ricky Jordan Antono/151611024
Cllas : 2A
PRODI D3-TEKNIK PENDINGIN DAN TATA UDARA
JURUSAN TEKNIK REFRIGERASI DAN TATA UDARA
POLITEKNIK NEGERI BANDUNG
• Supervisor :
• Drs. Ismail Wellid, MT
• Muhammad Arman ST., S.Psi., M.Eng
• Ary Surjanto, ST., MT
C. Bambang Dwi Kuncoro, ST.,MT
Purpose
1. Can plan a project that will be created with a theme that
commanded namely Green House
2. Can search for suitable reference sources as the main capital
Able to operate program Arduino
3. Diagnosing can no longer operate the system
4. Can Adapt and modify the project with advanced technology.
•
Background
COMPONENTS USED
a. 1. LM2596 DC-DC Step Down Voltage Regulator
 Operating Temperature: standard
 Dissipation Power: 93%
 Type: Voltage Regulator
 Supply Voltage: 4-40V
 Model Number: DC-DC Step Down Adjustable Power Supply Module
 Item: DC-DC Step Down Adjustable Power Supply Module With LED Voltmeter
 Input voltage range: 4-40VDC
 Output voltage range: 1.25-37DC adjustable
 Output current: 2A
 Voltmeter range: 0 to 40V,error +-0.1V
 Size: 6.1 x 3.4 x12cm(approx.)
• 2. Module Relay Standard
• Load maximum : AC 250 V/10A, DC 30 V/10A
• Current : 5mA
• Voltage: 5 V
• meassurement modul : 50x26x18.5mm (L x W x H)
• empapemasangan baut, diameter 3.1mm
• DC +: positif power supply (VCC)
• DC-: catu daya negatif (GND)
• DALAM: bisa tinggi atau rendah tingkat kontrol relay
• NO: antarmuka estafet biasanya terbuka
• COM: Common Interface Relay
• NC: antarmuka estafet biasanya tertutup
• aeProduct.getSubject()
• itu adalah tingkat rendah memicu ketika jumper terhubung ke RENDAH pin
• ini adalah tingkat tinggi memicu ketika jumper terhubung ke TINGGI pin
• aeProduct.getSubject()
• 1 Pcs 5 V 1 Channel Relay Modul tingkat Rendah
• aeProduct.getSubject()
• aeProduct.getSubject()
• aeProduct.getSubject()
A light-emitting diode (LED) is a two lead semiconductor
light source. It is p-n junction diode, which emits light
when activated.
3. Resistor 1K
A resistor is a passive two-terminal electrical
component that implements electrical resistance
as a circuit element.
4. LED
5. ARDUINO UNO
Processor: ATmega328 (8-bit CPU, 16MHz clock
speed, 2KB SRAM, 32KB flash storage)
Features: 14 digital I/O pins, 6 analog input
pins, removable microcontroller
Form Factor: 2.7” x 2.1” rectangle
6. SIM800L GPRS
7. PCB
A printed circuit board (PCB) mechanically
supports and electrically conects electronic
components using conductive track, pads and
other features etched from copper sheets
laminated onto a non-conductive subsrate.
8. Male-Female Cable
In electrical and mechanical trades and
manufacturing, each half of a pair of mating
connectors or fasteners is conventionally assigned
the designation male or female. The “Female”
connector is generally a receptacle that receives
and holds the “male” connector
An electrical light is a device that produces
visible light bye the flow of electrical current.
9. Lampu bohlam
• 10. Sensor LDR
LDR sensor module is used to detect the intensity of light. It is
associated with both analog output pin and digital output pin
labelled as OA and DO respectively on the board.
Specification:
- Input Voltage : DC 3.3V to 5 V
- Output : Analog and Digital
- Sensitivity adjustable
WIRRING
SKETCH PROGRAM ARDUINO
• #include <gprs.h>
• #include <sim800.h>
•
• #include <gprs.h>
• #include <softwareserial.h>
•
• #define TIMEOUT 500
• #define LED_PIN 13
• #define ON 1
• #define OFF 0
• const int MERAH = 5;
•
• int LDR= A2; // membuat variabel LDR untuk pin A2
• int LED= 13; // membuat variabel LED untuk pin 13
• int nilaiLDR= 0; // variabel nilai awal untuk nilaiLDR
•
• int StatusMerah;
•
• GPRS gprs;
• void setup() {
• pinMode (MERAH , OUTPUT);
•
• pinMode (LED_PIN, OUTPUT);
• Serial.begin(9600);
• while(!Serial);
•
• Serial.println("Starting SIM800 Auto Read SMS");
• gprs.preInit();
• delay(1000);
•
• while(0 != gprs.init()) {
• delay(100);
• Serial.print("init errorrn");
• pinMode(LED, OUTPUT); // menentukan LED menjadi OUTPUT
• Serial.begin(9600); // komunikasi Arduino ke Komputer
• delay(100);
• }
• //Set SMS mode to ASCII
• if(0 != gprs.sendCmdAndWaitForResp("AT+CMGF=1rn", "OK", TIMEOUT)) {
• ERROR("ERROR:CNMI");
• return;
• }
•
• //Start listening to New SMS Message Indications
• if(0 != gprs.sendCmdAndWaitForResp("AT+CNMI=1,2,0,0,0rn", "OK", TIMEOUT)) {
• ERROR("ERROR:CNMI");
• return;
• }
•
• Serial.println("Init success");
• }
•
• //Variable to hold last line of serial output from SIM800
• char currentLine[500] = "";
• int currentLineIndex = 0;
•
• //Boolean to be set to true if message notificaion was found and next
• //line of serial output is the actual SMS message content
• bool nextLineIsMessage = false;
•
• void loop() {
• //Write current status to LED pin
• digitalWrite(MERAH, StatusMerah);
• digitalWrite(BIRU, StatusBIRU);
•
• //If there is serial output from SIM800
• if(gprs.serialSIM800.available()){
• char lastCharRead = gprs.serialSIM800.read();
• //Read each character from serial output until r or n is reached (which denotes end of line)
• if(lastCharRead == 'r' || lastCharRead == 'n'){
• String lastLine = String(currentLine);
• //If last line read +CMT, New SMS Message Indications was received.
• //Hence, next line is the message content.
• if(lastLine.startsWith("+CMT:")){
•
• Serial.println(lastLine);
• nextLineIsMessage = true;
•
• } else if (lastLine.length() > 0) {
•
• if(nextLineIsMessage) {
• Serial.println(lastLine);
•
•
• // ########## MEMBACA KONTEN SMS DAN MENCARI+MENGARTIKAN KONTEN SMS KE PROGRAM #########
• //Kendali LED MERAH
• if(lastLine.indexOf("LAMPU ON") >= 0){
• StatusMerah = 1;
• Serial.println(LAMPU DINYALAKAN");}
• else if(lastLine.indexOf("LAMPU OFF") >= 0) {
• StatusMerah = 0;
• Serial.println("LAMPU DIMATIKAN");}
•
• nextLineIsMessage = false;
• }
•
• }
•
• //Clear char array for next line of read
• for( int i = 0; i < sizeof(currentLine); ++i ) {
• currentLine[i] = (char)0;
• }
• currentLineIndex = 0;
• } else {
• currentLine[currentLineIndex++] = lastCharRead;
• }
• }
• nilaiLDR= analogRead(LDR); // menyimpan nilai yang dibaca dari LDR ke variabel nilaiLDR
• Serial.print("NilaiLDR= "); // menampilkan teks nilaiLDR=
• Serial.println(nilaiLDR); // menampilkan nilai dari nilaiLDR
• if(nilaiLDR <2) { // jika nilai dari LDR kurang dari 500
• digitalWrite(LED, LOW);
•
• delay(100);
• }
• else { // jika tidak
• digitalWrite(LED, HIGH);
•
• delay(100);
• }
•
• }
Data analysis
(when the less light the lights on)
Data analysis
(When the lights go out enough light)
DESIGN
Conclusion
• The use or application of arduino very much, one of them in the
establishment of this intrumentasi project. As for some of the
points that we can take.
•
1. LDR is an electronic component that can read light. This
component is needed in this project, to know less or
insufficient lighting on the plant.
2. SIM 800L is a modification to this project. Which of these
components that will send commands and information or as a
medium for information concerning lacking or insufficient
lighting. In the component too, we may order the lights to be
turned on.
3. In the overall series, if the lighting is less then the lights will be
turned on, and if the lighting is sufficient then the lights will be
turned off.
Sumber:
•
• http://anislinuwih.blogspot.co.id/2013/11/macam-macam-resistor-dan-fungsinya.html
• https://diyhacking.com/arduino-ldr-sensor/
• http://belajararduino.com/kendali-lampu-ac-menggunakan-relay-220-v-arduino/
• http://belajararduino.com/2016/06/sim800l-control-relay-4-channel-with.html?m1
• https://www.arduino.cc/en/Guide/ArduinoGSMShield
• https://sismik.stei.itb.ac.id/2016/05/24/green-house-system/
• http://arduinoach.blogspot.co.id/2016/01/remote-control-via-gprs-gsm-sms-arduino.html
• http://www.google.com/url?q=http://agroteknologi.web.id/faktor-faktor-yang-menyebabkan-tanaman-gagal-
berbuah/&sa=U&ved=0ahUKEwiWpcuVspjRAhWDto8KHTgECt0QFgggMAI&usg=AFQjCNH4jkzAVInimhOS4rNY-k9l1dL7Ig
• http://agroteknologi.web.id/faktor-faktor-yang-menyebabkan-tanaman-gagal-berbuah/
• http://agroteknologi.web.id/faktor-faktor-yang-menyebabkan-tanaman-gagal-berbuah/
• http://www.ebay.com/itm/1pc-Light-Dependent-Resistor-LDR-Photoresistor-Sensor-Module-for-Arduino-TW-/141691049267
• http://en.m.wikipedia.org/wiki/Gender_of_connector _and_fasteners
• http://www.instructabled.com /id/LDR-Sensor Module-Users-Manual-V10/
•
•

More Related Content

What's hot

Uart VHDL RTL design tutorial
Uart VHDL RTL design tutorialUart VHDL RTL design tutorial
Uart VHDL RTL design tutorialNabil Chouba
 
Interrupts at AVR
Interrupts at AVRInterrupts at AVR
Interrupts at AVRHamdy Fouad
 
AVR programming - BASICS
AVR programming - BASICSAVR programming - BASICS
AVR programming - BASICSRobotix 2011
 
Assembly programming
Assembly programmingAssembly programming
Assembly programmingOmar Sanchez
 
Block diagram of msp430x5xx
Block diagram of msp430x5xxBlock diagram of msp430x5xx
Block diagram of msp430x5xxRAMYASREEKUPPALA
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseFastBit Embedded Brain Academy
 
Stm32 f103ve Datasheet
Stm32 f103ve DatasheetStm32 f103ve Datasheet
Stm32 f103ve DatasheetRoberto Navoni
 
ARM AAE - Intrustion Sets
ARM AAE - Intrustion SetsARM AAE - Intrustion Sets
ARM AAE - Intrustion SetsAnh Dung NGUYEN
 
Part-2: Mastering microcontroller with embedded driver development
Part-2: Mastering microcontroller with embedded driver developmentPart-2: Mastering microcontroller with embedded driver development
Part-2: Mastering microcontroller with embedded driver developmentFastBit Embedded Brain Academy
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051guest70d48b1
 
Relay and AVR Atmel Atmega 16
Relay and AVR Atmel Atmega 16Relay and AVR Atmel Atmega 16
Relay and AVR Atmel Atmega 16Robo India
 
Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012cairo university
 

What's hot (20)

Uart VHDL RTL design tutorial
Uart VHDL RTL design tutorialUart VHDL RTL design tutorial
Uart VHDL RTL design tutorial
 
Interrupts at AVR
Interrupts at AVRInterrupts at AVR
Interrupts at AVR
 
Assembler4
Assembler4Assembler4
Assembler4
 
Uart
UartUart
Uart
 
AVR programming - BASICS
AVR programming - BASICSAVR programming - BASICS
AVR programming - BASICS
 
Assembly programming
Assembly programmingAssembly programming
Assembly programming
 
Block diagram of msp430x5xx
Block diagram of msp430x5xxBlock diagram of msp430x5xx
Block diagram of msp430x5xx
 
8051 ram org
8051 ram org8051 ram org
8051 ram org
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 Course
 
Stm32 f103ve Datasheet
Stm32 f103ve DatasheetStm32 f103ve Datasheet
Stm32 f103ve Datasheet
 
ARM AAE - Intrustion Sets
ARM AAE - Intrustion SetsARM AAE - Intrustion Sets
ARM AAE - Intrustion Sets
 
UART
UART UART
UART
 
Part-2: Mastering microcontroller with embedded driver development
Part-2: Mastering microcontroller with embedded driver developmentPart-2: Mastering microcontroller with embedded driver development
Part-2: Mastering microcontroller with embedded driver development
 
2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg 2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg
 
Intel Quark HSUART
Intel Quark HSUARTIntel Quark HSUART
Intel Quark HSUART
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Relay and AVR Atmel Atmega 16
Relay and AVR Atmel Atmega 16Relay and AVR Atmel Atmega 16
Relay and AVR Atmel Atmega 16
 
Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012Lecture 5 (system clock crossbar and gpio) rv012
Lecture 5 (system clock crossbar and gpio) rv012
 

Viewers also liked

Généralités sur les périphériques du STM32
Généralités sur les périphériques du STM32Généralités sur les périphériques du STM32
Généralités sur les périphériques du STM32Hajer Dahech
 
e-call ppt
e-call ppte-call ppt
e-call ppt958123
 
eCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS France
eCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS FranceeCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS France
eCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS FranceAntoine Trarieux
 
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATURE
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATUREARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATURE
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATUREHajer Dahech
 
Projet gps
Projet gpsProjet gps
Projet gpsherv4619
 

Viewers also liked (6)

Généralités sur les périphériques du STM32
Généralités sur les périphériques du STM32Généralités sur les périphériques du STM32
Généralités sur les périphériques du STM32
 
e-call ppt
e-call ppte-call ppt
e-call ppt
 
eCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS France
eCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS FranceeCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS France
eCall 2017 IMA solution d'interopérabilité Congrès ATEC ITS France
 
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATURE
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATUREARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATURE
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATURE
 
Projet gps
Projet gpsProjet gps
Projet gps
 
Accelerometer
Accelerometer Accelerometer
Accelerometer
 

Similar to Smart lamp with gsm modul sim800 l

Arduino Foundations
Arduino FoundationsArduino Foundations
Arduino FoundationsJohn Breslin
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingYuda Wardiana
 
Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.imtiyazEEE
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptxshivagoud45
 
Magnetic door lock using arduino
Magnetic door lock using arduinoMagnetic door lock using arduino
Magnetic door lock using arduinoSravanthi Sinha
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdmukhammadimam
 
Monitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMonitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMR Selamet
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMR Selamet
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdsiti_haryani
 
Arduino windows remote control
Arduino windows remote controlArduino windows remote control
Arduino windows remote controlVilayatAli5
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counterMafaz Ahmed
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2srknec
 

Similar to Smart lamp with gsm modul sim800 l (20)

Parth xyz
Parth xyzParth xyz
Parth xyz
 
Spark
SparkSpark
Spark
 
Arduino Foundations
Arduino FoundationsArduino Foundations
Arduino Foundations
 
Design and Implementation of smart office management system
Design and Implementation of smart office management systemDesign and Implementation of smart office management system
Design and Implementation of smart office management system
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recording
 
Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.Development of a Low Cost, Reliable & Scalable Home Automation System.
Development of a Low Cost, Reliable & Scalable Home Automation System.
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Magnetic door lock using arduino
Magnetic door lock using arduinoMagnetic door lock using arduino
Magnetic door lock using arduino
 
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 Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data RecordingMonitoring Temperature Room With Display LCD and Data Recording
Monitoring Temperature Room With Display LCD and Data Recording
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recording
 
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcdMonitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd
 
Arduino windows remote control
Arduino windows remote controlArduino windows remote control
Arduino windows remote control
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Badal sharma
Badal sharmaBadal sharma
Badal sharma
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counter
 
Arduino programming
Arduino programmingArduino programming
Arduino programming
 
EESS.pptx
EESS.pptxEESS.pptx
EESS.pptx
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 

Recently uploaded

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Recently uploaded (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

Smart lamp with gsm modul sim800 l

  • 1. SMART LAMP WITH A GSM MODULE SIM 800 L By : Arisa Tri Rahayu/151611005 Farid Giffari Akbar/151611010 Ricky Jordan Antono/151611024 Cllas : 2A PRODI D3-TEKNIK PENDINGIN DAN TATA UDARA JURUSAN TEKNIK REFRIGERASI DAN TATA UDARA POLITEKNIK NEGERI BANDUNG
  • 2. • Supervisor : • Drs. Ismail Wellid, MT • Muhammad Arman ST., S.Psi., M.Eng • Ary Surjanto, ST., MT C. Bambang Dwi Kuncoro, ST.,MT
  • 3. Purpose 1. Can plan a project that will be created with a theme that commanded namely Green House 2. Can search for suitable reference sources as the main capital Able to operate program Arduino 3. Diagnosing can no longer operate the system 4. Can Adapt and modify the project with advanced technology. •
  • 5. COMPONENTS USED a. 1. LM2596 DC-DC Step Down Voltage Regulator  Operating Temperature: standard  Dissipation Power: 93%  Type: Voltage Regulator  Supply Voltage: 4-40V  Model Number: DC-DC Step Down Adjustable Power Supply Module  Item: DC-DC Step Down Adjustable Power Supply Module With LED Voltmeter  Input voltage range: 4-40VDC  Output voltage range: 1.25-37DC adjustable  Output current: 2A  Voltmeter range: 0 to 40V,error +-0.1V  Size: 6.1 x 3.4 x12cm(approx.)
  • 6. • 2. Module Relay Standard • Load maximum : AC 250 V/10A, DC 30 V/10A • Current : 5mA • Voltage: 5 V • meassurement modul : 50x26x18.5mm (L x W x H) • empapemasangan baut, diameter 3.1mm • DC +: positif power supply (VCC) • DC-: catu daya negatif (GND) • DALAM: bisa tinggi atau rendah tingkat kontrol relay • NO: antarmuka estafet biasanya terbuka • COM: Common Interface Relay • NC: antarmuka estafet biasanya tertutup • aeProduct.getSubject() • itu adalah tingkat rendah memicu ketika jumper terhubung ke RENDAH pin • ini adalah tingkat tinggi memicu ketika jumper terhubung ke TINGGI pin • aeProduct.getSubject() • 1 Pcs 5 V 1 Channel Relay Modul tingkat Rendah • aeProduct.getSubject() • aeProduct.getSubject() • aeProduct.getSubject()
  • 7. A light-emitting diode (LED) is a two lead semiconductor light source. It is p-n junction diode, which emits light when activated. 3. Resistor 1K A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. 4. LED
  • 8. 5. ARDUINO UNO Processor: ATmega328 (8-bit CPU, 16MHz clock speed, 2KB SRAM, 32KB flash storage) Features: 14 digital I/O pins, 6 analog input pins, removable microcontroller Form Factor: 2.7” x 2.1” rectangle
  • 10. 7. PCB A printed circuit board (PCB) mechanically supports and electrically conects electronic components using conductive track, pads and other features etched from copper sheets laminated onto a non-conductive subsrate. 8. Male-Female Cable In electrical and mechanical trades and manufacturing, each half of a pair of mating connectors or fasteners is conventionally assigned the designation male or female. The “Female” connector is generally a receptacle that receives and holds the “male” connector
  • 11. An electrical light is a device that produces visible light bye the flow of electrical current. 9. Lampu bohlam • 10. Sensor LDR LDR sensor module is used to detect the intensity of light. It is associated with both analog output pin and digital output pin labelled as OA and DO respectively on the board. Specification: - Input Voltage : DC 3.3V to 5 V - Output : Analog and Digital - Sensitivity adjustable
  • 13.
  • 14. SKETCH PROGRAM ARDUINO • #include <gprs.h> • #include <sim800.h> • • #include <gprs.h> • #include <softwareserial.h> • • #define TIMEOUT 500 • #define LED_PIN 13 • #define ON 1 • #define OFF 0 • const int MERAH = 5; • • int LDR= A2; // membuat variabel LDR untuk pin A2 • int LED= 13; // membuat variabel LED untuk pin 13 • int nilaiLDR= 0; // variabel nilai awal untuk nilaiLDR • • int StatusMerah; • • GPRS gprs;
  • 15. • void setup() { • pinMode (MERAH , OUTPUT); • • pinMode (LED_PIN, OUTPUT); • Serial.begin(9600); • while(!Serial); • • Serial.println("Starting SIM800 Auto Read SMS"); • gprs.preInit(); • delay(1000); • • while(0 != gprs.init()) { • delay(100); • Serial.print("init errorrn"); • pinMode(LED, OUTPUT); // menentukan LED menjadi OUTPUT • Serial.begin(9600); // komunikasi Arduino ke Komputer • delay(100); • }
  • 16. • //Set SMS mode to ASCII • if(0 != gprs.sendCmdAndWaitForResp("AT+CMGF=1rn", "OK", TIMEOUT)) { • ERROR("ERROR:CNMI"); • return; • } • • //Start listening to New SMS Message Indications • if(0 != gprs.sendCmdAndWaitForResp("AT+CNMI=1,2,0,0,0rn", "OK", TIMEOUT)) { • ERROR("ERROR:CNMI"); • return; • } • • Serial.println("Init success"); • } • • //Variable to hold last line of serial output from SIM800 • char currentLine[500] = ""; • int currentLineIndex = 0; •
  • 17. • //Boolean to be set to true if message notificaion was found and next • //line of serial output is the actual SMS message content • bool nextLineIsMessage = false; • • void loop() { • //Write current status to LED pin • digitalWrite(MERAH, StatusMerah); • digitalWrite(BIRU, StatusBIRU); • • //If there is serial output from SIM800 • if(gprs.serialSIM800.available()){ • char lastCharRead = gprs.serialSIM800.read(); • //Read each character from serial output until r or n is reached (which denotes end of line) • if(lastCharRead == 'r' || lastCharRead == 'n'){ • String lastLine = String(currentLine);
  • 18. • //If last line read +CMT, New SMS Message Indications was received. • //Hence, next line is the message content. • if(lastLine.startsWith("+CMT:")){ • • Serial.println(lastLine); • nextLineIsMessage = true; • • } else if (lastLine.length() > 0) { • • if(nextLineIsMessage) { • Serial.println(lastLine); • • • // ########## MEMBACA KONTEN SMS DAN MENCARI+MENGARTIKAN KONTEN SMS KE PROGRAM ######### • //Kendali LED MERAH • if(lastLine.indexOf("LAMPU ON") >= 0){ • StatusMerah = 1; • Serial.println(LAMPU DINYALAKAN");} • else if(lastLine.indexOf("LAMPU OFF") >= 0) { • StatusMerah = 0; • Serial.println("LAMPU DIMATIKAN");} • • nextLineIsMessage = false; • } • • } •
  • 19. • //Clear char array for next line of read • for( int i = 0; i < sizeof(currentLine); ++i ) { • currentLine[i] = (char)0; • } • currentLineIndex = 0; • } else { • currentLine[currentLineIndex++] = lastCharRead; • } • } • nilaiLDR= analogRead(LDR); // menyimpan nilai yang dibaca dari LDR ke variabel nilaiLDR • Serial.print("NilaiLDR= "); // menampilkan teks nilaiLDR= • Serial.println(nilaiLDR); // menampilkan nilai dari nilaiLDR • if(nilaiLDR <2) { // jika nilai dari LDR kurang dari 500 • digitalWrite(LED, LOW); • • delay(100); • } • else { // jika tidak • digitalWrite(LED, HIGH); • • delay(100); • } • • }
  • 20. Data analysis (when the less light the lights on)
  • 21. Data analysis (When the lights go out enough light)
  • 23. Conclusion • The use or application of arduino very much, one of them in the establishment of this intrumentasi project. As for some of the points that we can take. • 1. LDR is an electronic component that can read light. This component is needed in this project, to know less or insufficient lighting on the plant. 2. SIM 800L is a modification to this project. Which of these components that will send commands and information or as a medium for information concerning lacking or insufficient lighting. In the component too, we may order the lights to be turned on. 3. In the overall series, if the lighting is less then the lights will be turned on, and if the lighting is sufficient then the lights will be turned off.
  • 24. Sumber: • • http://anislinuwih.blogspot.co.id/2013/11/macam-macam-resistor-dan-fungsinya.html • https://diyhacking.com/arduino-ldr-sensor/ • http://belajararduino.com/kendali-lampu-ac-menggunakan-relay-220-v-arduino/ • http://belajararduino.com/2016/06/sim800l-control-relay-4-channel-with.html?m1 • https://www.arduino.cc/en/Guide/ArduinoGSMShield • https://sismik.stei.itb.ac.id/2016/05/24/green-house-system/ • http://arduinoach.blogspot.co.id/2016/01/remote-control-via-gprs-gsm-sms-arduino.html • http://www.google.com/url?q=http://agroteknologi.web.id/faktor-faktor-yang-menyebabkan-tanaman-gagal- berbuah/&sa=U&ved=0ahUKEwiWpcuVspjRAhWDto8KHTgECt0QFgggMAI&usg=AFQjCNH4jkzAVInimhOS4rNY-k9l1dL7Ig • http://agroteknologi.web.id/faktor-faktor-yang-menyebabkan-tanaman-gagal-berbuah/ • http://agroteknologi.web.id/faktor-faktor-yang-menyebabkan-tanaman-gagal-berbuah/ • http://www.ebay.com/itm/1pc-Light-Dependent-Resistor-LDR-Photoresistor-Sensor-Module-for-Arduino-TW-/141691049267 • http://en.m.wikipedia.org/wiki/Gender_of_connector _and_fasteners • http://www.instructabled.com /id/LDR-Sensor Module-Users-Manual-V10/ • •