SmartRC-CC1101-Driver-Lib icon indicating copy to clipboard operation
SmartRC-CC1101-Driver-Lib copied to clipboard

Will you port this library for Raspberry or is there any simple way to make it work?

Open YindSoft opened this issue 5 years ago • 7 comments

This is exactly what I need, but I have to use a Raspberry.

There is a library of CC1101 for Raspberry, but I don't get how to make it work this way to receive the ids of the rf433 devices.

Any idea how?

YindSoft avatar Mar 26 '19 21:03 YindSoft

Hello, A port would be possible. but currently have little time. Alternatively, you could connect an arduino nano to the cc1101 and then let the nano talk to the pi. Can you post a link of the librarie that works with the pi? I would then take care of the rest. If it is possible. earliest next week. Regards

LSatan avatar Mar 27 '19 14:03 LSatan

This is the library: https://github.com/SpaceTeddy/CC1101

Thank you!

YindSoft avatar Mar 27 '19 22:03 YindSoft

Firstly, thank you for the great work on the Driver library for Arduino & Co.!

I'm looking for the exactly same solution as @YindSoft is. With it the CC1101 will get the best piece of Transceiver by far for switching plugs & Co. on the RPi! Hope it's possible for you to get it working! ;-)

Thank you in advance!

TMInnovations avatar Apr 28 '19 18:04 TMInnovations

This library is basically made for bit banging switch codes and that doesn't work very well on RasPi, I'd go with the suggestion and use a separate microcontroller and just connect it via USB to the Pi. Heres a project of mine that does exactly that to control cheap 433MHz switches: https://github.com/normen/arduino-433

Using the CC1101 for communicating on RasPi works, but only if you let the CC1101 use it's internal protocol to send and receive data. Then it takes the burden of decoding off the main computer and just delivers the data. But then you can't control 433 switches. Thats why basically all home control systems went the external microcontroller / USB way.

normen avatar Apr 18 '20 20:04 normen

potential alternative for raspberry pi: https://github.com/nahueldsanchez/pycc1101 (python)

fphammerle avatar Aug 23 '20 19:08 fphammerle

Is there any news on the PI port? I am currently using a ESP32 with this library. But the ESP32 has not enough oompf to handle Wifi, BT, MQTT, CC1101, ... at the same time. I really would like to switch to a Pi4. I will look into using a Arduino Nano as bridge in the mean time. But a port of the library would be perfect since it is using the one of the best transmitters with the best 433mhy library rcswitch.

Thanks in advance!

fightforlife avatar Oct 23 '20 15:10 fightforlife

Hi, i agree that porting to rpi is an interesting thing. Unfortunately, I haven't dealt with the raspberry enough until now. because I don't have the time to do a port. I assume that a control via the terminal program meets the requirements. I found the following interesting approach: https://www.deviceplus.com/raspberry-pi/how-to-run-arduino-sketches-on-raspberry-pi/

it may be necessary to make adjustments to the bibiliotehk with regard to the gpio pins. share your opinion with me. Regards

LSatan avatar Oct 24 '20 10:10 LSatan