Weather Station With Arduino / Station Météo Avec Arduino

by hamzazouk in Circuits > Arduino

1667 Views, 2 Favorites, 0 Comments

Weather Station With Arduino / Station Météo Avec Arduino

IMG_5159.JPG
IMG_5153.JPG

EN:
In this Instructable, I will show you how to make an Arduino powered weather station, using a TMP36 temperature sensor. It buzzs when the temperature exceeds a threshold indicated in the program. You can do most of the project with the Arduino Uno Starter Kit. The diagrams are made with Tinkercad.

FR:

Dans cet Instructable, je vais vous montrer comment faire une station météorologique alimentée par Arduino, à l’aide d’un capteur de température TMP36. Il sonne lorsque la température dépasse un seuil qui est indiqué dans le programme. Vous pouvez faire la majeure partie du projet avec le kit de démarrage Arduino Uno. Les schémas sont fait avec Tinkercad.

Supplies

EN:
In the project, you will need:

1.A 16x2 alphanumeric LCD screen

2.A TMP36 temperature sensor

3.One 8 ohm speaker

4.A 10 kilo ohm potentiometer

5.Two 220 ohm resistor 6.A lots of wires

7.A breadboard

8. An Arduino (I use the Uno)

FR:

Dans le projet, vous aurez besoin de:

1. Un écran LCD alphanumérique 16x2

2. Un capteur de température TMP36

3. Un haut-parleur de 8 Ohm

4. Un potentiomètre de 10 kilosOhm

5. Deux résistance de 220 ohm

6. Beaucoup de fils

7.Une Breadboard ou platine d'expérimentation

8. Un Arduino (J'utilise un Uno)

Connect the TMP36 / Brancher Le TMP36

IMG_5154.JPG
TMP36_diagram.png

EN:
First step, connect the sensor. The flat side up , connect:

1.The left leg at 5V.

2.The middle leg to pin A0.

3.The right leg to GND.

Then upload the following program.

The temperature should be displayed on the Serial Monitor.

FR:

Première étape, connectez le capteur. Le côté plat vers le haut, connectez :

1.La patte gauche au 5V.

2.La patte du milieu à la broche A0.

3.La patte droite au GND.

Téléchargez ensuite le programme suivant.

La température doit s'afficher sur le moniteur série.

Downloads

Connect the LCD / Connectez L'écran LCD

7948AE19-269F-42E6-97A1-98D9917AF5CE.jpeg
lcd-schéma.png

EN:
This step is one of the most important. Be very careful, as we have 12 pins to plug in. Gather the alphanumeric 16 x 2 display, a large bundle of cables, and a breadboard.

Connect the pins:

Vss, LED- and R / W to GND.

Vcc to 5V.

LED + is connected to 5V by a 220 ohm resistor.

D7 from the LCD to pin 2 of the Arduino.

D6 from the LCD to pin 3 of the Arduino.

D5 from the LCD to pin 4 of the Arduino.

D4 from the LCD to pin 5 of the Arduino.

E of the LCD at pin 11 of the Arduino.

RS from the LCD to pin 12 of the Arduino.

Connect the potentiometer to the breaboard, one of its outer legs to 5V, the other to ground and the middle one to the V0 pin of the LCD.

Finally, upload the following code.

The temperature should be displayed. If nothing is displayed, turn the potentiometer. If nothing is still displayed, check the circuit and if you do have a 16x2 display.

FR:

Cette étape est l’une des plus importantes. Soyez très prudent, parce que nous avons 12 broches à brancher. Rassemblez l’écran alphanumérique 16 x 2, un grand ensemble de câbles et une breadboard.

Connectez les broches :

Vss, LED- et R / W au GND.

Vcc au 5V.

LED + est connecté au 5V par une résistance de 220 ohm.

D7 de l’écran LCD à la broche 2 de l’Arduino.

D6 de l’écran LCD à la broche 3 de l’Arduino.

D5 de l’écran LCD à la broche 4 de l’Arduino.

D4 de l’écran LCD à la broche 5 de l’Arduino.

E de l’écran LCD brancher sur le 11 de l’Arduino.

RS de l’écran LCD brancher sur le 12 de l’Arduino.

Connectez le potentiomètre à la breadboard, une de ses pattes externes au 5V, l’autre au GND et celle du milieu à la broche V0 de l’écran LCD.

Enfin, téléchargez le code suivant.

La température doit s'afficher. Si rien n’est affiché, tournez le potentiomètre. Si rien n’est encore affiché, vérifiez le circuit et si vous avez bien un écran 16x2.

Downloads

Add the Speaker / Ajouter Le Haut-parleur

IMG_5158.JPG
wheater_station_with_speaker.png

EN:
Now connect the speaker, one wire to pin 8 and the other to GND via a 220 ohm resistor. Upload the following code.

If the temperature exceeds 20 degrees Celsius, the speaker will ring.

FR:

Maintenant, branchez le haut-parleur, un fil à la broche 8 et l’autre au GND à travers une résistance de 220 ohm. Téléchargez le code suivant.

Si la température dépasse 20 degrés Celsius, le haut-parleur sonnera.

Downloads

Congratulations! / Félicitations!