While surfing on Internet, I came across the masterpiece A MILLION TIMES AMT72 by HUMAN SINCE 1982 and was immediately seduced. Today, I'm trying to reproduce this masterpiece, and as I'm not very well versed in electronics, I'd like to know, with your help, if my editing is “electronically” correct.
OPERATING PRINCIPLE
1 master module with an ARDUINO MEGA 2560 (chosen because of the I2C internal pull-up resistors)
18 slave modules, each with an ARDUINO NANO, 2 AX1201728SG drivers, 8 DRV5032 hall effect sensors and 4 BKA30D-R5 biaxial motors. The master controls the slaves via I2C.
This sounds weird to me.
The Mega 2560 chip does AFAIK not have internal I2C pull up.
A Mega board has therefore physical set of 10k resistors added.
Multiple processors to control a bunch of stepper motors is a common beginner's mistake.
One processor with port expanders (shift registers) is a better solution.
I have posted a project on this site controlling 48 stepper motors with a single Classic Nano.
The limit with that board was about 150 motors (at full speed).
Did you search for the prices of commercial units.
Be prepaired to sink the price of a small car in a project like that.
Leo..
Note that A6 on a Nano is analogRead only and has no internal pull up.
The Rx pin of the ESP8266 could be damaged by the 5volt-logic of the Mega.
It should include a 1k:2k2 resistor level shifter.
Leo..
Are driven like the X27 automotive gauge steppers, and require a special pulse sequence for accurate positioning. What is your plan to produce that pulse sequence?
An 8 pin ATtiny would suffice as a driver for one X27 gauge motor but 8 pins are required for the four motor coils on the biaxial stepper.
The writer didn't think of adding an option to drive shift registers.
If modified for that, then a 74HC595 could drive one of those dual-shaft motors.
A single Nano could drive a whole train of shift registers. No other parts needed.
OP's current plan adds too much complexity. Upscaling is not as easy as OP might think.
Leo..
Oddly enough, the diameter of the outer motor shaft of the BKA30D-R5 does not seem to be available to the public. Neither are in the data sheet, but according to an eBay seller, the inner shaft diameter is 1 mm.
Just a hint if you want to go for the smaller X40 motors.
Wise to order several types of motors before you commit.
And make a small prototype first.
Saves you from making costly mistakes.
Leo..
For a work of art (as well as time display like the AMT72) the single shaft motor would be fine, just a bit more limited in the number of interesting patterns that could be displayed by an assembly of them. Costs only about USD 2 on Alibaba.
A symmetric pointer with a centered mounting hub might be a better choice for that.