Vous êtes sur la page 1sur 13

instructables

CO2 Display

by Tony Vanpoucke

As its name suggests, the CO2 Display project is a small de gaz CO2 à brancher sur USB pour traquer facilement
CO2 gas sensor to be plugged into USB to easily track la pollution intérieur comme extérieur.
indoor and outdoor pollution.
The CO2 level is displayed live, but it is possible with the L’a chage du taux de CO2 se fait en direct, mais il est
small application provided in the documentation to possible avec la petite application fournit dans la
generate capture samples in image (in png format) and documentation de générer des échantillons de capture
in list le (in csv format). To better interpret the data here en image (au format png) et en chier liste (au format
is a table of the PPM scale (unit of measurement of CO2). csv).

---- Pour mieux interpréter la donnée voici un tableau


d’échelle des PPM (unité de mesure du CO2)
Comme son nom l’indique, le projet A cheur CO2 est un
petit capteur

Download

https://www.instructables.com/ORIG/F5C/LOVN/KI5ZR935/F5CLOVNKI5ZR935.ino

Download

https://www.instructables.com/ORIG/FIL/F9SW/KI5ZR939/FILF9SWKI5ZR939.pdf

Download

https://www.instructables.com/ORIG/FGX/1T0P/KI5ZR93A/FGX1T0PKI5ZR93A.svg

CO2 Display: Page 1


View in 3D Download
https://www.instructables.com/ORIG/FOO/LEGK/KI5ZR937/FOOLEGKKI5ZR937.stl

View in 3D Download

https://www.instructables.com/ORIG/F9F/P934/KI5ZR938/F9FP934KI5ZR938.stl

View in 3D Download

https://www.instructables.com/ORIG/FXL/5GBY/KI5ZR936/FXL5GBYKI5ZR936.stl

Step 1: Equipment List

To make this sensor we opted for the MZ-H19B sensor, Pour faire ce capteur nous avons opté pour le capteur
relatively inexpensive, compact, reliable in its MZ-H19B,
measurements and with a lifespan of more than 5 years, relativement peu cher, compact, able dans ses mesures
it seemed to us that this sensor was the most suitable for et avec une durée de vie supérieure à 5ans il nous
our use as a portable sensor. semblait que ce capteur était le plus indiqué pour notre
usage de capteur portable.
To mount the sensor you will need to purchase the
following list of equipment: Pour monter le capteur il vous faudra acheter la liste de
matériel suivante :
- MZ-H19B CO2 sensor
- Capteur de CO2 MZ-H19B
- Arduino Nano microcontroller (with USB cable)
- Microcontrôleur Arduino Nano (avec câble USB)
- 7-segment display TM1637
- A cheur 7 segments TM1637
- 10 Prototyping cables female <> female jumpers.
- 10 Câbles de prototypage « jumpers »
- 40g of PLA for 3D printer femelle<>femelle.

- (Optional) 50x50mm of 3mm plywood. - 40g de PLA pour imprimante 3D

------- - (En option) 50x50mm de bois contreplaqué 3mm.

CO2 Display: Page 2


Step 2: Build the Sensor Shell 1/2

To mount the sensor, you will also need to download télécharger puis
and print the 2 elements of the housing shell. There are 3 imprimer les 2 éléments de la coque du boîtier. Il existe 3
les: 1 for the facade (FacadeBois.pdf / FacadeBois.svg) chiers une 1 pour la façade (FacadeBois.pdf /
and 2 for the rear (BoitierFond.stl and FacadeBois.svg) et 2 pour l’arrière (BoitierFond.stl et
BoitierFaceBois.stl). If you do not have a laser cutter you BoitierFaceBois.stl). Si vous n’avez pas de découpeuse
can only download and make BoitierFace.stl. laser vous ne pourrez que télécharger et réaliser
BoitierFace.stl.
To print we advise you to use a 0.4mm nozzle for a
0.1mm layer. Depending on your printer, you can expect Pour imprimer nous vous conseillons d’utiliser une buse
to print part of the case in 3h15. 0.4mm pour une couche de 0.1mm. En fonction de votre
imprimante vous pouvez espérer imprimer une partie de
If you have printed BoitierFaceBois.stl, do not forget, boîtier en 3h15.
once the printing is nished, to remove the supports
necessary to print the object (see the photo). Si vous avez imprimez BoitierFaceBois.stl, n'oubliez pas,
une fois l'impression terminée de retirer les supports
--- nécessaire à l'impression de l'objet (voir sur la photo).

Pour monter le capteur, il vous faudra également

CO2 Display: Page 3


Step 3: Build the Sensor Shell 2/2 (option)

As an option, if you have printed BoitierFaceBois.stl you can cut the small front panel of the sensor out of 3mm thick
wood and then assemble the two elements (see photo).

---

En option, si vous avez imprimé BoitierFaceBois.stl vous pouvez découper


la petite façade du capteur dans du bois de 3mm d’épaisseur pour ensuite assembler les deux éléments (voir la photo).

