0

I am trying to connect a Bluetooth module and a gas sensor to Arduino.

I read the guides for the HM-10 and MQ-2 and they both need to use the Arduino's 5v pin. I did a lot of searching but I could not find a proper example.

I would like you to give me a link to an example that uses the 5v pin for multiple modules. It would be nice if the circuit configuration was included.

  • > I read the guides for the HM-10 and MQ-2 and they both need to use the Arduino's 5v pin. I did a lot of searching but I could not find a proper example. do you envision it being much more complicated than wiring them, separately and individually, to the 5v pin? that's how it is normally done gazillion of times every day. – dannyf Dec 2 '17 at 13:17
  • If you are trying to connect multiple things, you should first consider if it is appropriate to have their power passing through the Arduino at all. Often it's better to give them their own routes to the power supply, and only share a common ground with the Arduino. Additionally, the HM10 requires something like 3.3v NOT 5v. – Chris Stratton Dec 2 '17 at 17:14
4

The simplest way is to just use a breadboard to connect your devices to your Arduino:

breadboard


I can't read Chinese, so I can't check the specifications of these particular devices, but you need to be aware of the power limitations on your Arduino.

The maximum total current you can draw when the device is powered via external power supply is 1A for the Arduino Uno, 800mA for the Due and 500mA for the Nano. Check the specs for your board on the Arduino site.

Arduino-compatible devices may vary - check the specs for the device you're usiing.


Note: If you're not powering your board via USB, the total 5V current limit coming out of the Arduino is limited by the voltage regulator on your particular board, and/or your input power supply (whichever provides less power).

0

5V is just 5V. It's not a signal, it's just a voltage level. If you need to connect multiple things to it then just connect multiple things to it. If that means connecting wires together then so be it.

Yes, you can use breadboards for it, but that's pretty wasteful if all you want to do is connect a few 5V wires together. It's simpler just to strip the ends and twist them together. Maybe add some tape to insulate them so you don't get accidental short circuits.

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.