How to Assemble and Use

From Waveshare Wiki
Jump to: navigation, search

WAVEGO-RPi (Raspberry Pi) Product Assembly and Use Guide

  • WAVEGO assembly video:

How to Assemble and Use010.jpg

  • This document is used for the product assembly and use of the WAVEGO basic version. For WAVEGO-RPi (RPI WAVEGO ACCE or PI4B-4GB WAVEGO KIT) users, please refer to WIKI homepage.

WAVEGO-RPi-01.jpg

Install Softwares In Raspberry Pi

  • Before installing, you must program the system image provided by the official Raspberry Pi to the SD card.

WAVEGO-RPi-03.jpg

  • After connecting the card reader to your computer, you can go to the Raspberry Pi website to download and install Raspberry Pi Imager.

WAVEGO-RPi-02.jpg
WAVEGO-RPi-04.jpg

  • Run Raspberry Pi Imager and choose the first operating system: Raspberry Pi OS.

WAVEGO-RPi-05.jpg
WAVEGO-RPi-005.jpg

  • Choose your SD card. Note that choose the right SD card, or the content of the SD card will be deleted when programming the image.

WAVEGO-RPi-06.jpg
WAVEGO-RPi-006.jpg

  • Click Write to download and write the image, this step may take ten minutes.

WAVEGO-RPi-07.jpg
WAVEGO-RPi-08.jpg

  • At the same time, you can prepare the files you will need later to enable the Raspberry Pi's SSH service and automatically connect to WIFI.

WAVEGO-RPi-09.jpg

  • Minimize the Raspberry Pi Imager, create a new ssh.txt file, and delete the extension ".txt".

WAVEGO-RPi-10.jpg

  • Create a new wpa_supplicant.txt.file and add the content as shown in the figure. Replace the country, WIFI name and password.

WAVEGO-RPi-11.jpg
WAVEGO-RPi-12.jpg

  • Change the extension of this file to .conf.

WAVEGO-RPi-012.jpg

  • After the system image is written, the system may prompt you whether to format the SD card due to the different file systems of the SD card, click Cancel.

WAVEGO-RPi-13.jpg

  • Raspberry Pi Imager will remove the SD card automatically, and you can close it to reconnect the card reader.

WAVEGO-RPi-14.jpg
WAVEGO-RPi-15.jpg
WAVEGO-RPi-16.jpg

  • Copy the two files prepared before to the SD card and then remove the SD card.

RPI-Wavego.jpg
RPI-Wavego02.jpg

  • Remove the SD card reader and insert it into the Raspberry Pi.

RPI-Wavego03.jpg

  • Power on the Raspberry Pi and it will connect to your wifi hotspot after booting automatically.

RPI-Wavego04.jpg

  • Search Advanced IP Scanner, download and install this software.

RPI-Wavego-5.jpg
RPI-Wavego-06.jpg

  • You also can use other software to get the IP of the Raspberry Pi.
  • Run Advanced IP Scanner.
  • Click the "Scan" button to scan all the IP addresses in the current LAN.

BuildMecar Kit Setup01.jpg

  • Find the Name or the IP address with "Raspberry Pi" letters in the Manufacturer, and remember it.

BuildMecar Kit Setup02.jpg

  • Press Win and the R key at the same time, input cmd, press Enter and open the command line.

RPI-Wavego-09.jpg
RPI-Wavego-10.jpg

  • Linux or macOS users can open the terminal.
  • Log in to the Raspberry Pi by ssh, input ssh, space, pi@ + the IP address of Raspberry Pi noted earlier.

RPI-Wavego-11.jpg

  • Enter, and input the default password of the Raspberry Pi: raspberry.
  • It is normal to see there is no change in the screen when entering the password. Enter to visit the Raspberry Pi after inputting the password.
  • Download the WAVEGO program from Github.
  • Input sudo git clone https://github.com/waveshare/WAVEGO.git.

RPI-Wavego-12.jpg

  • Press Enter to download.

RPI-Wavego-13.jpg

  • Next, run the installation script of WAVEGO.
  • sudo python3 WAVEGO/RPi/setup.py
  • Enter

RPI-Wavego-13.jpg

  • Depending on the local network environment, this process may take tens of minutes.

RPI-Wavego-15.jpg

  • After installing, there will display Completed! in your window.

RPI-Wavego-16.jpg

  • The Raspberry Pi will restart.
  • Since the Raspberry Pi is not connected to peripherals such as cameras, the WAVEGO program will not run, just unplug the power.

RPI-Wavego-17.jpg

Install Servos

  • Firstly, please note that the left and right parts in the picture are different when assembling the servos.

