Académique Documents
Professionnel Documents
Culture Documents
c. LabVIEW
LabVIEW (short for Laboratory Virtual
Instrumentation Engineering Workbench) is a
platform and development environment for the
visual programming language of National
Instruments. The graphic language is named "G".
Initially released for Apple Macintosh in 1986,
LabVIEW is usually used for data acquisition,
instrument control, and industrial automation on
various platforms including Microsoft Windows, 4. ANALISYS
various flavors of UNIX, Linux, and Mac OS X In this experiment make a system where the LED will
get brighter when the duty cycle gets higher, so that
between the led and photodiode are the opposite. The
experiment was carried out by first assembling the
required components on the breadboard, then connected
with Arduino. As explained in the methodology, the
photodiode sensor is connected with analog in A0 and 5V
input. because the sensor is the input of this instrument,
and the signal is an analog signal, it reads the brightest of
the sensors. Then the LED foot is connected to the
ground, the other leg is connected to the resistor
connected to the digital PWM. Digital PWM manipulates
digital output in such a way as analog output. One of the
advantages of Arduino is that it can send high and low to
activate or deactivate something, so that with this PWM
it can make the state of life and death smoother. And
because the life and death of the LED occurs because it
depends on the intensity received by the photodiode
sensor.
Then after the circuit in the breadboard is finished,
then continue by making the source code in the LabVIEW
diagram block. First connect Arduino with LabVIEW. To
3. METHODOLOGY connect Arduino, NI-Visa is required to open serial
In this experiment using the following tools and communication on LabVIEW, so after that it can be
materials: chosen which port is used to connect the Arduino. The
program code is made almost similar to the Arduino
- Program LabVIEW circuit, adding an analog read channel that is adapted to
- Arduino Uno Arduino which is on channel 1 where the input is from
the photodiode sensor. The input from the photodiode is
- Resistor 220 Ω divided by 5, the result of the distribution is reduced 1.
- LED The results of the operation are given an absolute sign so
the results obtained will always be positive, if there is a
- Photodiode voltage read by analog read, the result of the voltage
Practical procedure: issued by digital pin 3 Arduino will have a value from the
inverse voltage read by Arduino analog pin 0.
Arrange the circuit as shown. 2 and connect with
Arduino UNO Data results obtained by giving photodiode light or
not so that it will affect the intensity of the LED. The value
of the PWM displayed on the Front Panel has gone
through the multiplication result of 100 (the duty cycle
Connect Arduino to PC and integrate Arduino percentage).
with LabVIEW program using LINX tools
(Tools> MakerHub> LINX> LINX Firmware 5. CONCLUTION
Wizard)
By using an Arduino device and other components
arranged in such a way and LabVIEW software can create
PWM control simulations. The Arduino input is 5V and
the output will be displayed 0-5V. The voltage read by the
photoresistor will affect the PWM value in reverse so that
Create a setup program for one channel PWM when the voltage read the sensor is high then the PWM
in LabVIEW (%) is low and the LED will dim.
REFERENCE
[1] Hans Petter Halvorsen, Introduction to LabVIEW,
Run the program and adjust the intensity of the Telemark University College, Norwegian, 2014.
LED by adjusting the lighting intensity on the
photodiode [2] Tim Dosen Teknobiomedik, Pedoman Pratikum
Instrumentasi Biomedis, FST - Univesitas Airlangga,
Surabaya, 2018.