Git Product home page Git Product logo

Comments (18)

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

has seen 900uS mark, but others have recorded 1000uS mark, including my testing

This is a surprise-surprise!

I've dug down my archives and found raw_sampler dumps made by @dremugit. Here they are:

Air conditioner sending once per second to emptiness, no wall panel attached:

13:51:56.201 -> 0 2616 1 992 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 988 0 312 1 992 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 452 0 252 1 388 0 324 1 992 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 992 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 404 0 300 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 452 0 252 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 404 0 300 1 388 0 348 1 356 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 404 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 992 0 312 1 388 0 316 1 388 0 312 1 16324 0 2016 1 931120
                0 2616 1 992 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 988 0 312 1 992 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 392 0 312 1 424 0 276 1 388 0 328 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 988 0 312 1 392 0 312 1 992 0 308 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 304 1 388 0 372 1 328 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 304 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 404 0 300 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 424 0 280 1 388 0 324 1 376 0 316 1 388 0 312 1 992 0 312 1 388 0 312 
13:51:58.289 -> 0 2620 1 992 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 988 0 316 1 388 0 312 1 388 0 316 1 400 0 300 1 388 0 372 1 332 0 312 1 988 0 324 1 380 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 448 0 252 1 992 0 312 1 400 0 300 1 992 0 312 1 424 0 276 1 392 0 324 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 400 0 300 1 392 0 376 1 324 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 300 1 392 0 324 1 376 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 400 0 304 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 392 0 312 1 16324 0 2016 1 931376
                0 2616 1 992 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 992 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 988 0 312 1 392 0 312 1 388 0 312 1 424 0 276 1 392 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 992 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 404 0 300 1 388 0 372 1 332 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 400 0 304 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 300 1 392 0 324 1 376 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 308 1 392 0 312 1 424 0 276 1 388 0 328 1 376 0 312 1 388 0 312 1 992 0 312 1 388 0 312 
13:52:00.323 -> 0 2616 1 988 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 988 0 312 1 992 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 400 0 300 1 388 0 376 1 328 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 988 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 404 0 300 1 388 0 324 1 376 0 312 1 392 0 308 1 392 0 312 1 412 0 288 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 308 1 392 0 312 1 424 0 276 1 392 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 316 1 384 0 312 1 388 0 316 1 388 0 312 1 400 0 300 1 392 0 372 1 328 0 312 1 388 0 312 1 392 0 312 1 988 0 316 1 388 0 312 1 388 0 312 1 16320 0 2016 1 931440
                0 2616 1 992 0 312 1 400 0 300 1 388 0 324 1 380 0 312 1 988 0 376 1 940 0 300 1 392 0 320 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 988 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 324 1 376 0 316 1 388 0 312 1 988 0 316 1 388 0 312 1 988 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 400 0 300 1 392 0 320 1 380 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 448 0 256 1 388 0 324 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 300 1 388 0 372 1 332 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 400 0 300 1 988 0 312 1 452 0 252 
13:52:02.404 -> 0 2612 1 992 0 316 1 396 0 304 1 388 0 324 1 376 0 312 1 992 0 344 1 968 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 392 0 308 1 392 0 312 1 388 0 312 1 388 0 312 1 400 0 300 1 392 0 324 1 376 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 400 0 304 1 388 0 324 1 376 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 448 0 252 1 388 0 324 1 380 0 312 1 388 0 312 1 388 0 316 1 384 0 316 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 372 1 328 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 400 0 304 1 988 0 312 1 448 0 252 1 392 0 324 1 16300 0 2012 1 931452
                0 2616 1 992 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 988 0 312 1 992 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 988 0 316 1 388 0 312 1 388 0 312 1 424 0 280 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 988 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 400 0 300 1 392 0 372 1 328 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 388 0 312 1 404 0 296 1 392 0 324 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 424 0 276 1 388 0 324 1 380 0 312 1 388 0 312 1 992 0 312 1 396 0 304 
