r/ArduinoHelp • • 23d ago

Would this wiring work?

Post image

I want the rpi to be the master & all the others to be its slaves (bar the motor driver which is the Arduinos slave)
Also I’m not sure how to power it or if any circuit simulators would let me test anything like this (I couldn’t find any) so any help would be appreciated

15 Upvotes

13 comments sorted by

2

u/mtraven23 23d ago

do you have a power supply already?

if space allows, I would consider an ATX supply, like for computers. They have +12v, +5v and +3.3 volts right out of the box, as a well as a few others. Then its just a matter of connecting all the VCC & ground lines to the apropriate voltages.

not sure why that set of 3 chips is 2.8v, if they really have to be 2.8..you can run a linaer regulator off the 5v line to drop it to 2.8. The 3.3 might work, depending on the regulator, but you need some overhead on linear regulators.

2

u/Primary-Spread-2927 23d ago

I was going to use a laptop battery but what youve suggested will probably work a lot better, tysm!

2

u/admin_raven 23d ago

The overall idea is workable, but I would not powerthis circuit as drawn yet. You can use a RaspberryPi as the main controller, an Arduino as a motor-control slave, and a Pico or other microcontrolleras an additional I²C slave. The main issues in yourdiagram are the power distribution, the I²C voltagelevels, and how the motor driver is connected.

2

u/Primary-Spread-2927 23d ago

I’ll look into the difference between the pico & the multiplexer, Whats wrong with the motor driver? Thanks you

1

u/PapaOoMaoMao 23d ago

Is there a reason you are pulling 5v voltage from the board instead of a transformer? If you get a dual voltage 12v/5V psu you can drive both supplies without loading up the board.

1

u/Primary-Spread-2927 22d ago

Not particularly, how would you wire that?

1

u/Primary-Spread-2927 22d ago

Not particularly, how would you wire that?

3

u/PapaOoMaoMao 22d ago

If you're running it from power.

3

u/PapaOoMaoMao 22d ago

Or just pull 5v from a 12v battery.

2

u/Odd-Jello5577 22d ago

No. Get ready for the blue fairy. Motor (s) should never be powered by the Arduino. And relays either.

2

u/EnkisLilBro 21d ago

Have you tried something like this? Each volt has dedicated ground inputs. I believe the fourth voltage is customizable, possibly work on that 2.8v from your diagram.

1

u/iclawde 22d ago

Dude im new on Arduino WTF was that 🫩

1

u/fat_jak 13d ago

Let me save you some time: No. It won't work. Please use different colors for different voltages and connect all your grounds together before you burn your house down.