Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Raspberry pi and RFM69HCW

Raspberry pi and RFM69HCW

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 266 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mohsenn2020
    wrote on last edited by
    #1

    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%)

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    23

    Online

    12.1k

    Users

    11.2k

    Topics

    113.4k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular