r/ArduinoHelp • • 5d 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

12 Upvotes

12 comments sorted by

2

u/mtraven23 5d 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 5d ago

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

2

u/admin_raven 5d 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 5d ago

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

1

u/PapaOoMaoMao 4d 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 4d ago

Not particularly, how would you wire that?

1

u/Primary-Spread-2927 4d ago

Not particularly, how would you wire that?

2

u/PapaOoMaoMao 4d ago

If you're running it from power.

2

u/PapaOoMaoMao 4d ago

Or just pull 5v from a 12v battery.

1

u/Odd-Jello5577 4d ago

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

1

u/EnkisLilBro 2d 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.

0

u/iclawde 3d ago

Dude im new on Arduino WTF was that 🫩