RF RCswitch on vocore

Posts: 5
Joined: Tue Sep 01, 2015 5:50 pm

RF RCswitch on vocore

Sat Sep 19, 2015 5:38 pm

I try to use a library RCswitch on the vocore. This library allow you to decrypt signal received on a RF433 receiver. I ported it on the board OrangePi and it work perfectly but when I try to use it on Vocore it doesn't work. I tested the GPIO and they work well.


I plug the receiver on the GPIO 21.

To run:
Code: Select all
./vorc -s -m /sys/class/gpio/gpio%d/direction -a /sys/class/gpio/gpio%d/value -i 21

But first you need libpthread.so.0 and to copy libc.so.0 to libc.so

To compile:
Code: Select all
./OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.8-linaro_uClibc- -o  vorc rc.cpp RCSwitch.cpp WProgram.cpp -std=c++0x -pthread -ldl

I also tried to use https://github.com/apiel/GpioRF but this failed as well.

May be the problem come from the internal time of the vocore (gettimeofday(&t, NULL))?
Actually I don't really understand why it's not working. Any idea??

Posts: 825
Joined: Sun Oct 19, 2014 6:00 am

Re: RF RCswitch on vocore

Thu Oct 01, 2015 2:36 am

Maybe need a pull up resistor?

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 3 guests