Simulation software is an interactive tool generally used in experimenting with the circuit design before establishing it in the hardware/PCB board. It helps to analyze the design schematic to check the integrity of its functions and makes sure the efficiency of the design before establishing it in the circuit board.
In this article, let us learn how to Interface Temperature Sensor with Arduino using TinkerCAD. Let's first start with the requirements that we will need to design the circuit with TinkerCAD Software.
These components are required for manual circuit development, for #simulation purposes TinkerCAD software is sufficient. To build the circuit manually, click on the links given below to buy the components required.
1. Arduino UNO:
Develop a stronger concept in Arduino through this article:- What is Arduino?
#Arduino board is a microcontroller that is used to accept inputs from sensors connected and provide an output action on the desired device connected to it. The sensor inputs can be from light-detecting sensors, motion sensors (Ultrasonic or IR), temperature sensors, etc. The output from this device can be received through other output devices such as LED, Buzzer, Serial monitor, etc.
Buy Arduino UNO from here.
2. LM-35 Temperature Sensor:
LM-35 #Temperature Sensor is a temperature measuring device, gives an analog output voltage based on the instantaneous change in temperature value. This analog output voltage is proportional to the instantaneous input. It has three pins namely - supply voltage pin (Vcc), Output Voltage pin, and Ground pin (Gnd).
Buy LM-35 Temperature Sensor from here.
3. Jumper Wires:
These are the main components that are used to establish the connections between different devices of the circuit. There are three types male to female, female to female, and male to male.
Buy Jumper Wires from here.
1. TinkerCAD Software:
It is an easy-to-use online simulation #software used for circuit design. It has all the essential electrical components required to built and analyze the circuit.
Visit the TinkerCad website.
The connection between the Arduino board and LM35- Temperature sensor by using jumper wires involves simple steps:
The supply voltage is the voltage by which the circuit operates, and it needs to be connected to 5V on the Arduino board to power the temperature sensor LM35.
The output voltage is the analog pin connected to the A0 pin of the Arduino board through which we receive data.
Finally, connect the ground pin of the sensor to the GND terminal in the Arduino board to establish a common ground connection.
NOTE: The default code present in the TinkerCAD window needs to be removed and the program code needs to be written. Download the document and copy-paste the code in TinkerCAD to simulate the circuit.
Let us first learn how to work with TinkerCAD #simulation software. Once entered on the TinkerCad page, select circuits, and search for the components required for the connection. The required components are to be dragged and brought to the circuiting screen. The connection needs to be made by selecting the jumper wires. The colors of the wires can be selected in different colors to show distinguish between each connection.
Learn more about TinkerCad in detail.
The Temperature sensor takes the input when there is a temperature change and it shows the following variation in the output voltage and temperature in Celsius and Fahrenheit scale. For every one-degree increase in temperature, there is a 10mV increase in the voltage.
The below image shows the working of the circuit after proper connection and compiling of the coding.
In #TinkerCad we have the advantages of simulating the circuit by changing the inputs. Likewise in this circuit, we can change the #temperature by moving the temperature knob. The below image shows the change in output while varying the input.
The below image is the Serial Monitor in which the changes in the output temperature while changing the input is shown.
Watch the below-given Working video for the practical explanation of designing the circuit and to know more about how the simulation software works.
Check the Project working video here - Interfacing Temperature Sensor(LM35) with Arduino
Video By - Rhea Mantri
Simulation software plays a major role in the building of large circuits as they help to analyze the working of the circuit before it can be built practically. It helps us create a #virtual design of the circuit we want to build and avoid damages to the circuit if in case we don't know, beforehand about the correct circuit connections.
For more projects through TinkerCad click here.
By using this TinkerCad open-source software design your own circuit, run the code in the software, and validate your project ideas.