13:52:04.457 -> 0 2616 1 992 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 992 0 312 1 988 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 300 1 992 0 312 1 400 0 304 1 388 0 376 1 324 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 992 0 312 1 388 0 316 1 988 0 312 1 392 0 312 1 388 0 312 1 400 0 304 1 388 0 324 1 380 0 308 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 400 0 300 1 388 0 328 1 376 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 424 0 276 1 392 0 324 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 400 0 304 1 388 0 376 1 324 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 388 0 312 1 16312 0 2016 1 930488
                0 2620 1 988 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 988 0 316 1 988 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 404 0 300 1 388 0 348 1 356 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 988 0 312 1 392 0 312 1 992 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 324 1 380 0 316 1 384 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 452 0 248 1 388 0 328 1 376 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 400 0 300 1 388 0 348 1 356 0 312 1 392 0 308 1 392 0 312 1 988 0 312 1 392 0 312 

(every second packet is trimmed due to limited buffer space)
Here i broke down the first line for you:

13:51:56.201 -> 0 2616 1 992 - SYNC START
                64 data bits follow:
                0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 988 0 312 1 992 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 452 0 252 1 388 0 324 1 992 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 392 0 312 1 992 0 312 1 388 0 312 1 992 0 312 1 388 0 312 1 404 0 300 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 452 0 252 1 388 0 324 1 376 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 404 0 300 1 388 0 348 1 356 0 312 1 388 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 392 0 312 1 388 0 312 1 388 0 312 1 404 0 300 1 388 0 324 1 380 0 312 1 388 0 312 1 388 0 316 1 388 0 312 1 388 0 312 1 992 0 312 1 388 0 316 1 388 0 312
				1 16324 0 2016 - DELAY (16 ms), END (2 ms low)
				1 931120 - IDLE state before the next packet arrived

Hah, indeed. Ones are 980 usecs...

Here are some wall panel "replies":

13:53:43.346 -> 0 2604 1 976 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 944 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 384 0 360 1 940 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 944 0 356 1 944 0 356 1 392 0 356 1 16172 0 2012 1 927960 0 2596 1 976 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 384 0 360 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 944 0 356 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 944 0 360 1 940 0 360 
13:53:45.443 -> 0 2596 1 976 0 356 1 388 0 356 1 944 0 360 1 940 0 360 1 384 0 360 1 944 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 16172 0 2008 1 923760 0 2596 1 972 0 360 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 356 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 940 0 360 1 384 0 360 1 940 0 360 1 388 0 360 1 384 0 360 1 384 0 360 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 356 1 944 0 356 
13:53:47.491 -> 0 2592 1 976 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 384 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 940 0 360 1 388 0 372 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 940 0 360 1 944 0 356 1 388 0 360 1 16168 0 2004 1 927984 0 2592 1 976 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 944 0 356 1 944 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 940 0 360 1 940 0 360 
13:53:49.541 -> 0 2596 1 976 0 356 1 388 0 356 1 944 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 944 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 944 0 356 1 944 0 356 1 392 0 356 1 16172 0 2008 1 927924 0 2596 1 976 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 944 0 356 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 356 1 388 0 356 1 944 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 944 0 356 1 944 0 360 
13:53:51.607 -> 0 2596 1 972 0 360 1 388 0 356 1 944 0 356 1 944 0 360 1 384 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 360 1 384 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 940 0 360 1 944 0 356 1 392 0 356 1 16172 0 2008 1 927440 0 2592 1 976 0 360 1 384 0 360 1 944 0 356 1 944 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 940 0 360 1 944 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 392 0 356 1 384 0 360 1 948 0 352 1 388 0 356 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 372 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 944 0 356 1 944 0 360 
13:53:53.644 -> 0 2592 1 976 0 360 1 388 0 356 1 944 0 360 1 940 0 360 1 388 0 356 1 944 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 944 0 356 1 392 0 368 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 360 1 16168 0 2008 1 927908 0 2592 1 976 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 356 1 944 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 940 0 360 1 940 0 360 1 388 0 360 1 384 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 940 0 360 1 388 0 356 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 356 1 944 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 384 0 360 1 388 0 356 1 388 0 360 1 388 0 356 1 944 0 356 1 944 0 356 