How to Assemble and Use01.jpg
How to Assemble and Use001.jpg

  • Put the servo rocker arm into the slot.

How to Assemble and Use02.jpg
How to Assemble and Use002.jpg

  • You need to control the servos to rotate to the specified angle before installing the servo arm.

How to Assemble and Use03.jpg

  • When installing the 18650 battery, you need to pay attention to the positive and negative polarity of the battery.
  • In order to protect the circuit, you need to press the BOOT key to supply power after the battery is installed for the first time.
  • Turn on.

How to Assemble and Use04.jpg

  • After powering on, connect the G12 of the multi-function expansion interface to the 3.3V interface (3V3) with a DuPont cable, the device will enter the assembly mode, and the RGB will turn orange at this time. After connecting the servo, the servo will rotate to the designated position.

How to Assemble and Use05.jpg

  • Connect a servo to any servo port. Due to different batches, the color of the servo wire may be different. Connect the servo to the driver board according to the color of the wire.

How to Assemble and Use06.jpg

  • Install the swing arm to the servo gear according to the marked angle.

Note: Be sure to enter assembly mode before installing the servo swing arm at the angle shown. How to Assemble and Use07.jpg
How to Assemble and Use08.jpg

  • The servo group is installed as shown in the figure below. Pay attention to the swing direction of the rocker arm and the position of WAVEGO. The servo group in the two positions has the same structure.

How to Assemble and Use09.png
How to Assemble and Use009.png
How to Assemble and Use0009.png
The figure above shows the angular position of the servo after the switch is turned on and the G12 of the multi-function expansion interface is connected to the 3.3V interface (3V3) using a DuPont cable. This position is allowed to exist due to its mechanical structure. With an error of ±10°, the swinging angle of the joint of the swing pair to the outside is about 45°.

  • Take an M2 screw and fix the rocker arm and the servo together.

How to Assemble and Use10.jpg

  • Take four M2 screws to assemble the other two servos.

How to Assemble and Use11.jpg

  • The servo wire needs to go through the top half of the part, like this.

How to Assemble and Use12.jpg

  • After installation, it will look like the picture below.

How to Assemble and Use13.jpg

  • After tightening the screw, do not continue to tighten it, otherwise the thread formed during the screwing process will be damaged.
  • If your servo cannot be fixed with M2x5 metal screws, we also provide M2x8 nylon screws and M2 nylon nuts.

How to Assemble and Use14.jpg

  • After installation, it will look like the picture below.

How to Assemble and Use15.jpg

  • By now, you have installed one servo successfully, and you can install another one in the same way.

How to Assemble and Use16.jpg
How to Assemble and Use17.jpg
How to Assemble and Use18.jpg

  • The servo group is installed as shown in the figure below. Pay attention to the swing direction of the rocker arm and the position of WAVEGO. The servo group in the two positions has the same structure.

How to Assemble and Use09.png
How to Assemble and Use009.png
How to Assemble and Use0009.png
The figure above shows the angular position of the servo after the switch is turned on and the G12 of the multi-function expansion interface is connected to the 3.3V interface (3V3) using a DuPont cable. This position is allowed to exist due to mechanical reasons. With an error of ±10°, the swinging angle of the joint of the swing pair to the outside is about 45°.

  • Then we assemble the remaining two servo groups. The assembly methods are similar, except that these two servo groups are opposed to the two previously assembled.

How to Assemble and Use19.jpg

  • The servo group is installed as shown in the figure below. Pay attention to the swing direction of the rocker arm and the position of WAVEGO. The servo group in the two positions has the same structure.

How to Assemble and Use019.jpg
How to Assemble and Use009.png
How to Assemble and Use0009.png
The figure above shows the angular position of the servo after the switch is turned on and the G12 of the multi-function expansion interface is connected to the 3.3V interface (3V3) using a DuPont cable. This position is allowed to exist due to mechanical structural reasons. With an error of ±10°, the swinging angle of the joint of the swing pair to the outside is about 45°.

  • By now, four servos are installed successfully.

How to Assemble and Use20.jpg

Install WAVEGO Connecting Rod

  • Next is to install WAVEGO connecting rod, and these four connecting rods are installed in two methods.

How to Assemble and Use21.jpg

  • First install the flange bearing (MF63ZZ). Note that the installation direction of the two bearings is opposite. If the bearing cannot be installed, you can press it hard. The leg structure is made of nylon material, which has relatively high toughness.

How to Assemble and Use22.jpg
How to Assemble and Use23.jpg

  • The two flange bearings on the small connecting rod are in the same direction.
  • This is what the flange bearing looks like after it is installed.

How to Assemble and Use24.jpg
How to Assemble and Use25.jpg
How to Assemble and Use26.jpg

  • Be careful not to lose parts when unpacking the flat bearing (F3-8M).

How to Assemble and Use27.jpg

  • Install a KM3x16 screw in the middle, so that the plane bearing installed on it is not easy to fall off.

How to Assemble and Use28.jpg

  • Finally, use the M3 anti-loosening nut to fix this group of joints. Be careful not to tighten the anti-loosening nut too much, otherwise it will hinder the joint rotation.

How to Assemble and Use29.jpg

  • The other joints are the same, first insert a long screw and then install other components.

How to Assemble and Use30.jpg
How to Assemble and Use31.jpg

  • When installing the M3 lock nut, you can first use a cross sleeve and a screwdriver to tighten the lock nut to the tightest, and then loosen it slightly until the joint can rotate without shaking too much.

How to Assemble and Use32.jpg

  • After assembly, all joints can be rotated smoothly. In future use, you need to pay attention to whether the tightness of the joints is appropriate.

How to Assemble and Use33.jpg

  • Assemble the other set of leg links in the same way.

How to Assemble and Use38.jpg

    • Next is to install the remaining two connecting rods in the same way, which are opposite to the ones we have installed.

How to Assemble and Use36.jpg

  • Finish!

How to Assemble and Use37.jpg
How to Assemble and Use38.jpg

Install WAVEGO Body

  • Please use KM2.5x6 screws to fix the nylon standoff (M2.5*22) to the other side of the driver board battery side.

How to Assemble and Use39.jpg
How to Assemble and Use40.jpg

  • Tear off the sticker on the buzzer.

How to Assemble and Use41.jpg

  • Place the servo group as shown in the picture, and note that the servo on the side panel is installed in this way.

How to Assemble and Use42.jpg

  • Please connect the servo group as shown in the picture to the driver board.

How to Assemble and Use43.jpg

  • Note that we connect the farthest servo is connected to the servo port closest to the edge.

How to Assemble and Use44.jpg
How to Assemble and Use45.jpg
How to Assemble and Use46.jpg

  • The corresponding number is also marked next to the servo interface, and you can also wire according to the number.

How to Assemble and Use47.jpg

  • Lift the black plastic sheet behind the camera cable to install the camera, and then press down on the plastic sheet to secure the camera.

How to Assemble and Use48.jpg

  • Use KM2.5x6 screws to fasten the lower cover to the nylon post.

How to Assemble and Use49.jpg

  • Please distinguish the front and rear sides of the covering plate, and the longer side is the back.

How to Assemble and Use50.jpg

  • The wiring of the servo group needs to pass through the gap between the nylon post and the battery box.

How to Assemble and Use51.jpg

  • To install the external antenna base, the connection needs to pass through the hole under the base.

How to Assemble and Use52.jpg
How to Assemble and Use53.jpg
How to Assemble and Use54.jpg

  • Connect the cable of the antenna base and the OLED screen before installing the top panel and side panel.

How to Assemble and Use55.jpg

  • Use M2x8 nylon screws and M2 nylon nuts to fasten the servos to the side panels.

How to Assemble and Use56.jpg

  • First put the M2 nylon nut into the groove on the side panel, then use the M2x8 nylon screw to fasten the servo group to the side panel.

How to Assemble and Use57.jpg

  • After the servo group is installed, fix the side panel and the upper and lower covers together.

How to Assemble and Use58.jpg
How to Assemble and Use59.jpg

  • Arrange the servo wire to avoid hindering the joint swing.

How to Assemble and Use60.jpg

  • The installation is shown in the figure below.

How to Assemble and Use61.jpg

  • Install the flange bearing (MF63ZZ).

How to Assemble and Use62.jpg

  • Then install the head and press the circular protrusion of the head into the flange bearing.

How to Assemble and Use63.jpg

  • Use KM2.5x6 screws to fasten the head to the body.

How to Assemble and Use64.jpg
How to Assemble and Use65.jpg

  • Next install the tail in the same way.
  • Install the flange bearing (MF63ZZ).

How to Assemble and Use66.jpg

  • When installing the tail, it is necessary to pass the protrusion of the switch through the hole of the tail first, and then press the circular protrusion of the tail into the flange bearing.

How to Assemble and Use67.jpg
How to Assemble and Use68.jpg
How to Assemble and Use69.jpg

Two OLED screen installation methods

  • To install an OLED screen, you need to hide as many wires as possible into the top cover, which makes it easier to install the OLED screen.

How to Assemble and U01.jpg

  • First, please tear off the protective film on top of the translucent acrylic cover.

How to Assemble and U02.jpg

  • There are two methods to install: the first installation method is easy to remove, but the screw heads will be exposed.

