Since the outbreak of COVID-19, it has become essential to regularly monitor the human body temperature without coming into contact with the measuring device so that an infected person can be immediately detected without further spreading the disease (due to contact). As per the need of time, a contactless temperature measuring device such as a thermometer is required everywhere.Â
So today, we will develop a smart Bluetooth-based contactless thermometer with thermal screening capability added to our phones. To transform our phones into a contactless thermometer, first we need to connect our phones to a sensor over Bluetooth for giving us the temperature reading in an app. We can also get the data from the sensor to our phone using USB.Â
Bluetooth based Contactless IR thermometer
To make the device, we need the following components:
CodingÂ
For coding, we need to install the MLX90614 library in the Arduino IDE and then include it in the code. After that, create a setup function where we will set the baud rate for the Bluetooth module. Here, I am using a baud rate = 9600 (default). After this, create a loop function that will run repeatedly. In the loop function, we will check the sensor reading and then pass the readings to the serial using serial.println(). This ensures that when we connect the Bluetooth to the serial pin of the Arduino, the readings are transferred to the Bluetooth module.
Note
The OLED display code part is optional. You can either attach the OLED display or you can skip.
ConnectionÂ
Connect the components as shown in the circuit diagram. After completing it, create an app that will connect to Bluetooth and give live sensor readings to our phone.Â
Creating the app
To do so, we have a lot of different options including MIT app inventor, Kodular, Android Studio and Eclipse. Here we are using Kodular to create the app. Firstly, open Kodular and create a new app name as per your choice. Here, I have named it Contactless IR thermometer. After that, create the app layout by adding the following components to it:
- Bluetooth client
- File
- Listpicker
- Clock
- Image
Next go to Code Blocks and join them by selecting and dragging them into the central screen. Export it as .apk and install it in your phone.
TestingÂ
After getting everything ready and installing the app in the phone, power the device and then switch on the Bluetooth of the phone. Now open the app, select ‘connect’ and then select the HC 05. After a successful connection, you will be able to see the temperature readings in the app. The app will also save the reading and temperature data in a text file. You can check it in the file manager.
Hi,
Compiling done and result showing in Serial monitor but there is issue in creating aap.
have created aap through kodular but that aap only showing Text for List_pickers and doest not show the blutooth connect, can you please share the .apk aap.
thanks and regards
Sushil kumar
First, go to Bluetooth settings and pair the Bluetooth C 05 with the phone. Now go to the app you can see the Bluetooth HC 05 in list. The ,apk attached in article
sir ,how did u created the app with out having its layout.can u please explain
sir, Im thinking of using this as my project can you help me elaborate how the project function?? please……….. i will be so much greatful if you do so… Please mail me.. if you can…
Yes, I will be very grateful to help you where ever you need. Please let me know what help do you need.
I want to know more about this project. Can you help me with that??
Yes, You can ask me in chat/comment section of the website. Please let me know what help do you need
Hi,
I know the Kodular Programming,
but how i can learn source code or aurdino programming ; is any link or EFY provide that services
Hi Arvind, you can learn Arduino programming here.
Good day sir, I would like to learn more about the structure and how this project works, and recommendations or ideas in improving this project too would be appreciated. Thank You
hi sir ,
i didn’t open article what will do for it sir how to open it i already download the source code
You can open the afticle after sign up check
Can i get the detailed information regarding app creation please, I am interested to work on this as my project
Yes what help you need , You can easily make the app using it app inventor or kodular. Contact me on 7061350809