jnicolson / panasonic_ac_wifi

Module to interface with the CN-CNT port on Panasonic airconditioner units
Creative Commons Attribution 4.0 International
17 stars 2 forks source link

Requesting some infos #1

Open Stinocon opened 2 years ago

Stinocon commented 2 years ago

Wow! This project seems to be right up my alley! I have two Panasonic CZ-TACG1's built into Home Assistant but as we know they are not very reliable. I was a bit put off by the other projects because I'm not very good at soldering but if I understand correctly I should just get this one manufactured, get a cable, put ESPHome in it and plug it in. That's it.

I have some questions:

1) Can you link me where exactly to buy the cable that is needed? Or at least a picture of the two ends so I can look for it in some EU store. 2) To flash other ESP modules I normally use dupont cables (I think they are called like that) and then connect them to a USB programmer... Does this work in the same way? I guess I have to use the PINs on the "white" connector.

Thanks!

jnicolson commented 2 years ago

Hi, Yes in theory someone like JLCPCB and their assembly service should be able to assemble this for you - I assembled this myself but all the parts were from LCSC so i think that means they should all be available at JLC (and there's probably others - JLC is just the one i'm aware of).

I don't think you could buy a pre-made cable unfortuantely. The picoblade end you can - something like this: https://www.adafruit.com/product/4722 the female end should plug straight in to controller board. For the air conditioner end, JST PA doesn't seem to be very popular with makers, it's easy to get JST-PH cables but not JST-PA. If you really wanted to avoid crimping you could probably buy something like https://www.digikey.com/en/products/detail/jst-sales-america-inc/APAPA22K152/6009461 along with the housing https://www.digikey.com/en/products/detail/jst-sales-america-inc/PAP-05V-S/759977 . You would then just need to join the picoblade tail to the JST-PA jumpers and insert them into the housing (making sure the get the pinout correct). Joining them I would solder but if you're really against soldering then you could use a wago connector without issue.

To flash you could insert dupont connectors into the header to the right of the ESP32 - if you have an ESP32 type programmer then you don't need to do anything but if it's just a USB to serial adapter then you'll have to put it into programming mode manually (pull IO0/BOOT to ground by connecting a jumper between them then pull RESET to ground to reset it into boot mode). It'd be a bit difficult as you would need to keep pressure on dupont connectors to make contact but you only have to do it once I guess?

Hope this answers your questions!

Romkabouter commented 1 year ago

I have order 5 units from JLCPCB and I can confirm they work. You should however use GPIO4 fro RX and GPIO16 for TX, this can also be found in the schematic

This was my order.

image

I have installed 1 in an airco, but need some connectors to install the second. Integrates fine with HA

image image
Romkabouter commented 1 year ago

Note that my units have a header on U3

dvanp commented 1 year ago

I have order 5 units from JLCPCB and I can confirm they work. You should however use GPIO4 fro RX and GPIO16 for TX, this can also be found in the schematic

This was my order. image

I have installed 1 in an airco, but need some connectors to install the second. Integrates fine with HA

image image

That's great! Would you be willing to share the files you used to order at JLCPCB?

Romkabouter commented 1 year ago

Sure, I ran into so problems with the positioning so I will try and fix that. Other people should be able to upload and order without those issues :)

Romkabouter commented 1 year ago

Attached is a gerberfiles.zip, this includes the drill files and all. Also attached is a bom.csv (bill of materials) and a cpl.csv (the position file) bom.csv cpl.csv gerberfiles.zip

dvanp commented 1 year ago

Attached is a gerberfiles.zip, this includes the drill files and all. Also attached is a bom.csv (bill of materials) and a cpl.csv (the position file) bom.csv cpl.csv gerberfiles.zip

Thanks, I've just ordered 5 as well!

Romkabouter commented 1 year ago

This is my config:

esphome:

  name: airco-bedroom
  friendly_name: Airco bedroom

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: !secret encryption_key

ota:
  password: !secret wifi_password

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Airco-Bedroom Fallback Hotspot"
    password: "vRXDT1a6XiNW"

captive_portal:

uart:
  tx_pin: GPIO16
  rx_pin: GPIO4
  baud_rate: 9600
  parity: EVEN

external_components:
  source: github://DomiStyle/esphome-panasonic-ac
  components: [panasonic_ac]

climate:
  - platform: panasonic_ac
    type: cnt
    name: AC Bedroom
    horizontal_swing_select:
      name: AC Bedroom Horizontal Swing Mode
    vertical_swing_select:
      name: AC Bedroom Vertical Swing Mode
    outside_temperature:
      name: AC Bedroom Outside Temperature
    current_power_consumption:
      name: AC Bedroom Power Consumption
Romkabouter commented 1 year ago

I have ordered a 4 pin molex from here: https://nl.aliexpress.com/item/1005004538678776.html?spm=a2g0o.order_list.order_list_main.4.21ef79d2WbtVTg&gatewayAdapt=glo2nld Make sure to select 4P

And the JST-PA from here https://nl.aliexpress.com/item/1005005390614645.html?spm=a2g0o.order_list.order_list_main.9.21ef79d2WbtVTg&gatewayAdapt=glo2nld Make sure to select 5P

I hope they are the correct connectors. My plan is to connect them for my other 4 units, one is with some soldered wire.

mistaoh commented 1 year ago

I ended up buying https://mou.sr/45C09PS premade cable assembly with the molex picoblade and a JST-PA crimp kit https://www.cqrobot.com/index.php?route=product/product&product_id=1485

Sh1bbyz commented 9 months ago

Attached is a gerberfiles.zip, this includes the drill files and all. Also attached is a bom.csv (bill of materials) and a cpl.csv (the position file) bom.csv cpl.csv gerberfiles.zip

Hello @Romkabouter !

Thank you so much for this! This seems exactly what I am after!
I am about to order this but have some doubts. Mainly I am worried that the connector for SW1 is missing from the BOM? It seems from your picture that you have something there?

image

image

image

image

Thank you in advance and forgive me for my incompetence in this!

Romkabouter commented 9 months ago

That seems strange indeed! When I check my order details this is also missing in the bom. When I look at my order, I see this switch:

image

But I can spare you the ordering, because I have three of these products doing nothing.

I do not know where you live, but maybe I can send one againt cost price? I bought 5 (lowest amount possible) for 65 euro's and I am willing so send it for 13 euros (excluding shipping)

image

You can PM me if intrested

Sh1bbyz commented 9 months ago

That seems strange indeed! When I check my order details this is also missing in the bom. When I look at my order, I see this switch: image

But I can spare you the ordering, because I have three of these products doing nothing.

I do not know where you live, but maybe I can send one againt cost price? I bought 5 (lowest amount possible) for 65 euro's and I am willing so send it for 13 euros (excluding shipping)

image

You can PM me if intrested

Sure, I am interested! I live in Sweden. I couldnt figure out how to PM here but please email me at 96k0xgsf@duck.com.

Thanks!

codyc1515 commented 9 months ago

I would be interested to purchase one also.

Romkabouter commented 9 months ago

I would be interested to purchase one also.

Hi @codyc1515, I am sorry but just while you send this message I sold all three of them. Sorry about that

brasdata commented 8 months ago

Hi, what is the part number of the missing switch?

jnicolson commented 8 months ago

Hi, what is the part number of the missing switch?

When I populated mine, I used LCSC part C500065 (https://www.lcsc.com/product-detail/_XKB-Connectivity-_C500065.html). I assembled mine manually so bought from LCSC, but JLCPCB have it in their parts library.

Romkabouter commented 8 months ago

Hi, what is the part number of the missing switch?

image