Professional Documents
Culture Documents
Modul2 - Dede Abdul Rohman - 3c-Ek
Modul2 - Dede Abdul Rohman - 3c-Ek
PRACTICUM REPORT
Class : 3C – Elektronika
Experiment Number :2
3. TASK
a. Building a suite of three sensors (LDR, LM35, DHT11), and data acquisition
from The sensor and display it on the hyperterminal under the following
conditions:
- If the sensor used is an analog sensor, use analog input pins. If
Sensors used digital sensors, use digital pins.
- To each sensor add the following words:
• Data Sensor LDR :xxxx
• Data sensor LM35 :yyyy
• Data sensor DHT11 :zzzz
Note: The values of 'xxxx', 'yyyy' and 'zzzz' are the result of data
acquisition sensor.
Answer:
Sensor LDR =>> Analog 0
Sensor LM35 =>> Analog 1
Sensor DHT11=>> Digital 2
In figure 3.1 the three sensors namely LDR, LM35 and Paired with Arduino
according to the above, these three sensors send data to Arduino and displayed on
the virtual terminal, Arduino also sends the data through COMPIM and will be
displayed on Hyperterminal.
In figure 3.2 it is the program for the circuit contained in figure 3.1
In the picture below from 3.3 – 3.5 is the result of the temperature control
system, in figure 3.3 when the temperature is below 25 ° C then HEATER ON
&; FAN OFF, in figure 3.4 when the temperature is between 25 ° C and 80 ° C
then HEATER OFF &; FAN OFF, in figure 3.5 when the temperature is above
80 ° C then HEATER OFF &; FAN ON.
From all the provisions above, all data is sent from analog 0 from the LM35
reading, then Arduino sends via COMPIM and will be read on the
hyperterminal.
Figure 4. 1 Simulation-1
Figure 4. 2 Simulation-2
Figure 4. 3 Simulation-3
Figure 4. 4 Simulation-4
Figure 4. 5 Program1.1
Figure 4. 6 Program1.2
Note:
All the data on the sensors that are read will be sent to the Arduino and the
Arduino and displayed on the virtual terminal, the data from the Arduino is also
sent to the hyperterminal via VSPE by pairing the COM on COMPIM and the COM
on the Hyperterminal, so the Hyperterminal can also see the data contained in
Arduino
5. ANALYSIS
In this serial communication practicum, you must pay attention to the
configuration of the COM used, the wiring used and the program. To configure the
COM, adjust it to what is on the job sheet. If there is an error in this then the next step
is an error. For the COM configuration, it includes COMPIM. and Hyperterminal, then
to connect using an external application, namely VSPE. The VSPE is for the pairing
used between COMPIM and Hyperterminal.
In terms of wiring, don't reverse the rx and tx because if it's wrong then the data
won't be sent to Hyperterminal, and lastly, in the program, don't get the syntax or coding
wrong because if it's wrong then it won't run.
6. CONCLUTION
• Arduino on proteus can perform serial communication using VSPE, COMPIM
and Hyperterminal applications
• To perform serial communication on Proteus, the configuration of each COM
must be considered and must be filled in correctly
• Make sure the COM used is correct and there are no errors on the computer so
that the simulation runs smoothly