Ones are about 940 usecs...
By looking at columns i see that the protocol is no f*cking precise at all.

This is what i took from my "Daichi" 3rd party cloud controller; the only thing i personally have on hands. That's where i took 900 us from:

0 2604 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 304 1 896 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 896 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 971340 0 2604 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 971024 0 2604 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 
0 2600 1 1000 0 304 1 896 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 404 0 296 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 308 1 396 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 896 0 304 1 900 0 300 1 900 0 300 1 970372 0 2604 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 970444 0 2604 1 1000 0 304 1 896 0 304 1 896 0 304 1 400 
0 2600 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 970996 0 2604 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 900 0 304 1 971412 0 2604 1 1000 0 300 1 900 0 304 1 896 0 304 1 400 
0 2600 1 1000 0 304 1 900 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 900 0 300 1 900 0 300 1 900 0 300 1 970852 0 2604 1 1000 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 900 0 300 1 972964 0 2604 1 1000 0 300 1 900 0 304 1 896 0 304 1 400 
0 2604 1 1000 0 304 1 900 0 300 1 896 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 900 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 900 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 896 0 304 1 896 0 304 1 896 0 304 1 900 0 300 1 971028
0 2604 1 1000 0 300 1 900 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 896 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 900 0 300 1 900 0 300 1 400 0 304 1 400 0 304 1 396 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 304 1 396 0 304 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 400 0 300 1 400 0 304 1 396 0 304 1 900 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 400 0 304 1 400 0 300 1 400 0 300 1 900 0 300 1 900 0 304 1 896 0 304 1 896 0 304 1 971092

We clearly see there's no "DELAY END" sequence here.

This all completelly baffling. It seems that the protocol is actually super-tolerant. Damn, i have no idea why our tx doesn't work. Especially knowing, that tx code in my Arduino bridge DOES work, two people have confirmed that.

There aren't many variables here, really. We are just totally blind... We miss a ve-e-e-e-ry tiny detail.

Unfortunately Glinka has stopped giving me feedbacks, and i have nobody else to test with, I intentionally don't copy everything you're doing because it makes much more sense to try different things.

Also i would suggest to ignore new packet types for now. I think that perhaps they have come to the same conclusion as we did: not reporting actual state sucks; and checksum algo is LOL. They tried to fix this by extending the protocol in backwards compatible manner.

As to unknown bytes [1] and [2]; there definitely should be some capability flags. The AC must have way to indicate which optional features it supports (like H/V swing, LED control, etc). These flags must come with packet type 0, because that's the only data sent regularly. We can try correlating data in those packets to AC models and features they have. But that's low priority; we need to beat tx. We're definitely doin' it wrong(tm); and this wrongness is damn simple.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

By the way, those who aren't afraid of Arduinos, can do two-way dump right now:

  1. Download code from my repo. The sketch you need is in Tools/Simulators/CN_WIRED/bridge
  2. Uncomment "#define RX2_PIN 3"
  3. If you want to get raw timings dump, uncomment also "#define DUMP_TIMINGS"
  4. Wire pin 2 to one line and pin 3 to another. Just in parallel with the wall panel. Yes, you need 5V arduino.
  5. Flash the sketch in, obviously
  6. Open serial port monitor in Arduino IDE, or any standalone terminal app on Arduino's COM port
  7. Watch the logs coming. It will look something like this:
Rx1 80 24 04 50 00 00 00 10 00 OK
Rx2 80 21 00 23 18 08 00 10 A0 OK
Rx1 80 24 04 50 00 00 00 10 00 OK
Rx2 80 21 00 23 18 08 00 10 A0 OK
Rx1 80 24 04 50 00 00 00 10 00 OK
Rx2 80 21 00 23 08 08 00 10 90 OK

Note this is an old dump; newer version will add microsecond timestamp to each packet, so that they can be correlated in time. Timings, if enabled, will look like long string of numbers. Something like:

Rx1 T 2600 1000 300 400 300 400 300 900 ...

