Book Image

Programming Arduino with LabVIEW

Book Image

Programming Arduino with LabVIEW

Overview of this book

Table of Contents (14 chapters)

Hardware and software requirements


On the hardware side, you will first need an Arduino Uno board.

We will also use two kinds of sensors for this project: a temperature sensor and light-level sensor. For temperature, we will use a TMP36 sensor, which is an analog temperature sensor that returns a signal depending on the ambient temperature. We will see that there is a block existing in LabVIEW that can automatically convert this output voltage to the ambient temperature.

To measure the ambient light level, we will use a photocell, which is a resistor whose resistance changes with the ambient light. Along with this photocell, we will also need a 10K Ohm resistor. This resistor will be used along with the photocell to convert the ambient light level to an output voltage that will go from 0V to 5V. This voltage will then be converted to a usable variable using the Arduino analog-to-digital converter.

Finally, we will also use a breadboard and some jumper wires to make all the connections between...