User avatar
with ice cream
Posts: 144
Joined: Mon Jul 30, 2012 7:25 am

Possible timing issue (433 MHz transmitter, Pi2)? [Solved]

Fri Feb 06, 2015 11:00 am

I use a 433 MHz transmitter to control electric outlets. It worked quite well with the old kernel and a B+ (source: https://github.com/r10r/rcswitch-pi). Now I changed the model to a Pi 2 B and also updated everything (including Wiring Pi). It now seems as if I am running into a timing issue. When a sequence is transmitted it seems to take much longer now. I have no C programming skills but I am wondering if there is something wrong in general related to the Pi.
Last edited by with ice cream on Fri Feb 06, 2015 8:50 pm, edited 1 time in total.

matthewadams
Posts: 2
Joined: Fri Feb 06, 2015 1:44 pm

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 1:45 pm

Same problem here, none of the tools seem to work anymore - some take longer, other get stuck and need to be killed.
You might need to compile rcswitch against the new wiringPi library, but unfortunately that doesnt seem to work either on my end at least.

User avatar
with ice cream
Posts: 144
Joined: Mon Jul 30, 2012 7:25 am

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 2:10 pm

matthewadams wrote:You might need to compile rcswitch against the new wiringPi library, but unfortunately that doesnt seem to work either on my end at least.
I got it to compile and I know there is an actual transmission (I can see/hear it using my SDR setup), it is just not right. It seems to be stretched. I tried experimenting with the intervals in the code and dividing them by 10 or even 100 but that didn't help. It might actually be a problem with wiringPi since I can observe similar issues when I use a python script that should work.

Massi
Posts: 1679
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 2:15 pm

There's a usleep problem with pi2, it's described in the Q&A thread and it seems solved with last upgrade.
Take a look there, maybe it's the source of your problem

User avatar
with ice cream
Posts: 144
Joined: Mon Jul 30, 2012 7:25 am

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 2:32 pm

pattagghiu wrote:There's a usleep problem with pi2, it's described in the Q&A thread and it seems solved with last upgrade.
Take a look there, maybe it's the source of your problem
That makes sense, thank you for pointing this out. I am rpi-updating now and will see if it helps. The download is actually rather slow (30 mins for 43.1M), perhaps there is some sleeping happening there as well. :)

Massi
Posts: 1679
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 2:34 pm

with ice cream wrote:
pattagghiu wrote:There's a usleep problem with pi2, it's described in the Q&A thread and it seems solved with last upgrade.
Take a look there, maybe it's the source of your problem
That makes sense, thank you for pointing this out. I am rpi-updating now and will see if it helps. The download is actually rather slow (30 mins for 43.1M), perhaps there is some sleeping happening there as well. :)
let us know :)

matthewadams
Posts: 2
Joined: Fri Feb 06, 2015 1:44 pm

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 2:57 pm

Yay! Thanks a lot for the hint! It's working fine again now!

User avatar
with ice cream
Posts: 144
Joined: Mon Jul 30, 2012 7:25 am

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 3:09 pm

pattagghiu wrote:let us know :)
The send command runs much quicker now. I have to roll back everything else what I tried to find the problem to be able to confirm.

User avatar
with ice cream
Posts: 144
Joined: Mon Jul 30, 2012 7:25 am

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 3:15 pm

with ice cream wrote:The send command runs much quicker now. I have to roll back everything else what I tried to find the problem to be able to confirm.
Roll-back was quicker than I thought. It is indeed working! Mille grazie, pattagghiu!

Massi
Posts: 1679
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: Possible timing issue (433 MHz transmitter, Pi2)?

Fri Feb 06, 2015 3:17 pm

with ice cream wrote:
with ice cream wrote:Mille grazie, pattagghiu!
Very good italian :)

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 12 guests