0

How to connect / solder components
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to connect / solder components

by PeterGaray on Sun Aug 25, 2019 4:59 pm

Hello.
I can connect hardware parts to a breadboard because there are many options to connect it to lot of holes. But how to do it without a breadboard I want the connected parts to be small) when there are not enough pins?
My problem is this:
I have a Feather m0 Bluefruit LE board, and I want to connect 4 things directly to it:
a small piezo: https://www.adafruit.com/product/1740
a power button: https://www.adafruit.com/product/1683
a slide switch: https://www.adafruit.com/product/805
and an IMU from sparkfun: https://www.sparkfun.com/products/13284

I can connect the IMU to the bluefruit board: 3V pin and ground pin, and SDA and SCL pins.
That occupies the 3v and ground pins on the bluefruit board.

How can I connect the piezo, power button and slide switch directly to the bluefruit board as well? I don't want to use a breadboard because of size limitations. Is it even possible to do it without a breadboard?

I got help from a my friend before who helped me solder header pins to the bluefruit board and don't know much about connecting / soldering myself.

I want to turn on the board with the power button, control 2 options with the SPDT switch, and make a buzzing sound with the piezo.

Thank you very much.

PeterGaray
 
Posts: 9
Joined: Wed Jun 05, 2019 1:25 pm

Re: How to connect / solder components

by adafruit_support_bill on Sun Aug 25, 2019 6:25 pm

You can stack a proto Wing on top of the Feather and build your circuits on that: https://www.adafruit.com/product/2884

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: How to connect / solder components

by PeterGaray on Sun Aug 25, 2019 6:45 pm

Oh wow, that is awesome. Thank you very much for that. Makes life so much easier.

As for the small parts.
Does the piezo get connected to power and ground pin? It has just 2 cables coming out of it.
The power on-off button can be soldered directly into the power/ground pins on the proto feather wing I assume.
How does one connect the slide switch? The drawing diagram doesn't help me much.

Thank you

Oh, as a side note, can a battery be connected to the bluefruit board, and be turned on/off depending on the powerbutton connected to it? can it also be charged just via the bluefruit board?

PeterGaray
 
Posts: 9
Joined: Wed Jun 05, 2019 1:25 pm

Re: How to connect / solder components

by adafruit_support_bill on Sun Aug 25, 2019 7:03 pm

I want to turn on the board with the power button, control 2 options with the SPDT switch, and make a buzzing sound with the piezo.

Connect the Power button between the GND pin and the EN pin. https://learn.adafruit.com/adafruit-fea ... r-pins-2-6

Connect the center pin of the slide switch to GND and the other two pins to digital pins. In your code, enable the internal pullup resistors on those two pins. https://learn.adafruit.com/adafruit-ard ... duino-code

The Piezo gets connected to the GND pin and a digital pin. This guide shows how to make sounds with a Piezo: https://www.arduino.cc/en/Tutorial/Tone ... orial.Tone

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: How to connect / solder components

by PeterGaray on Sun Aug 25, 2019 7:28 pm

Thank you, you are very helpful.
Last question. I'm looking at the schematics of the bluefruit board. Which pins are digital pins? Are those the #10 - GPIO, #11 - GPIO, #12 - GPIO pins?

PeterGaray
 
Posts: 9
Joined: Wed Jun 05, 2019 1:25 pm

Re: How to connect / solder components

by adafruit_support_bill on Sun Aug 25, 2019 7:37 pm

Anything listed as "GPIO" here can be used as a digital pin: https://learn.adafruit.com/adafruit-fea ... c-pins-2-9

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.