Madoka Emulation #67
Replies: 2 comments 3 replies
-
Hi @javimurcia, Well, you can power the ATmega and the ESP via the GND and 3V3 wires of the ESP01-program connector, but I do not recommend it. The reason is that the DC/DC converter will feed the 3V3 to the Vraw of the MAX22088 which is then powered with approximately 2.7V when the bus is unpowered, and this may give unexpected results - although I do not expect any strange things if this is for just a few seconds (the same happens during USB-programming but in that case there is no connection to the bus). If you want to take the risk, you can do it: GND in corner of PCB marked GND, and 3V3 diagonally across near ESP and capacitor and marked 3V3. The ESP01-programmer can be used to provide 3V3. It is indeed important to use a stand-alone power-bank to avoid any coupling issues. To maintain the ATmega-ESP serial connection via the jumper, two female-female Dupont wires (or less safe: two female-male wires) between interface and the programmer can be used for GND and 3V3. Power consumption for the WiFi version is 110mA if the bus is unpowered. This only provides power to the ATmega and ESP, and not to the MAX22088, so this only works to bridge the power-cycle, and does not provide a solution for systems without bus power. The next interface version v1.2 will have an option for an external power supply for that reason. Another solution would be to change the ATmega and/or ESP code (increase buffer size etc) such that an attempt is made to store all raw data until WiFi becomes available. |
Beta Was this translation helpful? Give feedback.
-
Btw, it appears that madoka is acting as the second auxiliary controller, as it respond to 0x00F1 messages. Few snippets below (i'll try to capture a proper trace including the initialization)
There are no other 40Fx (appart from 40F1) messages on the bus |
Beta Was this translation helpful? Give feedback.
-
I'm working on capturing the communication between the indoor unit and the madoka room thermostat (human comfort interface, BRC1HHDx)
But, whenever i reboot the interior unit, the P1P2 bus is also power cycled, so i'm losing the startup sequence, since the ESP8266 is busy connecting to WiFi and the MQTT broker (i'm not seeing any 80 addressed packet)
I'm using the P1P2-ESP-interface v1.1. Is there any way to supply power over the programming pins, so the device doesn't shutdown when the indoor unit restarts? i was thinking of using a power bank to rule out weird coupling issues.
any idea @Arnold-n?
Beta Was this translation helpful? Give feedback.
All reactions