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

Поділитися
Вставка
  • Опубліковано 13 гру 2021
  • 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
  • Наука та технологія

КОМЕНТАРІ • 60

  • @jack_brooks
    @jack_brooks 2 роки тому +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.

  • @magnus-thome
    @magnus-thome 2 роки тому

    Just had to buy a Vindriktning after seeing your video 😁👍 Always good stuff on your channel 👍

  • @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.

  • @andreijecu765
    @andreijecu765 2 роки тому

    yes thank you for the info!

  • @MrFireBath
    @MrFireBath 2 роки тому +3

    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 👍

  • @opontios
    @opontios 2 роки тому +3

    Except for the video you don't show a connection diagram anywhere, or I missed it?

  • @frollard
    @frollard 2 роки тому +3

    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!

  • @mikenichols4313
    @mikenichols4313 7 місяців тому

    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.

  • @a_demain
    @a_demain Рік тому

    Brilliant!

  • @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

  • @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!

  • @ristomatti
    @ristomatti 2 роки тому +6

    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 роки тому +1

      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.

  • @parvi4love
    @parvi4love 2 роки тому +3

    Sorry I am a newbie. Can you please help me with the wiring diagram for this setup?

    • @opar7s
      @opar7s 2 роки тому +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.

  • @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 ,

  • @jordanwaeles
    @jordanwaeles 2 роки тому +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 роки тому +1

      Would be cool but I don't think it will fit 😬

  • @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

  • @progamermat
    @progamermat 11 місяців тому

    Great work, can we replace the IKEA LED indicators with an OLED display?

  • @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

  • @AntoninKral
    @AntoninKral 2 роки тому +2

    You can configure your wifi directly with Tasmorizer. Check the "Send config" button. No need for the hotspot dance.

    • @voltlog
      @voltlog  2 роки тому +1

      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"

  • @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?

  • @rdp8545
    @rdp8545 2 роки тому +1

    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 роки тому +1

      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.

  • @DustinGrady
    @DustinGrady Рік тому +1

    I'm not sure if I am missing it, but can you link which ESP8266 module that is specifically?

  • @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 👌

  • @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.

  • @gordoncreAtive
    @gordoncreAtive 2 роки тому +1

    Is there enough clearance for the fan to push air through now?

    • @voltlog
      @voltlog  2 роки тому +1

      It's a blower type fan, does not need any clearance on that side.

  • @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.

  • @Chriva
    @Chriva 2 роки тому +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 роки тому +1

      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 ?

  • @giacomo1191
    @giacomo1191 2 роки тому

    Nice hack

  • @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 роки тому +1

      Yes it does run intermittently but that's also annoying if you have very sensitive hearing.

  • @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.

  • @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 роки тому +1

      @@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 роки тому +1

      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