(myenv) spet01@raspberrypi:~ $ python rfm9x_check.py
RFM9x Error: Failed to find rfm9x with expected version – check wiring
RFM9x Error: Failed to find rfm9x with expected version – check wiring
RFM9x Error: Failed to find rfm9x with expected version – check wiring
RFM9x Error: Failed to find rfm9x with expected version – check wiring
I have done a voltage check, this for a PI 4b:
spet01@raspberrypi:\~ $ # If you don't have a multimeter, at least check: vcgencmd measure_volts # Should show \~3.3V volt=0.9260V
spet01@raspberrypi:\~ $
(.venv) spet01@raspberrypi:~/lora_project $ python3 final_test.py
=== Adafruit LoRa Bonnet Diagnostic ===
- Testing buttons…
BUTTONS: OK - Testing I2C and OLED…
I2C/OLED: FAILED - ‘GPIO busy’ - Testing SPI Pins…
SPI CE1 Pin: FAILED - ‘GPIO busy’
RESET (D25) Pin: OK - Testing SPI Bus…
SPI Bus: OK - Testing RFM9x Radio…
RFM9x Radio: FAILED - name ‘CS’ is not defined
=== Diagnostic Complete ===
(.venv) spet01@raspberrypi:~/lora_project $
Check /boot/config.txt
for proper i2c
and spi
enablement. Run i2cdetect -y 1
to confirm OLED presence. Make sure no background services (pigpiod
, gpiozero
scripts, etc.) are holding GPIO. Edit final_test.py
→ define the CS
pin properly, for example:
import board, digitalio
CS = digitalio.DigitalInOut(board.CE1) # Chip select pin
RESET = digitalio.DigitalInOut(board.D25)
before calling RFM9x
.
Thank you for your help, but I gave up on this product already after 12 hours of testing and using AI to help, it still doesn’t initialize. I can’t afford to waste so much time on a product that doesn’t work out of the box, or at least with minimum config. I doesn’t matter what I tried, even a clean install, still doesn’t work. Even changing the power supply to a higher rating. I have tried it on a PI 4 and a PI 5, no result.
I am unable to overcome this error.
spet01@raspberrypi:\~/pi_radio $ /home/spet01/pi_radio/.venv/bin/python "/home/spet01/pi_radio/CircuitPython 10.x/radio_rfm9x.py" Traceback (most recent call last): File "/home/spet01/pi_radio/CircuitPython 10.x/radio_rfm9x.py", line 66, in <module> rfm9x = adafruit_rfm9x.RFM9x(spi, CS, RESET, 915.0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/spet01/pi_radio/.venv/lib/python3.11/site-packages/adafruit_rfm9x.py", line 276, in \__init_\_ raise RuntimeError("Failed to find rfm9x with expected version -- check wiring") RuntimeError: Failed to find rfm9x with expected version -- check wiring spet01@raspberrypi:\~/pi_radio $
spet01@raspberrypi:\~ $ cd \~/Documents/SX126X_LoRa_HAT_Code/RaspberryPi/python/
# node = sx126x.sx126x(serial_num = “/dev/ttyS0”,freq=868,addr=0,power=22,rssi=True,air_speed=2400,relay=True)
sudo python3 main.py
bash: cd: /home/spet01/Documents/SX126X_LoRa_HAT_Code/RaspberryPi/python/: No such file or directory
setting fail,Press Esc to Exit and run again
Press Esc to exit
Press i to send
Press s to send cpu temperature every 10 seconds
Hi @DrScott297390,
Well the Voltage is definitely wrong if its coming in at <1V.
Just to confirm, you are using the Pi 4 with the rfm9x FlexyPin Adaptor? What is the Adaptor connecting to?
Could you upload some images of your wiring? it’s hard to say what’s going on without seeing some images.
@DrScott297390, I’ve merged a couple of your posts concerning the Adafruit Lora HAT into this thread so that all the errors are in the same location.
If you could post any more information regarding wiring, such as wiring diagrams and photos of the assembly, we should be able to resolve this.
I have spent twelve hours today any many rebuilds and I still can’t get past this error.
spet01@raspberrypi:~ $ cd ~/Documents/SX126X_LoRa_HAT_Code/raspberrypi/python/
sudo python3 main.py
setting fail,Press Esc to Exit and run again
Press Esc to exit
Press i to send
Press s to send cpu temperature every 10 seconds
Good afternoon Jane
As you can see from my last posts, I have not been successful in bringing online either of the two devices.
Either I am doing something wrong or not enough information in the guides?
I am quite willing to pay to get these setup properly.
Kindest regards
Dr Scott
The SX126X HAT uses SPI. Check if the SPI is enabled.
Hey @DrScott297390,
It’s best to keep posts on this topic in a single thread, this makes it easier for everyone to follow and provide help. I’ve removed the thread titled “Unable to run the SX1262 915M LoRa HAT” since it contained the same information.
I’m going to now merge this thread into Error from testing the Adafruit Lora hat - #12 by ahsrab292840
To help you effectively, we’ll need a bit more detail about what you’re trying to achieve, what hardware and software you’re using, and what you’ve already tried.
Hi @DrScott297390,
Please keep all posts related to this topic within this thread. Having 5–6 separate posts makes it difficult for others to provide effective assistance.
Could you provide clear details on what you’re trying to achieve, along with photos of your setup and any troubleshooting steps you’ve already taken? At the moment, I can see that your project isn’t working, but it’s not clear what the goal is.
Good morning Ryan
Thank you for your reply.
It seems to me from my last visit there, that according to your owner, that I am taking up to much of your companies time by asking you to do things out of the ordinary,
I will figure these things out for myself, and what I can’t figure out I will bin. My company generally buys solutions out of the box or with minimum config required.
As the company owner, I never ask my staff to do something that I can’t do for myself, that is why I spend a lot of time traveling and buying things.
The information in your website is very valid and helpful, but it doesn’t cover the problems I am encountering, probably because i am using the devices outside their normal protocols.
I thank you for your support.
kindest regards
Dr Scott
Good morning @DrScott297390,
I believe that conversation was related to picking up parcels before they had been processed, which puts a strain on our logistics team. We’re more than happy to assist with forum posts, but as mentioned above, providing more details about what your project is trying to achieve, along with photos and any troubleshooting you’ve done so far, would be a big help.
Good morning Ryan
I solved the issue of the waveshare Sx1262 915M LoRa Hat not working, it was a jumper pin configuration error. I now have an IRC chat type program working on the nodes.
Thank your for you support
Dr Scott
Hey @DrScott297390,
Glad to hear this one is working for you!
Good morning
Has anyone been successful in connecting the Pico-LoRa-SX1262 to the The Things Network, or The Things Stack? I have the SX1303 gateway running and I am trying to connect this module to it?
I have read through the information on the website (https://www.waveshare.com/wiki/Pico-LoRa-SX1262), all I have succeeded in doing is killing a Pico W
Also, does anyone know how to un-brick a RAK3172 module, as continually testing it has crashed it.
Kindest regards
Dr Scott