Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3843

Other projects • Re: 1st time project

$
0
0
I know there are enough gpio pins, but there are not enough power and ground pins. I do not know how to connect the relay with 2 outputs to the magnets, that is why i am asking here.
Ok. You don't need the relay anyway, so you just need some kind of bus-bar or terminal strip, or something to connect all the 5V pins together, and all the GND pins together.

I'm a great fan of the Wago spring clip connectors. You can get a 5-way block with all connections commoned. For 5V you will need five blocks. The first pin of the first block connects to 5V, three pins connect to three magnet boards, then the last pin connects to the first pin of the next block. Five blocks give 16 individual connections for your modules.

https://www.mrpositive.co.nz/wago-221-f ... -connector

You could of course just strip the wires and twist them all together and wrap with sellotape.

Same for GND. All the GND pins connect together somehow. There are many ways to do it.

Next you should consider the power consumption. According to the webpage each magnet consumes 0.3A (max.) at 5V, or 3W (max.). Those numbers don't match. You need to know the consumption of one magnet, and how many magnets will be on at the same time. Then you can size your power supply appropriately.

Hopefully you have designed the balloon release mechanism so that the balloons are held mechanically, and the magnet is energised briefly to release the balloon. I hope you don't intend for all the magnets to be on all the time whilst holding a balloon! If you need to release several balloons at the same time you can energise the magnets one at a time, but in very quick succession, so that the release appears to be simultaneous.

Anyway, if you arrange things so that only one magnet is on briefly at any one time then you'll have no problem with supply current.

I'd still recommend an Arduino for this by the way. Or a Pi Pico because this is the Pi site. And micro servos instead of magnets.

Statistics: Posted by ame — Fri Feb 23, 2024 7:56 pm



Viewing all articles
Browse latest Browse all 3843

Trending Articles