Тёмный

Hacking The IKEA VINDRIKTNING PM2.5 Sensor With Tasmota | Voltlog  

VoltLog
Подписаться 46 тыс.
Просмотров 27 тыс.
50% 1

High quality PCB Services pcbway.com Welcome to a new Voltlog, in this video I’m gonna walk you through the process of hacking the IKEA VINDRIKTNING PM2.5 sensor to add wifi connectivity, Tasmota compatibility for MQTT coms and an additional air quality sensor the Bosch BME680, all contained inside the original IKEA VINDRIKTNING.
→IKEA VINDRIKTNING voltlog.com/y/97uzk
→Bosch BME680
Aliexpress voltlog.com/y/6buw3
Amazon voltlog.com/y/x6jeu
→Tasmota all sensors binary voltlog.com/y/tl6q9
→Tasmotizer voltlog.com/y/5hai6
→Support the channel by clicking these links (CommissionsEarned)
Aliexpress voltlog.com/y/kr0sa
Ebay voltlog.com/y/jzkfp
Amazon.com voltlog.com/y/qw4d3
Banggood.com voltlog.com/y/o4025
→Support the channel via Patreon, Paypal or Bitcoin
www.voltlog.com/donations
So IKEA sells this PM2.5 sensor for cheap, something like 10EUR, it runs from a 5V USB Type-C port but it only shows results using some LEDs shining from green to orange to red for very high concentration values. But if we take a look inside the sensor after removing the 4 phillips screws we discover that there is plenty of available space inside for adding our own circuitry and it appears to be using a standard PM2.5 sensor module with serial output over UART. This is then read by a small microcontroller which controls the different LEDs and handles the small fan that pulls fresh air over the sensor intake.
So with that in mind I started looking through my box of wifi modules and found this ESP8266 based module which seems like a good candidate to install in this box. If you are a regular viewer of the channel then you must know about my mailbag videos where I show all kinds of sensors and modules and in fact those videos might be your best source for discovering new and interesting electronics modules, sensors and tools so if you are new to the channel, you must check them out.
Now by installing this ESP8266 based module inside this unit, we could connect to the TX pin of the PM2.5 sensor module and just read it’s data at the same time with the on-board microcontroller. I’m not sure if this particular sensor needs any commands for initialization at start-up but in any case that would be taken care of by the on-board microcontroller and we would just be reading the sensor data.
#IKEA #VINDRIKTNING #Tasmota

Наука

Опубликовано:

 

