Developing the electronics was already a project in itself.
Just to be clear, I've never seen an original Niryo One and so I developed everything based on the software
First I looked at how the software works.
You have the raspberry pi software and the software for the stepper motors.
The Software that runs on the Raspberry pi with the necessary inputs and outputs...Can-Bus for the stepper motors and a Dynamixel 1 wire system bus.
Also 3 different voltages had to be created 5 volts for the raspberry pi, 7.2 volts for the XL-320 servos and 11.1 volts for the XL-430 dynamixel servos which is an huge improvement.
The stepper motors actually just run on Arduino and can also be programmed via the micro USB connection on the PCB.
It was quite a job to get everything on a 39 x39 mm pcb.
All parts are smd 0603 and covered on 2 sides
I designed everything with EasyEDA.
I've made PCBs at home myself in the past, but that was 25 years ago.
And that was with a negative and photo printing and then in a bath of copergloride.
Fortunately, times have changed and you can now easily order them online and have them delivered by post after 2 weeks.
I am not sponsored so will not mention where I ordered them.
Of course, not everything is right the first time.
A few times I made improvements to the PCB until it was fully functional and reliable to work with.
Programming the stepper motor pcb was also a puzzle.
The SamD21 chip on which the software resides and runs had to be flashed with a bootloader. This is now a simple operation of a few seconds but was a nice puzzle and there is very little information to be found on the internet.
And this is the result.
Good working Can_Bus controlled stepper motors.
More to come !!!