MHI-AC-Ctrl icon indicating copy to clipboard operation
MHI-AC-Ctrl copied to clipboard

Veroboard design using ESP8266 NodeMCU

Open ThomasHFWright opened this issue 4 years ago • 8 comments

If anyone is interested in an alternative design not requiring a PCB, I remapped the existing circuit diagram to Veroboard. I also swapped out to a NodeMCU module as they were cheaper for me. Note I swapped the MISO/MOSI pins directly on the board, so there isn't any crossover required in the wiring.

I used some software called VeroRoute to create these designs

veroroute-image-top

aircon-veroroute-design.zip Veroroute cutout.pdf Veroroute top.pdf

completed-board Installed

ThomasHFWright avatar Jul 01 '20 14:07 ThomasHFWright

Thank you very much for sharing. It will definitely help users with their first steps! :thumbsup:

(only one hint: I would not recommend to locate the PCB near the power supply connectors without a proper isolation)

absalom-muc avatar Jul 02 '20 06:07 absalom-muc

I do have the whole circuit shrink wrapped in clear plastic, would you say that is not enough isolation? (I'm quite a newbie to electronics in general)

ThomasHFWright avatar Jul 03 '20 12:07 ThomasHFWright

From "electrical safety" point of view it is not enough. I assume the isolation voltage is not defined for the plastic. Or if you have an unexpected heating of the ESP8266 board, the plastic could meld. Or if you connect the USB to the board for testing, you are near the power supply connectors, you could accidentally touch the connectors. Therefore I recommend to locate the PCB outside of the AC housing.

absalom-muc avatar Jul 03 '20 19:07 absalom-muc

Thanks for sharing! I had never heard of VeroRoute before. And although I would not call it intuitive, the tutorial (Help -> Tutorial) is pretty helpful. I used a slightly different layout (since I couldn't easily source a TSR 1-2450).

This design uses a LOLIN D1 Mini for the ESP8266, a Polulu 2843 for the 5v supply and a Polulu 2595 for the level shifter. I used a 5cm*7cm perfboard with mostly solder traces and a couple of wires for the longer 5V and GND traces. The board is located in the AC housing, wrapped in 400V isolation tape and fixed in place using the same tape.

Veroroute cutout alt

As a first functional electronics project it was pretty fun to do. The hardest part was actually getting to the connector. I have the SRK35ZS-W, which requires you to take off the top and bottom panel to reach the low voltage electronics. instructions.pdf

For additional fun, my unit has been installed with the refrigerant lines running through a hole in the bottom panel, which means I can't actually remove it. It's still possible to get the top panel off and then temporarily screw the bottom panel back to the unit, so you can work without the bottom panel dangling, but it's still a bit annoying.

On the software side, I had to change some config in support.h and MHI-AC-Ctrl.h to suit Home Assistant. Namely changing the MQTT payloads to lowercase, TEMP_MEASURE_PERIOD to 0 and POWERON_WHEN_CHANGING_MODE to true, in addition to the usual configuration.

aricon-veroroute-design-alt.zip

[edit] Switched the model numbers for the pololu modules around.

Rescla avatar Jan 17 '21 16:01 Rescla

@Rescla could you post some images of your design? Maybe you took some before closing the unit :-)

SpatialJ avatar Jun 28 '21 11:06 SpatialJ

@Rescla could you post some images of your design? Maybe you took some before closing the unit :-)

I hadn't, of course. I was just happy to get it working :P But I will take some pictures when I have the chance.

Rescla avatar Jun 28 '21 12:06 Rescla

@SpatialJ Does this help? IMG_20210628_165738 IMG_20210628_165747 Bottom image is mirrored so they line up correctly.

IMG_20210628_170510

Rescla avatar Jun 28 '21 15:06 Rescla

Yes, thank you very much!

SpatialJ avatar Jun 28 '21 16:06 SpatialJ

I've created a PCB a while ago, attached are the gerber files. Gerber_v1.5 - COPPER_2023-01-22.zip

Siumba avatar Jan 22 '23 11:01 Siumba

Closed because of no activity for a long time

glsf91 avatar Oct 02 '23 10:10 glsf91