CO2 Display: Page 4


Step 4: Assemble the Electronics to the Shell

Now that you have all the elements in hand, you will be able to assemble the box with its sensors. To do so, follow the
sketches and explanatory photos.

----

Maintenant que vous avez tout les éléments en main vous allez pouvoir
assembler le boîtier avec ses capteurs. Pour se faire suivez les croquis et photos explicatifs.

CO2 Display: Page 5


CO2 Display: Page 6
Step 5: Manufacturing "Y"

Be careful before you start wiring! Since the arduino only que la arduino
has a + 5v output, you are going to need to make Y n’a qu’une sortie +5v, vous allez devoir fabriquer des
cables that will power both components with a single 5v câbles Y qui vont permettre d’alimenter les deux
pin. To do this, provide yourself with 3 female-female composants avec une seule pin 5v. Pour cela munissez
jumpers to achieve 2 "Y" and follow the photos. vous de 3 jumpers femelle-femelle pour réaliser 2 "Y" et
suivez les photos.
Once the Y's are formed, make a spot weld to secure the
wires. Then, to nish, provide yourself with a roll of Une fois les Y formés, faites un point de soudure pour
chatterton to insulate the welds (beware of short xer les ls. Puis, pour nir, munissez-vous d'un rouleau
circuits, which in such a small space will be inevitable) de chatterton pour isoler les soudures (attention aux
court-circuits, qui dans un espace aussi réduit seront
--- inévitable)

Attention, avant de commencer à câbler ! Étant donné

CO2 Display: Page 7


CO2 Display: Page 8
Step 6: Wire the Object

Now that you have your Y (s) and before closing the nal Maintenant que vous avez votre ou vos Y et avant de
box, you will need to connect the whole system with the refermer le
rest of your female-female jumpers cables. To complete boîtier nalisé, il vous faudra brancher tout le système
this step, follow the plan. avec le reste de vos câbles jumpers femelle-femelle.
Pour réaliser cette étape, suiviez le plan.
Pin D2 (arduino)> Pin PWM (CO2 sensor)
Pin D2 (arduino) > Pin PWM (capteur CO2)
Pin D4 (arduino)> Pin CLK (7 seg display)
Pin D4 (arduino) > Pin CLK (a cheur 7 seg)
Pin D5 (arduino)> Pin DIO (7 seg display)
Pin D5 (arduino) > Pin DIO (a cheur 7 seg)
Pin 5v (arduino)> Pin V + (CO2 sensor), Pin Vcc (7 seg
display) Pin 5v (arduino) > Pin V+ (capteur CO2), Pin Vcc (a cheur
7 seg)
Pin GND (arduino)> Pin V- (CO2 sensor), Pin Gnd (7 seg
display) Pin GND (arduino) > Pin V- (capteur CO2), Pin Gnd
(a cheur 7 seg)
----

CO2 Display: Page 9


CO2 Display: Page 10
Step 7: Close the Shell

... paying careful attention to the cables.

---

... en faisant bien attention aux câbles.

Step 8: Upload the Arduino Code !

CO2 Display: Page 11


Now that the connection is functional, and that you have Maintenant que le branchement est fonctionnel, et que
closed the box, connect the sensor to your computer. vous avez fermé le boitier, branchez le capteur sur votre
ordinateur.
Copy the code provided in the documentation then,
Using the Arduino software, upload it to the Arduino Copiez le code mis à disposition dans la documentation
Nano. puis, Avec le logiciel Arduino, téléversez le dans la
Arduino Nano.
Once uploaded, the sensor should function properly and
display the CO2 level live on the display. Une fois televersé, le capteur devrait fonctionner
correctement et a cher le taux de CO2 en direct sur
---- l’a cheur.

Step 9: [Work in Progress] Save the Data!

CO2 Display: Page 12


If you want to go further and store the displayed values Si vous voulez allez plus
live, we suggest you use the small processing loin et stocker les valeurs a cher en direct, nous vous
application [To nish]. This application will automatically proposons d’utiliser la petite application processing [A
save a capture log (as a csv list le and a graphic in png nir]. Cette application enregistra automatiquement un
format). journal de capture (sous forme de chier liste csv et de
graphique au format png).
To make the application work correctly, follow these
steps: Pour faire fonctionner correctement l’application, suiviez
ces étapes :
1- launch the application on a computer
1- lancez l’application sur un ordinateur
2- connect the sensor to this computer
2- branchez le capteur sur cet ordinateur
3- let the sensor connect for the desired time
3- laissez le capteur branchez le temps voulu
4- to end the sampling, unplug the sensor, the
application will generate the capture les automatically. 4- pour mettre n à l'échantillonnage, débranchez le
These are stored by default in the same folder where the capteur, l’application générera les chiers de captures
application is located. automatiquement. Ces derniers sont stockés par défaut
dans le même dossier où est situé l’application.
---

Nice job! What program did you use to design the 3D printed parts?

CO2 Display: Page 13

Vous aimerez peut-être aussi