Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Mohsenn2020
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Mohsenn2020

    @Mohsenn2020

    0
    Reputation
    1
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Mohsenn2020 Follow

    Best posts made by Mohsenn2020

    This user hasn't posted anything yet.

    Latest posts made by Mohsenn2020

    • Raspberry pi and RFM69HCW

      I have Raspberry Pi 4, and RFM69HCW radio module. I use the below code, but I get the following error. Changing the baudrate does not help. Attached you can see the wiring.

      import board
      import busio
      import digitalio
      import adafruit_rfm69
      RADIO_FREQ_MHZ = 433.0
      CS = digitalio.DigitalInOut(board.D8)
      RESET = digitalio.DigitalInOut(board.D5)
      print(board.SCK)
      print(board.MOSI)
      print(board.MISO)
      spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)
      print(spi.frequency)
      rfm69 = adafruit_rfm69.RFM69(spi, CS, RESET, RADIO_FREQ_MHZ,baudrate=100000)#

      Error message:
      %Run rfm69_adafruit.py
      11
      10
      9
      100000
      Traceback (most recent call last):
      File "/home/pi/Documents/rfm/rfm69_adafruit.py", line 23, in <module>
      rfm69 = adafruit_rfm69.RFM69(spi, CS, RESET, RADIO_FREQ_MHZ,baudrate=100000)#
      File "/usr/local/lib/python3.7/dist-packages/adafruit_rfm69.py", line 287, in init
      "Failed to find RFM69 with expected version, check wiring!"
      RuntimeError: Failed to find RFM69 with expected version, check wiring!
      ![2_1601139176189_IMG_20200926_173542.jpg](Uploading 100%) ![1_1601139176189_IMG_20200926_173524.jpg](Uploading 100%) ![0_1601139176185_IMG_20200926_173518.jpg](Uploading 100%)

      posted in Troubleshooting
      Mohsenn2020
      Mohsenn2020