-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Air condition remains offline. Any way to troubleshoot? #21
Comments
Hello! What is your hardware ? Off-she-shelf 8266 ? If so, welcome to #20 |
Its a home brew PCB with esp8266 based on the pinout of this design and two BSS138 fets for level shifting on Rx, Tx lines. Will post full schematic when i get home later. |
Well, actually two options here:
If you have a PL2303 or similar adapted, you can tap into lines and see what's going on. Use hex-capable terminal. Parameters are 2400 8E1 |
Hello! I immediately see one mistake. Your level shifters are inverting (you copied them from RevK's ESP32 design, correct?) 8266 apparently does not support pin inversion, so i removed that feature.
I can try bringing it back for you to test if you want to. I think 8266 doesn't support it at all because i am doing all the development with an A/C simulator, running on PC, connected via pl2303; and changing polarity didn't seem to affect anything. So either pl2303 is too smart, or 8266 has no inversion for real
…On Aug 4, 2024, 17:39, at 17:39, yiannosi ***@***.***> wrote:
So this is the schematic:
![image](https://github.com/user-attachments/assets/94cbf983-e3dc-4586-8797-7c422d9e5d2e)
--
Reply to this email directly or view it on GitHub:
#21 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Hmm isn't it possible to do inversion in software? What if I install pull up resistors...somehow.. |
It is possible to configure serial port to do the inversion; but as i said above, that's probably ignored. |
Done; and i understood why it didn't work before. Stupid bug. |
Important note: if you want to flash manually, the binary is on branch called "pin_inversion". My bad.
…On Aug 4, 2024, 20:34, at 20:34, yiannosi ***@***.***> wrote:
> Hello! I immediately see one mistake. Your level shifters are
inverting (you copied them from RevK's ESP32 design, correct?) 8266
apparently does not support pin inversion, so i removed that feature. I
can try bringing it back for you to test if you want to. I think 8266
doesn't support it at all because i am doing all the development with
an A/C simulator, running on PC, connected via pl2303; and changing
polarity didn't seem to affect anything. So either pl2303 is too smart,
or 8266 has no inversion for real
> […](#)
> On Aug 4, 2024, 17:39, at 17:39, yiannosi ***@***.***> wrote: So this
is the schematic:
![image](https://github.com/user-attachments/assets/94cbf983-e3dc-4586-8797-7c422d9e5d2e)
-- Reply to this email directly or view it on GitHub: [#21
(comment)](#21 (comment))
You are receiving this because you commented. Message ID: ***@***.***>
Hmm isn't it possible to do inversion in software?
What if I install pull up resistors on tx, rx 3v3 side?
--
Reply to this email directly or view it on GitHub:
#21 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Great thanks! I will try it later today hopefully. It will have to be OTA since I cant do manual upgrade unless I disolder the ESP module because of the inverters.. |
Sorry but cant find a "beta release" on basic settings page. |
That was another bug i fixed recently. Update to the latest release first.
Alternatively you can simply append "/beta" to update URL as a workaround; that's what the switch effectively does.
…On Aug 5, 2024, 17:42, at 17:42, yiannosi ***@***.***> wrote:
> Done; and i understood why it didn't work before. Stupid bug.
> You can grab a beta release from "betarelease" folder in my repo and
flash manually; or you can change OTA URL to
http://faikin-ota.home-assistant.my/ , then enable "Beta software"
switch on "Basic" settings page, then do the upgrade.
> On "Advanced" page you'll see two new settings: swaptx, swaprx.
Enable them both; that should work,
Sorry but cant find a "beta re;ease" on basic settings page.
--
Reply to this email directly or view it on GitHub:
#21 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
|
Frankly speaking i am no expert in transistor circuits. But i know that a commonly used cirquit is https://circuitdigest.com/tutorial/bi-directional-logic-level-controller-using-mosfet If you look at original Daichi design; they also use it for RX side. |
Managed to update to beta version OTA. Connecting it to a serial terminal at 2400bps, I just receive a series of '??????' characters |
There's a lot you can do.
|
Thanks so much for your help!
I used a TTL to usb adapter at 5v connected to Rx, Tx terminal (where the AC connects) , and used arduino serial monitor. |
To terminals of your Faikin, correct ? |
yes you are right! |
i see...nothing like what I saw ! |
And this is in RealTerm with hex display |
Protocol doc is here: https://github.com/Sonic-Amiga/ESP8266-Faikin/blob/main/Manuals/S21.md , kindly provided by @revk . See the source code for more questions. Note that simulator doesn't implement all the commands; only the very basic ones. But you actually don't really need to know that in order to solve your task. You only need to know what the proper data looks like and here it is. You're welcome and sorry for only being of passive help. You see, original project's goal was to run Faikin on off-the-shelf solution, which i just happened to already own. I am surprised that there's such a big interest to replicating the HW. I could eventually order a D1-mini myself and try replicating your design; i really see nothing bad in it. But frankly speaking i'm busy. For the start, i'd suggest you to get to a known good state. Disconnect everything, connect your USB adapter directly to 8266 and set it to 3.3V. You REALLY SHOULD see data. If not, well, your 8266 is probably blown. By the way, for quick check, Faikin supports loopback test as described here #20 (comment) Works in the latest release (and in beta too) |
If interested, we could do something better: I have spare PCBs of this design and if you are happy with SMD soldering, I could send you a some by mail. Just give me your mailing address. You then just need to find the components. By the way, which compiler do I need for the simulator? |
You're welcome if your country ships to Russia. Drop me an email at pavel_fedin <at> mail.ru and i will reply with address
…On Aug 7, 2024, 07:35, at 07:35, yiannosi ***@***.***> wrote:
> I could eventually order a D1-mini myself and try replicating your
design; i really see nothing bad in it. But frankly speaking i'm busy.
If interested, we could do something better: I have spare PCBs of this
design and if you are happy with SMD soldering I could send you a some
by mail. Just give me your mailing address.
:)
--
Reply to this email directly or view it on GitHub:
#21 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
|
I ve sent you an email... |
I ain't got no mail... 🤷 |
New email sent to gmail acoount |
Now tested and works on model FTXS42JV1B apart from powerful mode which doesnt work.. |
Great! |
Sure. I think i ve already sent you the schematic. |
Known issue: revk#441 I am launching a new release right now, it has some fixes regarding that; but FTXS is known not to work. Just like my ATX20V. They belong to a different family from FTXF (where everything now works). Unfortunately i failed to find respective control commands on my units. Perhaps it has incomplete S21 support, because i have an original Daikin BRP online controller, i tried to reverse-engineer from that, but it does not give me those controls. Perhaps unsupported. :( I am working on improvements to S21 simulator for better reverse engineering support, and better testing support. Over time i may ask you to run some scripts to collect profiles from your A/C to try simulating it. If you don't mind. |
I'll get that on ota when I am back from coffee. |
I have built the ESP 8266 variant to be use on a Daikin FTXS42JV1B unit.
I have easily located the S21 port and connected to it. See below.
Faikin module connects to WiFi as expected but the air conditioner appears to be offline on the web interface page of the module.
And below connected with Faikin:
Any ideas? Any way to debug / troubleshoot whats going on?
The text was updated successfully, but these errors were encountered: