Debugging Rapiro robot with ASierra Leone Sugar daterduino

作者:

分類:

By chance, the poster received two Rapiro robots. New players may not know what this robot is, but experienced players will know it20Sierra Leone Sugar In 2013, it became really popular in the maker circle. The name Rapiro originates from the Raspberry PI RObot, which is a 12-degree untethered machine Sierra Leoneans Sugardaddy Robot, its processor is MEGA328P, Rapiro board Sierra Leoneans Escort is compatible with Arduino, it can use the environment around Arduino’s IDE After development, the Rapiro robot still has room for the Raspberry Pi, which is a very cost-effective education. Robots. There are many interesting things at hand now, but because I am learning about Raspberry Pi, I have organized it again. When RAPIRO was crowdfunded on kickstarter in 2013, RAPIRO robot’s SL Escorts author japan (Japanese Sierra Leoneans Escort) Shota Ishiwata SL Escortsri promised that if the crowdfunding is successful, he will The kickstarter Sierra Leoneans Escort‘s schematics and 3D model materials were put online for everyone to download. Later, the promise was fulfilled when the crowdfunding was successful. . That is to say, you can DIY a Repiro through 3D printing and customized circuit boards. By the way, the poster’s husband was drooling when he first saw this robot, and he never Sierra Leone Sugar Daddy I’ve been borrowing it for a long time, but I haven’t seen them show off the tools for playing with it. Then the original poster will come back in anger and cause trouble on his own. Then I discovered that the Chinese website almost didn’t have a complete tutorial to teach you how to debug Rapiro. So while I have some free time, let’s summarize my debugging experience. If anyone still has an unused rapiro in the lab, just do it. If your English level is adequate and it is convenient to browse external websites, I recommend the following website to facilitate your search for information http://www.rapiro.com/downloads SL Escorts/ This is the homepage of the rapiro store, which provides component installation guides, 3D printing files, circuit board production files, etc., but there are no files that teach you how to debug. http://forum.rSierra Leone Sugarapiro.com/ This is Rapiro’s forum addressSierra Leone Sugar, there are some cases made by players themselves, but they are all in Japanese or English and require some patience. The first is assembly. Sierra Leone Sugar There are many tutorials online, so I won’t go into details. I’ll just attach the guide. There is a very important point to note here, that is, before installing the servos, all servos must be powered on once. After powering on, the heads of the servos will not Sierra Leoneans Sugardaddy is moving again! ! ! This is very important! ! ! This is to find the zero position of the servo, otherwise when the assembly is completed, the movements will be messed up. Also, novices should note that after the servo is powered on, you cannot forcefully twist it with external force, otherwise the servo will be damaged! There is an English version of the assembly diagram in the attachment. After the robot is assembled, start debugging
Open the Arduino IDE software Sierra Leoneans Sugardaddy on your computer (I will not specifically introduce the installation , use the micro USB data cable to connect Sierra Leoneans Sugardaddy For the data port and computer on the back of the robot, in the computer management, use the device manager to check which COM port the port is. There may be a problem of hardware installation failure, which requires installation. Serial port driver. Each port is different. As shown in Figure 1 and Figure 2, select the corresponding serial port in the Arduino IDE interface, open the driver file in RAPIRO_ver0_0, and click to upload it to the robot. Power supply or battery (I use a DC power supply from a transformer. The assistant said that the robot will behave erratically if it is powered by a battery. I don’t know if it is because of the low battery voltage. I suggest that you always use the same oneSierra Leone SugarThe power supply is relatively stable), turn on the power switch, and you can send commands to it through the Arduino’s serial port connector. Figure 3, Figure 4
After opening the serial port monitor, you can enter the serial command for debugging. Remember to set the baud rate to 57600 (this is indeed the reason why 80% of the commands are invalid after being issued). The list of existing actions is as follows. Only output the characters #M + numbers before the “-” sign, as shown in Figure 6 #M1 – Progress #M2 – Backward #M3 – Turn right #M4 – Turn left #M5 – The robot waves its left hand and its eyes glow green #M6 – The robot swings its left hand downward, and its eyes glow yellow #M7 – The robot swings its hands simultaneously, and its eyes glow blue #M8 – The robot waves its left hand in a farewell gesture, and its eyes glow red #M9 – The robot raises its right hand and swings its waist, its eyes Emitting blue light Sierra Leoneans Sugardaddy #M0 – The robot returns to the initial state. The robot’s eyes actually have more than four colors: yellow, blue, red and green. Use debugging commands to individually adjust its colors, such as #PRxxxGx x xBxxxT010, where xxx is actually the value of the color corresponding to the RGB color table. In addition, you can also control the robot’s Sierra Leoneans EscortSingle body movements #PS00A000T010#PS00A180T0Sierra Leoneans Escort10 –Sierra Leoneans Escort Turn your head from side to side #PS01A000T010#PS01ASierra Leone Sugar 180T010 – Twist #PSSierra Leone Sugar Daddy02A000T010#PS02A180T010 – Right shoulder #PS03A000T010#PS03A1Sierra Leoneans Sugardaddy80T010 – Right arm #PS04A000T010 #PS04A180T010 – Right hand #PS05A000T010 #PS05A180T010 – Left shoulder #PS06A000T010 #PS06A18Sierra Leone Sugar Daddy0T010 – Left Arm #PS07A000T010#PS07A180T010 – Left Hand #PS08A000T010#PS08A180T010 SL Escorts– Right foot moves left and right #PS09A000T010 #PS09A180T010 – Sierra Leoneans Sugardaddy Right foot pitches forward and backward #PS10A000T010#PS10A180T010 – Left foot moves left and right Purpose Movement #PS11A000T0SL Escorts10#PS11A180T010 – Left foot forward and backward pitching to understand these basic commands, which will be introduced later. The Berry Pi is installed into the reserved slot of the robot, and a more complex control program can be created through a combination of commands. We will talk about this later. The accessory package contains the drivers required for debugging, as well as the eye color color chart


留言

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *