z03mmc icon indicating copy to clipboard operation
z03mmc copied to clipboard

Is possible to add support for IKEA-VINDRIKTNING?

Open OXOTH1K opened this issue 2 years ago • 13 comments

Тут недавно был опубликован проект. Получится ли этот датчик скрестить с Xiaomi термометром? В теории выглядит реально.

OXOTH1K avatar Nov 03 '23 12:11 OXOTH1K

В теории - да, если найдётся энтузиаст, который модифицирует прошивку. У меня нет икеевского датчика и на данный момент заниматься этим неинтересно.

devbis avatar Nov 03 '23 14:11 devbis

the VINDRIKTNING does not have any wireless hardware at all

Habbie avatar Nov 03 '23 18:11 Habbie

@Habbie the idea is to solder the board to uart from that sensor, read packets with pm2.5 measurements, and export them to zigbee network in appropriate clusters.

devbis avatar Nov 03 '23 18:11 devbis

oh! that could totally work! Let me know if you need help or want me to test, I wrote https://esphome.io/components/sensor/pm1006.html including the code, and I have spares of both the VINDRIKTNING and the 03MMC :)

Habbie avatar Nov 03 '23 18:11 Habbie

this would also solve the battery life issue ;)

Habbie avatar Nov 03 '23 18:11 Habbie

PTVO firmware seems to support this sensor.

Ctrl-F4 avatar Nov 04 '23 12:11 Ctrl-F4

I wrote PoC firmware to add IKEA Vindriktning to zigbee network using lywsd03mmc board. Here is the compiled firmware https://github.com/devbis/z03mmc/actions/runs/7323760450

And here is a short (text) description for soldering https://github.com/devbis/z03mmc/tree/vindriktning#ikea-vindriktning-upgrade

Shortly, you need DC-DC from 5V to 3V and some wires.

photo_2023-12-25 23 20 00

@Habbie @OXOTH1K

devbis avatar Dec 25 '23 19:12 devbis

Great work! Thanks, @devbis

OXOTH1K avatar Dec 26 '23 10:12 OXOTH1K

Should Vindriktning REST really be connected directly to 3.3v? It's a data line that should go to some data in on the 03mmc right? At least on the board I have B1 is directly connected to 3.3v. Or am I misunderstanding the written instructions?

From https://github.com/devbis/z03mmc/tree/vindriktning?tab=readme-ov-file#ikea-vindriktning-upgrade VDRKN REST --> 03MMC B1 pin

In case of revisions B1.5/B1.6 you need to detach 2 pins (or just the second right bottom) from the board. There should be no contact with B1 and any pin on the UART display chip.

VDRKN_03MMC

B1 (directly connected to 3.3V VDRKN_03MMC_B1

guzzard avatar Nov 12 '24 23:11 guzzard

No, it should be a gpio pin. Maybe it is p11 here?

devbis avatar Nov 13 '24 17:11 devbis

No, it should be a gpio pin. Maybe it is p11 here?

Yeah, I think P11 is the right pin? It is connected to UART_RX on the TLSR8251F512ET24 chip. It also means I should disconnect pin 16 on the display chip right? Marked with purple in the picture. Since it's also connected to P11..

traceout connections

guzzard avatar Nov 13 '24 20:11 guzzard

https://github.com/devbis/z03mmc/blob/vindriktning/src/board_8258_03mmc.h#L44

Yes, PB7/RX is used to receive data from the sensor. You should use P11. I also used rev 1.5 for converting, but can't find the device.

And yes, you need to lift up 1-2 pins on the bottom right side of the display chip (to free P11)

devbis avatar Nov 14 '24 06:11 devbis

https://github.com/devbis/z03mmc/blob/vindriktning/src/board_8258_03mmc.h#L44

Yes, PB7/RX is used to receive data from the sensor. You should use P11. I also used rev 1.5 for converting, but can't find the device.

And yes, you need to lift up 1-2 pins on the bottom right side of the display chip (to free P11)

Working great, thanks!

guzzard avatar Nov 23 '24 15:11 guzzard