B4R Library rRCSwitch library


This is a wrapper for RCSwitch library.
https://github.com/sui77/rc-switch
Receive from or operate 433/315 MHz remote radio controlled devices.
Tested with Uno, Mega and Wemos D1.

Installation steps:
Go to Arduino
Select Sketch/Include Library/Manage Libraries
In Library manager, search for and install 'rc-switch'

Copy the rRCSwitch files to your B4R AddLibraries folder.

Now you are ready to create a 433MHz to MQTT 2way gateway,
a simple project that turns on the light when someone rings your doorbell or
your own alarm system.

Tested with several of these devices:




 

Attachments

  • rRCSwitch_1_01.zip
    3.6 KB · Views: 635
  • RCSwitch-receive.zip
    831 bytes · Views: 649
  • RCSwitch-transmit.zip
    838 bytes · Views: 612

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends,

ESP32 have this situation:

I found this advices(from discussion to This is a wrapper for RCSwitch library):
https://github.com/sui77/rc-switch/issues/261
here is described that:
Hi, thanks for you reply. I just found out, that i do not have any problems when i use the Arduino IDE instead of using PlatformIO.

Please, it is possible to solve this situation for ESP32 with B4R?

Best regards
p4ppc
 
Last edited:

candide

Active Member
Licensed User
i would like to test this library, but i don't know how to connect transmitter and receiver ?

on reception side i found : rcs.enableReceive("rcs_Available", rcs.WEMOS_Receivepin_3) => is it GPO3?
on transmission side i found : rcs.EnableTransmit(35) => what is 35?

transmitter and receiver are working in 5V : can we connect directly on ESP ?

thanks for your help
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…