TransWikia.com

pigpio's sending only partial and inaccurate data

Raspberry Pi Asked by Emanuel Graf on February 9, 2021

I want to send IR signals with pigpio and receive it, all on a raspberry zero w. To send the data, I use the IR Record and Playback script from the pigpio library. To receive data, I use the code from this tutorial
I cannot use LIRC because I want to have two separate receivers and this is easier to achieve with the above method.
when I send the following signal, almost arbitrary values are received. the led is aimed directly towards the receiver

This is what I send:

[875, 875, 875, 875, 875, 112, 550, 112, 550, 112, 344, 112, 344, 112, 550, 112, 344, 112, 550, 875, 875, 875, 875, 875]

And these are 3 samples of what was received.

855 816 1579 79 3327 1445 257 827 951

912 816 2700 215 1354 83 2335 824 920

734 826 918 824 4962 804 925 821 917

not only was it only partially received, it is also not accurate at all.

What I have tried as well is to send data with LIRC. But it is also sent very unaccurately.
I know that it’s the sender that is not accurate, because when I point a tv remote at the receiver, all the incoming signal samples are almost identical.

what could be wrong?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP