The idea for this week is to make a simple circuit consisting of a screen, a temperature sensor, a Bluetooth module and an Arduino
The sensor measures the temperature and then displays it on the screen if the user requests to know the temperature.
The request is through one of the GUI applications (Arduino Blue control)
If he presses the number one, this means that he sent a signal to the Arduino that means “show me the temperature”, then the Arduino turns on the temperature sensor, then turn on the screen's backlight and displays the temperature on the screen
And if he presses the zero number, this means that he sent a signal to the Arduino that means “ OK, I finished and I know the temperature” Then the Arduino will turn off the screen and close the sensor
I made the sensor not work until I send it to the Arduino that I want to know the temperature to save energy and to preserve the sensor so that it does not work all the time
To Design the Circuit
To Write The Code
Arduino BlueControl App
Temprature Sensor
Wires
Arduino UNO
Bluetooth Module
I2C LCD
Bread Board
TinkerCad Circuit Design
I made this code to test the temperature sensor
The main code ( Every line is explained )
Test Temperature Sensor
2- Wiring The Screen
3-Wiring Bluetooth Module