Nybble's servos are connected to NyBoard's PWM pins symmetrically and resemble the nerves along the spinal cord. Though Nybble doesn't have shoulder roll DoF, those indexes(4~7) are reserved for the full OpenCat framework.
NyBoard V0_*and V1_* have different PWM pin orders, but the physical servo connection remains the same. All adjustments are handled in the software. You don't even need to read the pin numbers on the PCB board.
Use h for the head, t for the tail, r for shoulder roll joint, s for shoulder pitch joint, k for knee joint, F for the front, H for hind, L for left, R for right, the full joints map of OpenCat is:
5.2. Plug in the servos
Observe the indexing pattern to connect servos with correct PWM pins. Be careful with the wires’ direction. The brown wire of the servo is GND, while the GND on NyBoard V0_1 is along the centerline. In later versions of NyBoards, they are opposite.
(NyBoard V0_1 Front) (NyBoard V0_1 Back)
A quick check is that all On NyBoard V0_1 the brown wires should be far away from the board surface. On NyBoard V0_2 the brown wires should be close to the board surface.
From NyBoard V0_2, the location of servo wires will still be the same, but their direction of colors will be opposite
Even though the PCB layouts vary on different NyBoards, the wiring pattern is the same. You don't need to read the indexes of the servo pins when plugging the servos. The joint mapping is done automatically in the OpenCat code. You just need to select the right board version when uploading the code.
Wiring pattern of NyBoard V1_0
After calibration, troubleshooting and final assembling, It’s time to think about wiring routes to make Nybble look neat. There are multiple slots on the frame designed as a wire organizer. Feel free to develop your own style for connecting future accessories. Make sure the wires don’t get in the way of the servos‘ movement.
Below is my wiring routes.
NyBoard with Raspberry Pi
5.4. Connect Ultrasonic Sensor (optional)
If you have not already, plug in the 4 pin cable, make a note of which cable colors are attached to which signals. When looking into Nybble’s eyes, the connections from left to right are:
Connect the other end of the cable to the header you soldered in place earlier in assembly. Use the following mapping