The required program for the M5Stack has already been included. How to install page is [7. Firmware Installation] PLEN5Stack https://github.com/plenprojectcompany/PLEN5Stack When assembling the servo motors, the initial rotational position of the gear on the motors is important.
2. Contents list 2.1 Common Parts 1. M5Stack 2. Battery 3. Control Board 4. Switch Board PCB 5. Servo Motors x 8 6. Head Board Cable 7. Power Cable 8. USB Cable 9. Head Parts(top, bottom) 10. Chest Parts 11. Servo Bracket 12.
Page 6
3. About the Servo motor 3.1 Connector orientation 1. There is a direction in the connector of the servo motor. Make sure that the white cable is on the inside. Connector orientation 6 / 61...
3.2 About the angle of Servo horn 1. Body balance is important for biped robots. but, since servomotors have individual differences in rotation angle, it is necessary to absorb the individual differences by the servo horn attached to this. Therefore, the angle of the servo horn needs to be precisely adjusted. If this adjustment is not successful, you will not be able to walk or fall easily.
4. Assembly 4.1 Preparation Necessary items 1. Servo Motors x8 2. Label stickers or Circular Stickers 3. Pen Necessary items Procedure Fix the servo number stickers to each Servo motor cable.Write the numbers 0-7 on eight stickers and place them Attach the sticker in a half-folded form to the servo motor cable. Sticker placement 8 / 61...
4.3 Circuit board and battery wiring Necessary items 1. back part 2. switch board 3. battery 4. control board 5. M5Stack 6. power cable Necessary items 11 / 61...
Page 12
Procedure 1. Connect the power cable to the switch board 2. Insert the switch board into the back plastic part with the switch and connector going through the appropriate holes as shown in the picture. 12 / 61...
Page 13
3. Connect the battery to the switch board following the below reference picture. 4. Connect the control board and switch using the power cable. The connectors are different so please ensure the correct connector slides smoothly into the pins. ※ It is necessary to remove the power cable at the time of "Control board wiring" mentioned later.
Page 14
connector tool use example 5. Plug in the M5Stack to the control board. 14 / 61...
Page 15
6. complete set of board assembly is seen below 15 / 61...
Page 17
Procedure 1. Orient the servo bracket such that the long back is horizontal and towards the back when inserting the servo motors. The side of the bracket with this long bar in the middle is the "back" of the part and concordantly the back of the robot.
Page 18
3. Again, be careful not to have the cable of servo motor #1 pinched between the motor casing and plastic parts when assembling. 4. Insert servo motor #5 following the same procedure as #1 in the last available position in the bracket.
4.5 Assembling the Thighs Necessary items 1. The previously assembled servo bracket with servo motors. 2. The previously assembled control board\ battery switch board 3. Thigh plastic parts ×2 4. Servo horn ×2 5. Screws ×2 Necessary items 19 / 61...
Page 20
Procedure 1. Ensure the switch board switch is in the off position. Connect servo motors #1 and #5 to the control board pins as shown. The servo motor pins numbering is given in the Appendix 5.2 picture. When connect the motors into the pins, ensure that the black (ground) cable is towards the outside of the control board.
Page 21
3. Attach the servo horn plastic parts to servo motors #1 and #5 as shown in the photo. Ensure the axis of the + on the horn is aligned with the edges of the servo motors. 4. Orient the servo bracket such that the bar across the center of the bracket is horizontal and at the back of the assembly.
Page 22
5. Fix the thigh parts to the horn with the screws. 6. After fully screwing in each of the thigh screws, remove the servo cables from the control board. 22 / 61...
4.6 Attaching leg parts Necessary items 1. body sets 2. circuit sets 3. servo ×2 (3,7) 4. legs ×2 5. servo horn ×2 Necessary items 23 / 61...
Page 24
Procedure 1. Insert servo motors numbers 3 and 7 into the thigh parts as shown. The gears of the servo motors will be pointing towards the "back" of the robot. 2. Connect the servo cables for motors 3 and 7 into the control board. Servo motor number 3 is to be placed as the robot's left leg.
Page 25
3. The servo motors should rotate automatically to their initial position. 4. Similar to servo motors #1 and #5, attach the servo horns to each servo motor such that the axis of the + on the horn is aligned with the edges of the servo motors as closely as possible.
Page 26
5. Attach the feet plastic parts while paying attention to ensure the wider side of the feet are towards the outside of the robot. Insert the + side of the foot into the servo horn and then insert the opposite side of the foot into the bump on the front side of the thigh.
Page 28
Procedure 1. Connect servo motors #0 and 4 from the servo bracket into their respective pins on the control board and turn the power switch on. 2. The servo motors should rotate automatically to their initial position. 28 / 61...
Page 29
3. Insert the shoulder parts into servo motors 0 and 4 such that the flat edges are aligned with the servo motor as closely as possible. The wider side of the shoulder parts with the + cut should be towards the back of the robot. Screw in the plastic shoulder part into the servo motor.
Page 30
5. Unplug the servo motors from the control board and turn the power switch off. 30 / 61...
4.8 Arm parts assembly Necessary items 1. body sets 2. circuit sets 3. arm ×2 4. servo ×2 (2,6) 5. servo horn ×2 Necessary items 31 / 61...
Page 32
Procedure 1. Place the servo motors #2 and 6 into the plastic arm parts such that motor #2 is the robot's left arm. 2. Directly connect servo motors #2 and 6 into their respective pins on the control board and turn the power switch on.
Page 33
3. The servo motors should rotate automatically to their initial position. 4. Attach the servo horns to each servo motor such that the axis of the + on the horn is aligned with the edges of the servo motors as closely as possible. 33 / 61...
Page 34
5. Insert the left and right arms into the shoulder pieces lining up the servo horn with the cut + shape on each shoulder. *Ensure the arms are inserted pointing down. 6. After fixing the arms to the shoulder parts, unplug the servo motors from the control board and turn the power switch off.
4.9 Servo fixer attachment Necessary items 1. Body assembly set 2. Servo fixer part Necessary items 35 / 61...
Page 36
Procedure 1. Pass the cables of the eight servo motors through the servo bracket and through front as shown. 2. The cables of motors #3 and 7 are passed through the lower hole of the bracket, and left there for later. 3.
4.10 Control board wiring Necessary items 1. Battery assembly 2. Control board assembly Necessary items 37 / 61...
Page 38
Procedure 1. Remove the M5Stack and the power cable from the control board. Pass the power cable along with the servo motor cables from the back side through the front hole in the body and reconnect the power cable to the control board again. 2.
Page 39
3. Connect all servo motor cables following the appropriate order with servo motor number matching pin number. 39 / 61...
4.11 Head part assembly Necessary items 1. body sets 2. head parts(top, bottom) 3. head board 4. head board cable Necessary items 40 / 61...
Page 41
Procedure 1. Take apart the top and bottom plastic parts of the head 2. Connect the final head-board control cable to the head-board 41 / 61...
Page 42
3. Unscrew the nuts on each LED down about 3mm. 4. Pass the head-board cable through the hole in the bottom side of the head plastic part. 42 / 61...
Page 43
5. Bend the LED legs 90 degrees such that the head-board is rotated up, and insert both LEDs into the semi-circular grooves in the bottom plastic heat part such that the nuts on each LED are on the inside of the head. 6.
Page 44
7. Insert the head-board cable through the top hole in the servo bracket and pass through the front side of the body. Insert the assembled head into the same hole to fix the head to the servo bracket. 8. Connect the head-board cable into the control board. 44 / 61...
Page 46
Procedure 1. Remove M5Stack from control board. Pass the control board through the body part and bring it out to the front. 2. Attach the chest parts to the servo bracket body. 46 / 61...
Page 47
3. Screw the control board to the chest part 4. Insert the M5Stack. 47 / 61...
Page 48
5. Switch the robot on and confirm if all servo motors have rotated and initialized. 6. Press the M5Stack A and B buttons to check that the limbs work. C button is blink the EYE LED. 48 / 61...
6. How to charge battery 1. Connect PLEN5Stack ( back Switch Board ) and PC ( or USB charger ) with cable. 2. Charging : LED ON 3. Full charge : LED OFF 50 / 61...
7. Firmware Installation How to Install 1. Download (and install) Arduino IDE from arduino.cc website. (Choose your environment, then click "JUST DOWNLOAD" button.) 2. Add board manager URL: https://dl.espressif.com/dl/package_esp32_index.json 3. Add esp32 board 4. Add M5Stack library 5. Download this repository from here. 6.
Page 52
Preliminary Arrangements To write PLEN5Stack's firmware requires Arduino IDE ver.1.8.0 or above. Please download and install it before to do continued steps. How to Download the Arduino IDE Access the Arduino IDE download page, and then choose your environment. Click “JUST DOWNLOAD” button. (You do not need to select donation menu.)
Page 53
Setting the Arduino IDE 1. [File] -> [Preferences] 2. Right button for Additonal Boards Manager URLs 3. Inpust the URL: https://dl.espressif.com/dl/package_esp32_index.json 53 / 61...
Page 59
board select 1. [Tools] -> [Board:...] -> [M5Stack-Core-ESP32] 2. [Tools] -> [Port] -> Select the your Serial Ports (Port name is different in each environments.) 59 / 61...
Page 60
Installation Procedure Download [PLEN5Stack] repository 1. Open “firmware.ino” (This is placed “firmware/” directory) with Arduino IDE. 2. Connect M5Stack to PC with USBTypeC cable. 3. Click the Upload[->] button. 60 / 61...
Appendix PLEN5Stack servo numbering Control board terminal labelling PLEN5Stack Support If you have any questions, please contact one of the following PLEN5Stack Slack community : http://u0u0.net/YJzp PLEN Support : https://plen.jp/wp/contact/ 61 / 61...
Need help?
Do you have a question about the PLEN5Stack and is the answer not in the manual?
Questions and answers