Using 433mhz rf receiver and sd card module

Hii everyone, I ran into a situation where I want to interface my 433 mhz RF receiver and sd card module both to a single arduino uno, and the problem is as spi uses 10 11 12 13 pins permanently and cannot be changed, and the Radiohead library also uses pin 12 interfacing receiver module. Can I change the receiver pin, if yes can someone guide !

Radiohead documentation

Can change the receiver pin for interfacing RF receiver !?

Yes.

Then should I be writing entire code from scratch?

If you want to use Radiohead, please take a some time to read the documentation and study several examples. Any digital pin can be used for the received data, likewise for transmitted data.

I prefer VirtualWire for simple tasks, as the code is much smaller and works just as well.

1 Like