13 дек 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@jack_brooks
@jack_brooks 2 года назад
"This board just screams hack me in your face" (6:27), love it.
@valichesu
@valichesu 2 года назад
Genius work, I hope I could build one similar to yours.
@opontios
@opontios 2 года назад
Except for the video you don't show a connection diagram anywhere, or I missed it?
@magnus-thome
@magnus-thome 2 года назад
Just had to buy a Vindriktning after seeing your video 😁👍 Always good stuff on your channel 👍
@voltlog
@voltlog 2 года назад
Thanks!
@parvi4love
@parvi4love 2 года назад
Sorry I am a newbie. Can you please help me with the wiring diagram for this setup?
@opar7s
@opar7s 2 года назад
Hi, I was also strugling with the wiring diagram! First I installed only Wemos D1 Mini and it was straight forward with 3 wires from Ikea board 5V, ground and IO. Then later I added Arduino BME680 board. For this I found diagram from here: learn.adafruit.com/adafruit-bme680-humidity-temperature-barometic-pressure-voc-gas/python-circuitpython Now everything works like in this video.
@nosafetyswitch9378
@nosafetyswitch9378 Год назад
Thanks for this. I just modified mine and soldered a female JST connector that comes out just over the USB C connector. This way it can now still work standalone or I can hook it up to my ESP32 that has RGB, temp sensing etc.
@frollard
@frollard 2 года назад
Curious if the barometric pressure is affected by the fan - granted it's a miniscule air flow, but the sensor could be acting like a microscopic pitot tube :) Very neat!
@MrFireBath
@MrFireBath 2 года назад
Ikea is a fucking miracle I wish more companies do this. I placed a D1 mini in mine and a dht11 I had laying around the dht11 was recicled from an old project and it fit on the upper side of the upper box. Your sensor looks better i'l get some of those because I bought another 2 sensors to put in different rooms. I was also thinking of getting a temperature sensor weather resistant put a hole thru the casing and get the wired sensor outside the window, that way I have an indoor temp and air quality sensor and also an outdoor temp sensor in the same case. I send everything by mqtt to influxdb and use grafana to graph everything and it is awesome. This is such an easy project to start doing iot stuff it's amazing. Thank you for your videos and your ideeas I am very happy because this might be the first time I hacked something before you :). Cheers.
@voltlog
@voltlog 2 года назад
Happy to hear people are hacking these 👍
@Klaus-macht-Bilder_de
@Klaus-macht-Bilder_de Год назад
Thank you - great explenation I had a basic setup w/o them BME680 and now updated successfully :) From the VOV Sensor I currently get readings in the 60 (kOhm?) area - is there any formula or information how to correlate this with a VOC Value in mg/m³? By blowing in some Desinfection vapor the value lowers down to ~ 5
@ristomatti
@ristomatti 2 года назад
A straightforward hack that can be reproduced by most of your viewers. Great content! Measuring PM levels here is mostly uneventful. It's pretty much 1-2ppm except for some time after cooking on the stove. There's still one use case for me that I find useful.. Peeling onions shows up as values around 20-60ppm. My eyes are hypersensitive to that, so a particulate matter sensor in the kitchen tells me when it's safe to go there without making my eyes blurry for the next 30-60 minutes. 😄
@voltlog
@voltlog 2 года назад
Interesting to hear the air quality is very good where you live. I am personally getting values in the 10 µg/m³ in my living room on the VINDRIKTNING sensor when there is no disturbance happening like cleaning. In another room where I have a Philips air purifier it shows values in the range of 2 µg/m³ but I suspect the purifier creates this bubble micro-climate around it and the measurement doesn't actually represent the whole room, but I need to run more tests by placing both sensors in the same room.
@ristomatti
@ristomatti 2 года назад
@@voltlog You might actually have a point there. I had a PMS7003 sensor running for 1.5 years starting from 2018. I now checked the stats again and indeed the values were higher than that. PM2.5 and PM10 were mostly jumping between 1-8 µg/m³ but during summer (likely due to pollen) the values ran around 10-30 µg/m³. Currently my only sensor is the one on my Xiaomi purifier which shows 1 µg/m³ (PM10 perhaps?) basically all the time, except when cooking. Edit: changed ppm to µg/m³, mixed up with CO2 values for a moment.
@andreijecu765
@andreijecu765 2 года назад
yes thank you for the info!
@DustinGrady
@DustinGrady Год назад
I'm not sure if I am missing it, but can you link which ESP8266 module that is specifically?
@andreamitchell4758
@andreamitchell4758 2 года назад
seem like you placement of the esp8266 board will obstruct the air flow of the fan though I wonder if it would be better to put in on the right or left side in the top cavity and place the BME 680 on the opposite side also what about using a raw esp8266 without a board , I know there is a lot of room in there but I am concerned about the air flow, I have a wemos D1 mini and the ikea sensor but I never used home assistant or tasmota before I use smartthings and have flashed esp8266 devices fro that though using a USB seraial UART adapter I have a pi zero w and pi zero W 2 , I was thinking of setting up HA on one of them I don't plan on doing too much with it , the other application I have for the pi zero boards is for octoprint without a camera , not sure if I should use the pi zero w 2 for HA or octorpint ,not sure if the 1st gen zero w is good enough for HA ,
@progamermat
@progamermat 10 месяцев назад
Great work, can we replace the IKEA LED indicators with an OLED display?
@nickoldbird366
@nickoldbird366 2 года назад
Hello nice project! I buy 2 of this and i'm waiting wemos to build it! I have a BMP280 sensor I will try to put it inside. I hope to work properly!
@MayankJairaj
@MayankJairaj 2 года назад
Thanks for easy solution, tasmoto is quick to setup. There seems to be some problem with my sensor though, I get a reading that is 100 points higher than what the city graphs show, am I doing something wrong or is the Vindriktning not working properly? Edit: the values were infact correct
@gergohorvath2538
@gergohorvath2538 2 года назад
What makes you think d1 mini pins are 5V tolerants? There are a lot of discussion on this topic on the net. I’m curious
@robertybob
@robertybob 2 года назад
Can you tell me, a novice at this kind of thing, how you flash the Tasmota software? Do you plug it straight into your pc, or do you need another piece of hardware do connect it to your pc?
@mikenichols4313
@mikenichols4313 6 месяцев назад
The particle sensor (SDS011) provides serial data including concentration for two size categories as a time series. Another hack would be to grab this data for a graphical display and daily summary (e.g. min., max., median, average daily concentration of PM 2.5 and PM 10). See for example OpenElectronics “SDS011 the Air Quality Sensor”. I am thinking about two boxes - one a particulate monitor with serial output and a second using the fan without the particulate sensor but output temperature, barometric pressure, CO2, and other parameters. Not sure, but the fan may affect measurement of the barometric pressure depending on the pressure drop, so the sensor may have to be isolated from the air flow in the box. Amazing to get a laser particulate sensor in a box for this price.
@rdp8545
@rdp8545 2 года назад
You should add a small LCD screen on the top of the case that monitors the various sensors and outputs them to the screen?? That would be a nice way to visualise both the light and sensor outputs?
@voltlog
@voltlog 2 года назад
That doesn't make sense for my setup. Like I said in the video I hacked this so that it would transmit over MQTT so I can pull that data in HomeAssistant.
@a_demain
@a_demain Год назад
Brilliant!
@Luke-san
@Luke-san 2 года назад
Ok, had a quick look at the video. Need to re-watch later. Finally I can open my plastic box of pcb with sensors I think and a Wemos D1. Was there any issue with 5V or 3.3V on IO's or anything? I finally have home assistant running but no MQQT (need to look into that what it is exactly) but nice knowing I can check just using the web interface. Just by reading the comments my led is green in the living room and same experience as you guys, when someone starts cooking it goes to yellow/orange.
@Luke-san
@Luke-san 2 года назад
@VoltLog This ESP8266 has me confused. You don't use voltage shifters on this module. Checking other users videos, for example the one from user enwi he uses resistors to input the voltage to 3.3 Volt. Before I blow up stuff can you enlighten me?
@Luke-san
@Luke-san 2 года назад
@VoltLog. Had a look around. Very frustrating having like 30 browser tabs open with info but found that it was ok for the 5V, had another module lying around here, BME280 which did need to be connected to the 3.3V on the Wemos D! but after a couple of hours it all worked. BME280 Temperature 16.5 °C BME280 Humidity 59.5 % BME280 Dew point 8.6 °C BME280 Pressure 1030.0 hPa VINDRIKTNING PM 2.5 µm 32 µg/m³ But the humidity sensors. I think it is time to test them all and check the readings. Temperature wise they all seem to be kind of showing the same but humidity they are all over the place.
@jordanwaeles
@jordanwaeles 2 года назад
08:00 "it's not great, but not terrible".... You said it, NOW you have to put a radiation sensor in it as well!
@voltlog
@voltlog 2 года назад
Would be cool but I don't think it will fit 😬
@ColinMcCormack
@ColinMcCormack 2 года назад
I'm thinking of an esp32 outside the box intercepting the serial comms. That would enable me to change the configuration of the particulate sensor.
@voltlog
@voltlog 2 года назад
You can do that no problem 👌
@gordoncreAtive
@gordoncreAtive 2 года назад
Is there enough clearance for the fan to push air through now?
@voltlog
@voltlog 2 года назад
It's a blower type fan, does not need any clearance on that side.
@AntoninKral
@AntoninKral 2 года назад
You can configure your wifi directly with Tasmorizer. Check the "Send config" button. No need for the hotspot dance.
@voltlog
@voltlog 2 года назад
Thanks! I never used that feature 👍
@travelthetropics6190
@travelthetropics6190 Год назад
This helped me, Thanks. I set up Wifi using send config and founf IP using "Get ip"
@andreijecu765
@andreijecu765 2 года назад
Hi,nice video. There is something i do not understand,at first you mention that you use the tx uart line of the sensor to read the data and this uses 3 pins on the idea board, gnd +5 and tx line,but at the solder work and the tasmota setup there are 4 wires connected to ikea board and I2C selected in the setup. Please help with details for final working solution since i am trying to replicate.Thanks.
@andreijecu765
@andreijecu765 2 года назад
I have found my mistake,the GPIO was for the BME.It is working with a esp01 and a dth22 just fine.Great video 10x for the info.
@Hasitier
@Hasitier 2 года назад
Does the fan of this ikea device run all the time or does it just spin up every few minutes? Because those sensors have a finite life span which can be enlarged greatly by just starting them every 5 minutes or so for a few seconds to take a measurement.
@voltlog
@voltlog 2 года назад
Yes it does run intermittently but that's also annoying if you have very sensitive hearing.
@Chriva
@Chriva 2 года назад
Just started watching so I'm sorry if you're going to address it but the name of that thing is slightly misleading if you know Swedish. vindriktning translates into air direction (as in a gust blowing in a particular direction). Their naming scheme has been really weird lately :)
@voltlog
@voltlog 2 года назад
Ikea names sound so weird in my native language that I don't even bother thinking about them 😂
@danbendavid-ipad2236
@danbendavid-ipad2236 2 года назад
I have added a Senseair to measure CO2 precisely (30 Euros) and have used the ESP-M3 very small and cheap. However i would like to use it in the bedroom, so it requires to turn off the LED during nights. any idea ?
@voltlog
@voltlog 2 года назад
Turning off the LEDs would require hardware mods to the original PCB or removing it all together.
@danbendavid-ipad2236
@danbendavid-ipad2236 2 года назад
@@voltlog - Do you have some insights about mods to original PCB ? any ref. schematic somewhere ?
@MrFireBath
@MrFireBath 2 года назад
I also bought an air purifier from ikea (the cheapest because it is easyer to control) and I hope to automate the starting of the air purifier when the air sensor detects poor air quality ;) that is if you wanted an Ideea.
@voltlog
@voltlog 2 года назад
Thanks but I already have a Philips air purifier and it does have automatic mode built-in. The ikea one doesn't? Or is it crippled intentionally because it's cheaper?
@MrFireBath
@MrFireBath 2 года назад
@@voltlog the most expensive one does but the cheapest one has all manual controls.
@giacomo1191
@giacomo1191 2 года назад
Nice hack
@DiyintheGhetto
@DiyintheGhetto 2 года назад
Is there a way to do it without tasmota? I just want to read the sensor not transmit it.
@voltlog
@voltlog 2 года назад
You can certainly write your own code and not use Tasmota. But I don't see the advantage of doing that..
@DiyintheGhetto
@DiyintheGhetto 2 года назад
@@voltlog I dont use Tasmota myself or Mqtt. But the Wifi part of it is What I would love to do.
@v6omega
@v6omega Год назад
Smart Things & Zigbee hack?
@SidneyCritic
@SidneyCritic 2 года назад
Weird, ie, you would think the ESP is so low power it wouldn't get hot.
@voltlog
@voltlog 2 года назад
I wouldn't say the ESP is low power by modern standards. And in general Wi-Fi modules cannot be truly low power.
@crispusb
@crispusb Год назад
Thanks. I just integrated this sensor into my home assistant (I just had an esp01 laying around). i.imgur.com/0LUZrBM.png
Далее
Your home's air could be making you sick. Fight back!
13:24
Она Может Остановить Дождь 😱
00:20
Новые iPhone 16 и 16 Pro Max
00:42
Просмотров 563 тыс.
Meet Scrypted - Stream ANY Camera to ANY Home Hub
8:47
IKEA AIR quality sensor Home Assistant upgrade
22:56
Просмотров 29 тыс.
I put this in EVERY room! Smart room detection 😲
5:13