Humanoids or bipedal robots are other kinds of robots that have legs. The balance of humanoids is the general problem in these types when the other in the support phase and the leg in the swing phase. In this work, the walking pattern generation is studied by MATLAB for two types of degrees of freedom, 10 and 17 degrees of freedom. Besides, the KHR-2HV simulation model is used to simulate the experimental results by Webots. Similarly, Arduino and LOBOT LSC microcontrollers are used to program the bipedal robot. After the several methods for programming the bipedal robot by Arduino microcontroller, LOBOT LSC-32 driver model is the better than PCA 96685 Driver-16 channel servo driver for programming the bipedal walking robot. The results showed that this driver confirms the faster response than the Arduino microcontroller in walking the bipedal robot. The walking pattern generation results showed that the step height for 17 degrees of freedom bipedal robot increases approximately (20%) than 10 degrees of freedom bipedal robot, which decreases the step period by about (7%). Also, the time interval of the double support phase for 17 degrees of freedom bipedal robot increases approximately (11%) with decreases step length approximately (33% on X-axis) and (16% on Z-axis).