rpi-rfm69 icon indicating copy to clipboard operation
rpi-rfm69 copied to clipboard

Issues with device

Open hamishpyle opened this issue 5 months ago • 4 comments

Hey there! First of all, thank you so much for making this repo it is genuinely amazing documentation wise.

I have however run into various different problems potentially due to the breakout I am using which is the red sparkfun 915MHz breakout. This is with a raspberry Pi 3B+ by the way.

Basically when I follow the tutorial connecting the pins to the physical pins as follows: Miso - 21 Mosi - 19 SCK - 23 NSS - 24 RST - 22 GND - 20 Vin - 17 And run the example_rxtx.py file with the only difference being this :

board = {'isHighPower': True, 'interruptPin': 18, 'resetPin': 22, 'spiDevice': 0}

I get this output:

Screen Shot 2024-08-30 at 9 17 47 pm or in case the above doesnt load:

python3 example_rxtx.py /home/pi/Thesis/rpi-rfm69/RFM69/radio.py:115: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. GPIO.setup(self.rstPin, GPIO.OUT) Traceback (most recent call last): File "/home/pi/Thesis/rpi-rfm69/example_rxtx.py", line 23, in with Radio(FREQ_915MHZ, node_id, network_id, verbose=False, **board) as radio: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/Thesis/rpi-rfm69/RFM69/radio.py", line 87, in init self._initialize(freqBand, nodeID, networkID) File "/home/pi/Thesis/rpi-rfm69/RFM69/radio.py", line 96, in _initialize self._reset_radio() File "/home/pi/Thesis/rpi-rfm69/RFM69/radio.py", line 135, in _reset_radio raise Exception('Failed to sync with radio') # pylint: disable=broad-exception-raised ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Exception: Failed to sync with radio

Any help would be appreciated and I have looked into each of the separate examples separately to no avail. Could it be an issue with power supply? Or is this a rooted raspberry pi issue.

Thanks!

hamishpyle avatar Aug 30 '24 11:08 hamishpyle