How many sensors can be hooked up to Port B Grove HUB?
-
I have a noobie question. I just got the M5Go kit. So I attached the Grove HUB that it came with to PortB. To the HUB, I attached the PIR sensor unit (using pin 36) and the RGB unit (using pin 26). I modified the example PIR.ino code to make a beep sound when motion is detected and to also light the RGB LED. It works great.
But now I'm wondering what else I could hook up to the HUB? There is another empty socket. Since there are only 2 pins in Port B, I really can't hook up anything else (unless I wanted to hook up a duplicate sensor unit that reacted the same way), right?
-
@happy-hippo Correct. In order to connect more you need to use the PbHub.
As you have discovered, sensors use 1 pin and actuators use the other pin.
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