Connection confusion

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969

Post Reply
fuzzycat
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Fri Nov 08, 2019 4:59 am

Connection confusion

Post by fuzzycat » Fri Nov 08, 2019 5:05 am

What m I missing? Each port on the base shield uses 4 pins. I get that there's gND + VCC + a pin, but why the 2nd pin? How are you supposed to use, for example pins 2 and 3 with a button attached to each? If I plug in a button to the board, will it trigger both pins?

Thanks

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: Connection confusion

Post by bill.yu » Mon Nov 11, 2019 5:47 pm

Hello,

Different interfaces on Base Shield use the other 2 pins for different purpose. For example, 4 pins of UART are GND, VCC, TX, RX, while TX and RX are used for data transmitting and receiving. By modifying pins configuration in the source code you can determine what pin you want to use. BTW, do you mean that you want to use them separately?

fuzzycat
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Fri Nov 08, 2019 4:59 am

Re: Connection confusion

Post by fuzzycat » Tue Nov 12, 2019 6:20 am

Thanks for the reply.

Yes, I'd like to use, for example, pins 2 an 3 for limit switches.One pin for each.

Post Reply