Stamp Pico and connecting more than one unit
-
I am creating a project using a Stamp Pico with a PIR sensor connected to the grove port. I want to connect a single relay unit to the Pico also. As there are no other grove ports I specified ‘custom’ for the port for the relay unit. I chose what came up initially, that was pins 21 and 22. My question is do I need to define the GPIO pins in UI flow (v1.13.2) in Python or can I stay using Blockley and they will be automatically defined?
Am I indeed using suitable pins for connecting the relay unit to the Pico?
Thanks for any/all help offered. -
Hello @Kombistack
PIR unit only needs one input GPIO and the relay unit only needs one output GPIO. You can combine both to the same Groove port with default GPIOs using a Groove-T connector.
Below UIFlow blocks turn the relay on and off, depending on what the PIR sensor reports:
Thanks
Felix -
@felmue said in Stamp Pico and connecting more than one unit:
PIR unit only needs one input GPIO and the relay unit only needs one output GPIO.
Thanks felmue I did get this working.
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