Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Python • Re: Script for waveshare relay module

$
0
0
Hi all, Just a little problem I am hoping someone can solve for me.

[ ... ]

Any help?

Links to supporting documentation for the specific add-on boards you are using might be helpful?


Boards that meet the original first-revision HAT specification cannot be stacked.

Even if they are not true HATs and not restricted in that way, maybe there is a clash over the use of GPIO pins by the two boards?

Does your script change the state of all 3 relays if you remove the DAC and have only the relay board connected?

Adding some time.sleep() delays might make it clearer what changes are taking place and allow the relays to 'settle'. Particularly before exiting at the end of the script.



Possibly the waveshare board is this one which has the same pinout - https://www.waveshare.com/wiki/RPi_Relay_Board

They don't advertise it as being a HAT.

Statistics: Posted by B.Goode — Fri Jun 21, 2024 9:06 am



Viewing all articles
Browse latest Browse all 4906

Trending Articles