rfm95 "check wiring" error on raspberry pi 4

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
raspberryFruit
 
Posts: 4
Joined: Thu Sep 15, 2022 9:50 am

rfm95 "check wiring" error on raspberry pi 4

Post by raspberryFruit »

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?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: rfm95 "check wiring" error on raspberry pi 4

Post by adafruit_support_carter »

Please post a photo of your setup showing how everything is connected.

User avatar
raspberryFruit
 
Posts: 4
Joined: Thu Sep 15, 2022 9:50 am

Re: rfm95 "check wiring" error on raspberry pi 4

Post by raspberryFruit »

adafruit_support_carter wrote: Tue Sep 20, 2022 11:32 am Please post a photo of your setup showing how everything is connected.
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!
Attachments
3D8702CA-52E6-4D37-A2B0-9D37EA96237C.jpeg
3D8702CA-52E6-4D37-A2B0-9D37EA96237C.jpeg (120.72 KiB) Viewed 59 times
571B8C56-31E6-414E-AA8B-5579DF88A4D5.jpeg
571B8C56-31E6-414E-AA8B-5579DF88A4D5.jpeg (108.66 KiB) Viewed 59 times
3BC9841E-7278-40D8-B9ED-4F9EBFAEDF5D.jpeg
3BC9841E-7278-40D8-B9ED-4F9EBFAEDF5D.jpeg (111.95 KiB) Viewed 59 times

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: rfm95 "check wiring" error on raspberry pi 4

Post by adafruit_support_carter »

Thanks for the photos. Soldering and connections all look good.
I used alternate pins for the CS, RS, and G0 pins.
For CS - did you try something other than CE0 and CE1?

User avatar
jerryn
 
Posts: 1868
Joined: Sat Sep 14, 2013 9:05 am

Re: rfm95 "check wiring" error on raspberry pi 4

Post by jerryn »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”