jgillula / rpi-rfm69

Python RFM69 library for Raspberry Pi
GNU General Public License v3.0
30 stars 20 forks source link

Wiring documentation issue #16

Closed leopard3l closed 2 years ago

leopard3l commented 2 years ago

Hello

I followed this documentation to wire my Raspberry Pi B+ to the RFM69HCW radio https://rpi-rfm69.readthedocs.io/en/latest/hookup.html

But when using this code to create a Radio instance

with Radio(FREQ_433MHZ, node_id, network_id, isHighPower=True, verbose=False, interruptPin=28, resetPin=29, spiDevice=0, autoAcknowledge=False) as radio:

I had the error "the channel sent is invalid on the raspberry pi" as described here: https://forums.raspberrypi.com/viewtopic.php?t=85503

The wiring picture is incorrect.

The interrupt pin should be 18 and the reset pin should be 22

image

image

jgillula commented 2 years ago

Good catch! I could change the table, but unfortunately I don't have the original Fritzing files for the wiring diagram since I inherited this project from its original maintainer

@jkittley Do you by any chance still have the original Fritzing files you used to make the documentation?

leopard3l commented 2 years ago

Hello

I redid it in Fritzing for the Pi Zero, but it's the same wiring for other Pis

image

leopard3l commented 2 years ago

Don't forget to correct this in the table

image

jgillula commented 2 years ago

Done! Thank you so much!

fconrotte commented 2 years ago

Hello !

I re-checked the wiring and in fact there is still a small mistake: the RST and G0 cables are incorrect, they must be inverted

Here is the final plan

image

jgillula commented 2 years ago

Good catch! I've fixed it in the latest docs--thanks!