Combibox (Led Based Temperature Sensor)

by Eliasgregoir in Circuits > Arduino

122 Views, 1 Favorites, 0 Comments

Combibox (Led Based Temperature Sensor)

FP2A7AVKUQYI9F5.png
ledscherm.PNG

This is a project I've made and it's called the combibox.

When the first button is getting pressed the led lights will follow a self made pattern, when the 2nd button is pushed in, the lcd screen'll show you the temperature and when the temperature is below 30° celcius a green led light will light up and when the temperature is above 30° degrees in celcius a red Led light will light up.

- I used tinkercad for this whole project.

-You can use and copy my code,Arduino project and case for the lcd.

My code Is is the project and ready to use

Supplies

- 3D Printer

- Arduino uno

- breadboard

- potentiometer

- tmp36

- 4 led lights (1 green and 1 red required)

- 2 push buttons

- some resistants

- 16x2 lcd screen

Tinkercad Base

buttons.PNG

- add a breadboard and arduino uno R3 to your panel.

- place 2 buttons on the breadboard.

(connect the left bottom corner with the positive electric current and the right bottom corner with the negative current on the breadboard. make sure you place a resistant in between of them.)

- next make sure the upper right corner of every button is connected with an electric current on the arduino

(I used port 13 for the 1st button,8 for the 2nd button)

look at the yellow wires on the screenshot

- at the lower right sides, add resistants and and connect the lower left of the button with an + electric current on the BB (Breadboard)

LCD Screen

lcdcables.PNG

- add a new lcd screen into your project

- next connect the cables and ports.

1st (GND) port with gnd

2nd (VCC) port with a + current on BB

3rd (VD) port is reserved for the potentiometer

4th (RS) port with arduino port 12

5th (RW) port with a - current on BB

6th (E) port with arduino port 11

DB0 - DB3 = left empty

7th (DB4) port with arduino port 5

8th (DB5) port with arduino port 4

9th (DB6) port with arduino port 3

10th (DB7) port with arduino port 2

11th (LED) port with a + current on BB

12th (LED) port with a - current on BB (use a resistant)

- next add a potentiometer and connect the VD port from the lcd screen to the middle of the meter.

give an - electric current to the left of the meter and + electric current to the right of the potentiometer.

LED LIGHTS

ledlights.PNG

Next step is adding the led lights to your project.

- Add 4 Led Lights to your project (Non RGB)

ATTENTION

connect the left of the led lights on a - negative current on the BB.

make sure the first led is a green light and the last led light is a red light.

(Look at the turquoise and black cables on the screenshot if you want to copy me).

Temperature Sensor [TMP36]

tmp36.PNG

- Next on Add an TMP36 sensor to the tinkercad project.

Connect the middle of the TMP36 sensor to the A1 on the Arduino uno.

Connect the left to a + Positive current on the BB

Connect the right to a - Negative current on the BB

make sure the 5V from the arduino is connected to the + positive port on the BB and that the GND from the arduino is connected to the -Negative port on your BB.

3d LCD Case

lcd 16x2 case.PNG

Last Step.

Make a case for your LCD screen and make some holes in it for the Led Lights.

If you need A prototype, You can use mine.

You'll just have to make a hole in the lcd case if you have an arduino connected with an usb cable