-3

I litterally cannot find it anywhere on how to wire this

https://www.adafruit.com/product/2934

The only thing any of the pigrrl schematics show is connecting wires from b1,2,3,4 to pins on another board. Last time I checked adafruit, you need a positive and negative pin. This isn't redstone, you can't just connect one wire and hope it works. On top of this bad documentation the stuff isn't even labeled right. All that's labeled is G,G,b1,b2,b3,b4. Wtf is G and why do I have two of them?!?! Where do I connect power and where do I connect ground!?!? Plz help.

  • Explain. I don't think you understand my question. I understand they're all switches. What I don't understand is where I need to connect my power ground and what not on to the PCB. If I needed to connect them like any other switch or button then there would be no point in making this. – user25832 May 20 '18 at 3:40
  • So. Again. My question is: where on the PCB do I connect ground and power? – user25832 May 20 '18 at 3:41
  • What's the purpose of two G's ? – user25832 May 20 '18 at 3:55
  • But why two? Also. I'm assuming this would work wiring up the same as for Arduino. Is that correct? – user25832 May 20 '18 at 3:59
  • Sorry. I missed where you said to edit the question. Doing that rn. Also. I don't think I disrespected anybody here. I said adafruits documentation in case you missed that part. Now my next question is, if G is ground obviously, and b1-4 are input pins then where do I connect my power wire to? There needs to be power somewhere of course. – user25832 May 20 '18 at 4:04
2

This is labeled as a difficult project, so you have to know what you're doing.

However, just from my experience and the labling of the board, the G is ground, and the B buttons go to the pins for each button. The software should set the internal resisters on.

As for the two ground connectors, it is necessary to have a good connection to ground, and this allows you solder the same wire twice.

Why would you think that "G" denoted a wireless connector?

  • I assumed it was ground but wasn't positive and I just needed to know how to wire the PCB. I'm not taking that. – user25832 May 20 '18 at 9:15
1

here are four different ways to connect the switches

i showed only two switches, but you can expand to any number

the internal pullups/pulldowns are built into the microcontroller and must be enabled in the program

schematic

simulate this circuit – Schematic created using CircuitLab

  • So then what you're saying is with an Arduino we use the external pull-up but with the raspberry pi we use the internal pull up? – user25832 May 20 '18 at 5:06
  • no!!!!! .... RPi can use all four circuits ..... Arduino can use three (it does not have the internal pulldowns option) ....... i strongly suggest that you research all the ways to connect a switch to an arduino and RPi – jsotola May 20 '18 at 5:20
  • I'm sorry. I worded that wrong😂😂 what I meant to say is the Arduino doesn't have internal resistors so it can only use the external wiring diagrams you finely provided but the raspberry pi on the other hand does have internal resistors so it can use either of the four. My bad my bad. Bad wording on my part 😂😂 – user25832 May 20 '18 at 5:23
  • I understand now. See. I knew the raspberry pi had internal pull ups and downs but I forgot about them for the circuits. That's why I was so confused when you only said 2 parts of the circuit. It's because I forgot about the internal resistors. – user25832 May 20 '18 at 5:25
  • all the arduinos have internal pullups ... also, have a look at the links that i posted – jsotola May 20 '18 at 5:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.