(this isn't a real example, i made it up because i only used it to calibrate my own ESP8266 tx routine, and never saved such logs)

from esp32-faikin.

revk avatar revk commented on July 18, 2024

I could perhaps be electrical?

Does anyone using a Faikin board on CN_WIRED have an oscilloscope they can use to check Tx?

The board was designed for serial, where the Daikin has internal pull ups, so is driven open drain. But if there is not a pull up, then we need to ensure the 5V is connected to there Faikin board to pull up.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

@revk Good thing to check. You may look at schematic of "Daichi" controller in my repo under Hardware/; maybe this will give you some hints. I agree that Tx circuit looks weird; but i rechecked 10 times; Q1 indeed goes to Vcc, and R2 indeed goes to Vio, which looks like +5V. I have no idea how the line is brought down. Perhaps i guessed Q1 wrong; the transistor is unmarked, i simply tried to pick by footprint something that made the most sense.

Maybe that gives you some ideas. Anyways, this circuit does have pullups.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Well it also depends if the 5V has been connected to the Faikin. A scope on the Tx would help.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

!!! BREAKING NEWS !!! IT WORKS !!!
Glinka65 has found a blown FET on his ESP8266 board. After replacing it everything works like a charm!

https://github.com/Sonic-Amiga/ESP8266-Faikin commit 6e7f267 - this is known working version

@revk If you do everything exactly the same way; the only possible problems are indeed electrical.

I will continue trying to improve the implementation; disabling interrupts on a running OS feels very harsh; But, anyways, we've got known working implementation.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

It would help to know if existing testers have 5V connected, and if any have a scope.

from esp32-faikin.

adamsguitar avatar adamsguitar commented on July 18, 2024

It would help to know if existing testers have 5V connected, and if any have a scope.

I have 5v connected but do not have a scope, unfortunately. I can say that receiving does seem to work (though it does not seem like the mode is necessarily accurately reflected--I have mine running on Auto (not Faikin auto) and it's showing set as cool, but I'm looking at it right now and it's heating.

Happy to connect it to another MQTT server if it's helpful for debugging.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Well, connecting to testmqtt.revk.uk would allow me to see it, but I think we need to confirm the electrical connection somehow. Glad you have the 5V connected, that really should work then.

from esp32-faikin.

adamsguitar avatar adamsguitar commented on July 18, 2024

Well, connecting to testmqtt.revk.uk would allow me to see it, but I think we need to confirm the electrical connection somehow. Glad you have the 5V connected, that really should work then.

I assume not, but anything I could do with a standard multimeter to help?

from esp32-faikin.

revk avatar revk commented on July 18, 2024

I doubt it, it works some times, so likely signal timing with the 10k pull up not being enough or some such.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

from esp32-faikin.

revk avatar revk commented on July 18, 2024

My code does the 16ms high, 2ms low, at the end, already. Hmm.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

And you also have a 10K pullup; totally the same as Daichi board has...
Next week i am leaving for vacation; will be back on 16th of March. I checked ESP32 prices; i can buy a Pico devboard and do some testing with the gear i have (simulator and Arduino bridge). You really seem doing everything correctly; there's a very small thing somewhere.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

So, i switched TX back to timer interrupts; and it all works fine. The only thing i had to keep is 16ms high, 2ms low termination sequence.
I guess Daichi does not do this, but still works because it repeats the packet 6 times; and 2500ms start of the repeated packet is somehow taken by the AC as end pulse. Pause between repeats is 16ms; it matches. That's just for info. As i said, my implementation doesn't repeat; it just sends once. Glinka65 says it works great.

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

Updated the protocol doc. Please pay attention to swing control details; appears quirky.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

For my own reference
https://github.com/Sonic-Amiga/ESP8266-Faikin/tree/main/Tools/Simulators/CN_WIRED

from esp32-faikin.

Sonic-Amiga avatar Sonic-Amiga commented on July 18, 2024

Hello guys!
I am here, it's all OK, i am silent because i am busy preparing for the vacation. Leaving for Thailand, will come back on 16th. After this, if you don't fix things by yourself, i'll buy a ESP32 Pico board and try playing with this myself.

from esp32-faikin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.