ADEEPT RaspClaws User Manual

ADEEPT RaspClaws User Manual

Smart robot kit for raspberry pi
Hide thumbs Also See for RaspClaws:

Advertisement

1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RaspClaws and is the answer not in the manual?

Questions and answers

Summary of Contents for ADEEPT RaspClaws

  • Page 2 Please place and put the product gently. Do not smash or shock it. About Adeept is a technical service team of open source software and hardware. Dedicated to applying the Internet and the latest industrial technology in open source area, we strive to provide the best hardware support and software service for general makers and electronic enthusiasts around the world.
  • Page 3 This user manual and code can be used for learning, DIY, refitting, etc., except for commercial purpose. The Adeept Company owns all rights of contents in the manual, including but not limited to texts, images, data, etc. Any distribution or printing should be implemented with the...
  • Page 4: Table Of Contents

    3.1. Preparations before Assembly......................12 3.2. Servo debugging.............................15 3.3. Install and Remove Batteries........................ 18 3.4 install the arm............................21 3.5 install the Camera............................ 31 4. Install Python3.7 in the PC............................. 54 4.1. Install Python3.7............................54 4.2 Run the RaspClaws..........................56 5. Afterword................................60...
  • Page 5: Components List

    1. Components List 1.1. Acrylic Plates The acrylic plates are fragile, so please be careful when assembling them in case of breaking. The acrylic plate is covered with a layer of protective film. You need to remove it first. Some holes in the acrylic may have residues, so you need to clean them before the use.
  • Page 6: Machinery Parts

    1.2. Machinery Parts M2.5*8 M2*8 M2.5*4 Screw Screw Screw www.adeept.com www.adeept.com www.adeept.com www.adeept.com www.adeept.com M3*8 M1.4*6 M3*8 M1.7*6*6 M2.5*14 Screw Self-tapping Countersunk Self-tapping Copper Screw Screw Stand off Head Screw www.adeept.com www.adeept.com www.adeept.com www.adeept.com www.adeept.com M3*10 M2.5*11 M3*40 M3*15 M2.5*10+6...
  • Page 7: Electronic Parts

    1.3. Electronic Parts Adeept robot HAT X1 Raspberry Pi Camera X1 mpu—6050 3-Pin Wire Car Light X4 18650 Battery Holder Set X1 Servo x15 Raspberry P1 Camera Ribbon X1...
  • Page 8: Tools

    1.4. Tools Cross-head Screwdriver X1 Winding Pipe X1 Large Cross-head Screwdriver X1 Ribbon X1 1.5 Self-prepared Parts 18650 Battery X2 Raspberry Pi 18650 battery specification: It is recommended to use lithium battery above 3000mAh and without overcurrent protection. The power supply current requirement is above 3A. Using 18650 lithium...
  • Page 9: Software & Hardware

    2. Software & Hardware 2.1. Software Installation The software installation video is as follows https://www.adeept.com/video/detail-70.html Install the Raspbian Operating System First, install the operating system for the Raspberry Pi. The official system, Raspbian, is recommended. If you've finished the installation and the system works well, you may skip this step.
  • Page 10 After it's downloaded, unzip it for later SD card system creation. Write Raspberry Pi Operating System to SD Card First, insert the SD card into the card reader and connect it to the USB port of the computer. Click open the Win32 Disk Imager and choose the path of the SD card (here it's Disk G).
  • Page 11 Internet by yourself for how to display the filename extension (suffix) in your own system. For example, in Windows 7, you may go to My Computer ->Organization ->Folder and Search->View, and uncheck the Hide extensions for known file types.
  • Page 12 Download and Install PuTTy PuTTy is a software that connects with the Raspberry Pi via ssh. With the tool, you may control the Raspberry Pi by the computer. Download: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Acquire Raspberry Pi’s IP Address Install the 18650 batteries and switch on the car.
  • Page 13 Connect the Raspberry Pi and Computer Open PuTTy, enter the IP address of the Raspberry Pi in Host Name (or IP address) and click Open. If a warning window prompts, click Yes. Then a terminal will pop up. The default account is pi.
  • Page 14: Download Program

    Setting up in a Raspberry Pi may take you a lot of time, and there are too many libraries needed, so we write a python program to do the most of works for you. Download the program of the raspclaws. Input the code below to download: git clone https://github.com/adeept/adeept_raspclaws.git...
  • Page 15: Assembly

    3. Assembly 3.1. Preparations before Assembly 1.Connect the Raspberry Pi Camera and the ribbon. Assemble the following components Note: That in the next operation, the Pi Camera of the Raspberry Pi should always be connected to the Raspberry Pi, and do not reverse the wires of the Raspberry Pi.
  • Page 16 2. Connect the Raspberry Pi Camera and the Raspberry Pi. Assemble the following components...
  • Page 17 The two plugs of 3-Pin Wire are small plugs Wires are connected to the input of Car Light (the end marked with a white strip pattern)
  • Page 18: Servo Debugging

    3.2. Servo debugging. Fix four M2.5x10+6 Copper Standoffs on Raspberry Pi. insert the Adeept Motor HAT into Raspberry Pi. Assemble the following components M2.5x4 Screw Raspberry Pi x1 Adeept Motor HAT x1 M2.5x14 Copper Standoff x4 M2.5x10+6 Copper Standoff x4...
  • Page 19 Connect the driver board to mpu-6050. M2.5*4 screw MPU-6050 M2.5x11 Copper Standoff Effect diagram after assembling...
  • Page 20 3. Connect the 18650 Battery Holder Set to the Adeept Motor HAT. Note that the switch is "OFF".
  • Page 21: Install And Remove Batteries

    3.3.Install and Remove Batteries Take out 2 ribbons and 2 batteries. Roll one end of the ribbon to let through a battery and fix. Insert the batteries into the rings-ribbon closer to the anode. Install the batteries into the holder based on the pole.
  • Page 22 4. Connect servos to Adeept Motor HAT. The color of the servo wire corresponds to the color of the port. Connect the servo to pwm0-13 on the Motor HAT.
  • Page 23 4. Before switching on, you need to insert the configured SD card into the Raspberry Pi. For details, please refer to the third chapter of the document. Otherwise, the servo will not rotate to the middle position after booting. In the next installation, the servos need to be connected to the robot HAT.
  • Page 24: Install The Arm

    3.4 install the arm Fix a rocker arm to the acrylic plate. Assemble the following components Single Rocker arm x6 M1.7*6*6 self-tapping screw Effect diagram after assembling...
  • Page 25 Assemble the following components Effect diagram after assembling 4 foot M1.7*6*6 Rocker Self-tapping arm x6 screw Assemble the following components Effect diagram after assembling M1.7*6*6 Self-tapping Single Rocker screw arm x1...
  • Page 26 Assemble the following components Self-tapping M1.4*6 screws Car light X 2 Effect diagram after assembling...
  • Page 27 3.5 install the feet Fix a debugged servo to the acrylic plate. Assemble the following components M2 Nut M2*8 Screw Servo x1 Effect diagram after assembling...
  • Page 28 Assemble the following components Single Rocker arm x1 M1.7*6*6 Self-tapping screw Effect diagram after assembling...
  • Page 29 Fix a debugged servo to the acrylic plate. Assemble the following components M2 Nut Servo x1 M2*8 Screw Effect diagram after assembling...
  • Page 30 Assemble the following components M3*10 Screw M3 Nut Effect diagram after assembling...
  • Page 31 Fix Robot feet Assemble the following components M2.5*8 Screw The foot of the robot Effect diagram after assembling Install the servo and the acrylic plate on the right foot opposite from the ones on the left foot.
  • Page 32: Install The Camera

    3.3 install the Camera Fix Raspberry Pi Camera on Acrylic Plates Assemble the following components Raspberry Pi Camera M1.4*6 Self-tapping screws X4 Effect diagram after assembling...
  • Page 33 Pi Camera Assemble the following components M3 Nut M3*10 Screw Effect diagram after assembling...
  • Page 34 Assemble the following components M2 Nut M2*8 Screw Servo x1 Effect diagram after assembling...
  • Page 35 Assemble the following components M2 Nut M3 Nut M2*8 Screw M3*10 Screw Effect diagram after assembling...
  • Page 36 Pi Camera Connect Assemble Assemble the following components M2.5*8 Screw Effect diagram after assembling...
  • Page 37 Acrylic Plates Fix car light on Assemble the following components Car light M1.4*6 Self-tappin g screws X4 Effect diagram after assembling...
  • Page 38 Assemble the following components M3*8 Countersunk Head Screw 18650 Battery Holder Set X1 M3 Nut Effect diagram after assembling...
  • Page 39 Assemble the following components Raspberry Pi M2.5*8 Screw Effect diagram after assembling...
  • Page 40 Assemble the following components M3*40 nylon Standoff M3*8 Screw Effect diagram after assembling...
  • Page 41 Assemble the following components M2.5*8 Screw Effect diagram after assembling...
  • Page 42 When connecting the servo to the acrylic plate, connect the wiring to PWM interface, the driver board will automatically check the position of the servo. Pay attention to the installation angle when installing the servo.
  • Page 43 The corresponding PWM numbers of the driver board to the servos. The body...
  • Page 44 Servo interfaces...
  • Page 45 Assemble the following components M3*8 Screw Effect diagram after assembling...
  • Page 46 Assemble the following components M3*8 Screw M3*15 Nylon Standoff x4 Effect diagram after assembling...
  • Page 47 Assemble the following components M2.5*8 Screw Effect diagram after assembling...
  • Page 48 Assemble the following components M3*8 Screw M3 Nut Effect diagram after assembling...
  • Page 49 Installation method one (suitable for flat road surface). Installation method two suitable for uneven road surface .
  • Page 50: Install Python3.7 In The Pc

    4. Install Python3.7 in the PC Install Python3.7 4.1. The software installation video is as follows https://www.adeept.com/video/detail-70.html So far there are two versions of Python: 2.X and 3.X. The graphical UI of the terminal control is written in Python 3.7 and it supports multiple platforms. Here we'll focus on the installation of Python 3.7 under Windows.
  • Page 51 Type in: pip3 install numpy to Install numpy. NOTE: If Python3.7 is the only version in your PC, you can use both pip3 to install software, but when you also have Python2.x installed, you must use pip3 to install it in your Python3.7 library.
  • Page 52: Run The Raspclaws

    4.2 Run the RaspClaws Start Switch on the car. After a while, if the LEDs turn red, it means the car’s server is connected to a Wi-Fi waiting for the PC client to join. If there is no Wi-Fi for the car to connect with, the LEDs turn blue, it means the car has set up an AP-Hotspot, you can use your PC to search it, the RPi Car’s AP-Hotspot’s SSID...
  • Page 53 After connection, the program will save the IP address. For the next use, if the IP address of the Raspberry Pi has not changed, you may press Enter directly next time to connect. After the connection is made successfully, the Video window shows up.
  • Page 54 If the camera on the robot detects an object moving or changing, the LEDs on the robot will turn red. This feature is developed based on Adrian Rosebrock's OpenCV code on pyimagesearch.com. You can also learn more about the OpenCV to gain more fun to play with, such as syncing the captured image to the dropbox after detecting the motion of the object.
  • Page 55 When the green light stops blinking on the Raspberry Pi, you may unplug the power cable. If you're applying the Raspberry Pi smart car, you may tab the Exit button in the app of this product. When the green light stops blinking on the Raspberry Pi, switch to OFF for the...
  • Page 56: Afterword

    After completing all projects in the guide, you should have some knowledge of the Raspberry Pi and Robot, thus you can try to change the robot into other projects by adding more Adeept modules or changing the code for extended functions.
  • Page 57 www.adeept.com...

Table of Contents