
Otherwise, turn the potentiometer in the clockwise till the LED turns ON. If the LED is ON, the sensor is perfectly calibrated. Similarly, keep your hand close to the IR Sensor approximately 5cm.Otherwise, turn the potentiometer using a screwdriver in the anti-clockwise direction until the LED turns OFF. If the LED is OFF, then you need not do anything. Keep your hand at some distance from the Sensor approximately 15cm.
Then, its the time when you need to calibrate your IR Sensor.
What if the LED does not turn ON or OFF when necessary. If the LED turns ON when you bring your hand near to the IR Sensor and turns OFF when you take your hand away, indicates that the IR Sensor is working properly. Then, click on the Connect button and select the appropriate port.
Click on the Board button in the toolbar and select Arduino Uno from the drop-down menu. Then, connect the sensor’s out pin to Uno’s digital pin 2 using a green male-to-female jumper cable.Ĭonnect Uno to your computer with the help of a USB cable. Next, connect the sensor’s ground pin to Uno’s ground pin using a black male-to-female jumper cable. Connect the sensor’s VCC pin to Uno’s 5V pin using a red male-to-female jumper cable. The process for GSM module simulation is shown in the following steps. The whole process indicating about how to place the simulation model in the library of the Proteus is discussed in my post on Ultrasonic sensor. You need to download the files containing the simulation models of the GSM and place it in the library of the Proteus. But unfortunately the simulation model of the GSM is not present on the library of the Proteus by default. So in order to simulate the GSM based system in Proteus the simulation model of the GSM should be present in the library of the Proteus. Without the simulation model your simulation tools whatever it is will not be able to imitate the behavior of the circuit. It is important to note here that if you want to simulate the behavior of any system you should have the simulation model of the all the components that are to employed within that system. The simulation prior to developing hardware saves both money and time. But before implementing the hardware and code in the real world it is always beneficial that you simulate the whole setup. Arduino microcontroller is very popular among students and hobbyists. The microcontroller commonly used for Prototyping along with the GSM module is Arduino. As noted earlier in the post that the GSM module can be used in a variety of embedded systems such as GSM based home automation systems. After having the brief introduction on GSM and GSM module let us now looks at the simulation of the GSM in Proteus.