RFM9X library not detecting RFM95 transceiver

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
raspberryFruit
 
Posts: 4
Joined: Thu Sep 15, 2022 9:50 am

RFM9X library not detecting RFM95 transceiver

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?
3.jpg
3.jpg (249.21 KiB) Viewed 58 times
2.jpg
2.jpg (214.55 KiB) Viewed 58 times
1.jpg
1.jpg (228.76 KiB) Viewed 58 times

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

Re: RFM9X library not detecting RFM95 transceiver

Post by raspberryFruit »

Last picture cause it wouldn't load with the post
4.jpg
4.jpg (229.46 KiB) Viewed 57 times

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

Re: RFM9X library not detecting RFM95 transceiver

Post by jerryn »

Your board is an RFM69 not an RFM95 -- Use this guide https://learn.adafruit.com/adafruit-rfm ... -for-rfm69

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”