How to Assemble and U03.jpg
How to Assemble and U04.jpg

  • The second method does not expose the screw heads. Use 3M double-sided tapes to fix the acrylic cover, which may be troublesome to remove.

How to Assemble and U05.jpg
How to Assemble and U06.jpg
How to Assemble and U07.jpg
How to Assemble and U08.jpg

  • At this point, the body has been fully assembled, and the servo needs to be corrected before installing the leg link.

How to Assemble and U09.jpg
How to Assemble and U10.jpg
How to Assemble and U11.jpg

Correct the servo

  • After turning on the switch, use the DuPont cable to connect the G12 of the multi-function expansion interface to the 3.3V interface (3V3).

How to Assemble and01.jpg
How to Assemble and02.jpg
How to Assemble and03.jpg

  • After the device enters the assembly mode, install the servo rocker arm according to the angle shown in the figure.

How to Assemble and04.jpg
How to Assemble and05.jpg

  • Unplug the Dupont cable and restart the device.

How to Assemble and06.jpg
How to Assemble and07.jpg

  • The device will automatically establish a hotspot, WIFI name: WAVESHARE Robot, WIFI password: 1234567890.

How to Assemble and08.jpg

  • After the device is connected to the hotspot, the server may disconnect the WIFI to connect to other known WIFI due to the ping failure, and it can be solved by reconnecting it once.
  • It is recommended to use the Chrome browser to access 192.168.4.1.

How to Assemble and09.jpg

  • It will probably work with other browsers, but there may be compatibility issues.
  • Each servo channel has three corresponding buttons to control, namely PWM+, PWM-, and SET.
  • Press the PWM+ or PWM- button continuously to adjust the angle of the corresponding servo to the specified position shown in the figure. This position must be as accurate as possible.

How to Assemble and10.jpg

  • After the adjustment is accurate, press the SET key to save the position.

How to Assemble and11.jpg
How to Assemble and12.jpg

  • Each servo needs to be calibrated before using at the first time.

How to Assemble and12.jpg
How to Assemble an02.jpg
How to Assemble an03.jpg
How to Assemble an04.jpg
How to Assemble an05.jpg
How to Assemble an06.jpg
How to Assemble an07.jpg
How to Assemble an08.jpg
How to Assemble an09.jpg
How to Assemble an10.jpg
How to Assemble an11.jpg
How to Assemble an12.jpg

  • This process only needs to be done once if the calibration is OK.
  • The location is permanently saved, even if a new program is re-uploaded.

How to Assemble an13.jpg
How to Assemble an14.jpg
How to Assemble an15.jpg

Install the Legs

  • After all the servos are corrected, turn off the switch. After turning off the switch, you can freely rotate the servo swing arm, which is convenient for installing the leg link.

Install the Legs01.jpg

  • But be careful not to lose the swing arm.
  • Install the connecting rod as shown in the figure. Be careful not to install it in the wrong direction. Use M2x5 screws to fix the leg link and the servo together.

Install the Legs02.jpg
Install the Legs03.jpg
Install the Legs04.jpg
Install the Legs05.jpg
Install the Legs07.jpg
Install the Legs08.jpg

How to Use

  • Place the robot on a level surface, turn the switch on and wait for a while and the robot will stand up.

How to Use WAVEGO.jpg
How to Use WAVEGO02.jpg

  • When the RGB is yellow, it means it is calibrating the attitude sensor, do not touch the robot at this time, this process will last for a few seconds.
  • The device will automatically establish a hotspot, WIFI name: WAVESHARE Robot, WIFI password: 1234567890.
  • It is recommended to use the Chrome browser to access 192.168.4.1.
  • After pressing the Start button, the camera will be turned on. If the screen ratio is not normal, you can refresh the page.

How to Use WAVEGO03.jpg

  • FORWARD\REVERSE\LEFT\RIGHT controls the robot to turn forward, backward, left, and right respectively.
  • Press the STEADY button to enter the self-balancing mode, you can put it on an inclined plane, it will try to keep the body level, press again to exit this mode.
  • The three buttons StayLow\HankShake\Jump are used to control the robot to do some actions.
  • The three buttons ActionA\ActionB\ActionC are reserved for users to customize.
  • After the InitPos button is pressed, the servo will rotate to the middle position of the servo potentiometer for the swing arm assembly, which is the same as the assembly mode.
  • After the MiddlePos button is pressed, the servo will rotate to the middle position of the control program, which is the position corrected before, which is used to observe whether the correction is normal.

How to Use WAVEGO04.jpg

  • For more information about WAVEGO, please refer to our API documentation and WAVEGO secondary development tutorial.

How to Use WAVEGO05.png