I'm trying to get the raspberry pi 4 working with a rfm95 915mhz transceiver. I have pins and an antenna port soldered to the rfm95. I'm using the example code. Every time I try to set up the transceiver using:
CS = DigitalInOut(board.CE1)
RS = DigitalInOut(board.D25)
spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)
rfm9x = adafruit_rfm9x.RFM9x(spi, CS, RS, 915.0)
I get the same error upon attempting to create the RFM9x object:
"Failed to find rfm9x with expected version -- check wiring"
I followed the instructions listed here: https://learn.adafruit.com/lora-and-lor ... spberry-pi
I enabled spi through the config.
I used "sudo pip install adafruit-circuitpython-rfm9x" to get the library
I have double checked the wiring repeatedly.
I used an alternate raspberry pi.
I used an alternate rfm95 transceiver.
I used alternate pins for the CS, RS, and G0 pins.
Nothing is working. I don't know how to test the functionality of the device nor do I know how to directly access the device using C rather than the python library.
Is there any advice anyone can give me?
rfm95 "check wiring" error on raspberry pi 4
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- raspberryFruit
- Posts: 4
- Joined: Thu Sep 15, 2022 9:50 am
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: rfm95 "check wiring" error on raspberry pi 4
Please post a photo of your setup showing how everything is connected.
- raspberryFruit
- Posts: 4
- Joined: Thu Sep 15, 2022 9:50 am
Re: rfm95 "check wiring" error on raspberry pi 4
I’ve attached pictures of the wires from both sides as well as the soldered connections. Sorry for my delayed response, I sincerely appreciate your help!adafruit_support_carter wrote: ↑Tue Sep 20, 2022 11:32 am Please post a photo of your setup showing how everything is connected.
- Attachments
-
- 3D8702CA-52E6-4D37-A2B0-9D37EA96237C.jpeg (120.72 KiB) Viewed 61 times
-
- 571B8C56-31E6-414E-AA8B-5579DF88A4D5.jpeg (108.66 KiB) Viewed 61 times
-
- 3BC9841E-7278-40D8-B9ED-4F9EBFAEDF5D.jpeg (111.95 KiB) Viewed 61 times
- adafruit_support_carter
- Posts: 29483
- Joined: Tue Nov 29, 2016 2:45 pm
Re: rfm95 "check wiring" error on raspberry pi 4
Thanks for the photos. Soldering and connections all look good.
For CS - did you try something other than CE0 and CE1?I used alternate pins for the CS, RS, and G0 pins.
- jerryn
- Posts: 1890
- Joined: Sat Sep 14, 2013 9:05 am
Re: rfm95 "check wiring" error on raspberry pi 4
Your Board is an RFM69, not and RFM95. You have to use the adafruit_rfm69 library and example code. https://learn.adafruit.com/adafruit-rfm ... -for-rfm69
Please be positive and constructive with your questions and comments.