-
VOC Sensor
03/17/2022 at 21:12 • 0 commentsToday the Sensair S8 from Aliexpress arrived. I have now drawn a housing for the sensor with another ESP8266 (Wemos D1 mini). The sensor gives me the CO2 value in ppm, with this value I control my ventilation.
Housing:
-
Testing
03/11/2022 at 22:30 • 0 comments -
Write some code for the ESP
03/11/2022 at 22:13 • 0 commentsNow I have to write some code. After some thought, it would be best if I had the following control
options:
- set level 1
- set level 2
- set level 3
- ventilate for 30 minutesI noticed that 100ms is not enough to press the button. With a value of 500 ms, pressing the keys works stable.
The following is the ventilation level 2 code as an example:
// STAGE 2 On stage2 do // 4 X CLICK DOWN Pulse,14,1,500 gpio,14,0 Pulse,14,1,500 gpio,14,0 Pulse,14,1,500 gpio,14,0 Pulse,14,1,500 gpio,14,0 Pulse,14,1,500 gpio,14,0 // 2 X CLICK UP Pulse,12,1,500 gpio,12,0 Pulse,12,1,500 gpio,12,0 //RESETGPIO gpio,12,0 gpio,13,0 gpio,14,0 endon
Now I can integrate the whole thing into my smart home and control it as I like. Unfortunately, I
haven't received the VOC sensor from Aliexpress yet, so I have to wait with the VOC-controlled
ventilation. -
Housing mounted and ESP8266 running
03/11/2022 at 22:09 • 0 comments -
Install and connect
03/11/2022 at 22:08 • 0 comments -
Building the PCB
03/11/2022 at 22:07 • 0 commentsNow I build the PCP. Left: DC-DC StepDown converter, top right: ESP8266 (Wemos D1 mini), bottom
right: SSR relay -
successfully found the flat cable
03/11/2022 at 22:06 • 0 commentsFound, apparently the Renault Megane has installed the same cable for the airbag
-
measuring the front panel
03/11/2022 at 22:03 • 0 commentsNow I take a closer look at the original device. The panel buttons are connected to this ribbon cable. I measure out which pin is for which button. Now I have to find the same ribbon cable with connector on aliexpres...
-
Power search
03/11/2022 at 21:57 • 0 commentsBecause I don't want to have an extra power supply, I check whether I already have direct current somewhere in the housing. I'm lucky, the original control is operated with 12V.
That means I also have to use a DC-DC StepDown converter so that the ESP8266 can be supplied with 5V. -
Housing
03/11/2022 at 21:53 • 0 commentsFirst, I drew the original housing so that I could put my own housing above where I would then install
my PCP with the ESP8266.