Assemble Elegoo Arduino Robot Version 2.0

1,533

10

4

Introduction: Assemble Elegoo Arduino Robot Version 2.0

Last year I posted a tutorial on assembling Elegoo Smart Car Robot Kit Version 1.

This was a very nice KIT, however since then the great Elegoo people introduced improved Version 2, and Version 3 of the Robot, and sent me both versions so I can add support for the Robot in Visuino.

Version 3 is the best, however, since some people may have gotten Version 2, I will post the Assembly tutorial for it first, and then will follow with tutorial for the Version 3 of the KIT.

After that I will post tutorials on programming the Robot with Visuino for remote control, obstacle avoidance, and line following, so stay tuned... ;-)

Here you can also see the Unboxing Video of the KIT.

Step 1: Assemble the Motors

  1. Take the Motors, and the Aluminium Blocks from the bags
  2. Mount the Aluminium Blocks on the side of the motors that is flat (opposite of the pin in the center of the gearbox)
    1. For 2 of the motors install the aluminium blocks with the threaded holes on the Top as shown in the Video
    2. For the other 2 motors install the aluminium blocks with the threaded holes on the Bottom as shown in the Video
  3. For each motor, take 2 long bolts from the bag of bolts and nuts for the Motors
  4. Insert the bolts through the aluminium blocks and then through the motor gear
  5. For each motor, take 2 nuts from the bag of bolts and nuts for the Motors, and tighten them on the bolts

Step 2: Install the Motors on the Chassis

  1. Take Bottom Layer (baseplate) of the chassis (the one that does not have the rectangle hole it front) from the bag
  2. Peel off the protective paper layer
  3. Place the motors on top the the layer with the threaded holes pointing down toward the chassis layer (baseplate), over the 2 small holes per motor locations of the chassis layer
  4. Make sure the motors are placed with the wires on the inside of the cassis, and the motors pointing away from the center of the chassis
  5. Take the short bolts from the bag of bolts and nuts for the motors, and use 2 of them per motor to tighten the motors to the chassis layer (baseplate)

Step 3: Install the Motor Driver Board

  1. Remove the L298N Motor Driver Board from the protective bag
  2. Place the L298N Motor Driver Board in the center of the chassis layer(baseplate) with the heat sink(the big metal aluminium block) pointing toward the back of the chassis(the front has 6 small holes, the back does not have holes)
  3. Take 4 bolts from the bag of bolts and nuts for the UNO and L298N
  4. Insert the bolts through the holes in the 4 corners of the L298N Motor Driver Board
  5. Insert the bolts through the 4 holes in the center of the chassis layer
  6. Take 4 nuts from the bag of bolts and nuts for the UNO and L298N
  7. Tighten the nuts on the bolts on the bottom of the chassis layer (Do not overtighten, as you may bend and damage the board!)
  8. Insert the connectors of the 4 motors to the corresponding(the closest) 4 connection points on the side of the L298N Motor Driver Board as shown in the Video

Step 4: Install the Line Following Sensors

  1. Take the Line Following Sensor Modules from the protective bag
  2. Take 2 brass standoffs from the bag of bolts, standoffs and nuts for the Line Following Sensors
  3. Insert the male threaded side of the standoffs into the 2 holes of one of the Line Following Sensor Modules from below the board (the side opposite of the components)
  4. Take 2 nuts from the bag of bolts, standoffs and nuts for the Line Following Sensors
  5. Tighten the nuts on the male threads of the brass standoffs
  6. Repeat the same steps 2, to 5 for the other 2 sensors
  7. Place the Line Following Sensor Modules on the bottom side (the opposite of the motors) of the chassis layer, at the front where there are 6 small holes matching the positions of the standoffs, in such a way that the standoffs are placed on to of the holes with their female threaded side, and the sensor connector points toward the center of the chassis
  8. Take 6 bolts from the bag of bolts, standoffs and nuts for the Line Following Sensors
  9. Insert the bolts through the 6 holes, from the top of the chassis layer(baseplate) into the female threaded sides of the standoffs, and tighten them

Step 5: Install the Arduino Board and the Sensors Shield

  1. Take top layer (baseplate) the chassis (the one that does have the rectangle hole it front) from the bag
  2. Peel off the protective paper layer
  3. Take the Arduino UNO from the protective bag
  4. Place the Arduino UNO on top of the chassis layer, in the center, and rotate it until the 3 mounting holes on the chassis layer match 3 of the mounting holes on the Arduino UNO. If you can't match them, flip the chassis layer over and try again
  5. Take 3 bolts from the bag of bolts and nuts for the UNO and L298N
  6. Insert the bolts through the 3 holes of the Arduino UNO that have matching holes on the chassis layer
  7. Insert the bolts through the 3 holes in the center of the chassis layer
  8. Take 3 nuts from the bag of bolts and nuts for the UNO and L298N
  9. Tighten the nuts on the bolts on the bottom of the chassis layer
  10. Take the Sensor Shield from the protective bag
  11. Place the Sensor Shield on top of the Arduino UNO matching the pins on the shield with the holes on the Arduino UNO pin headers as shown in the Video

Step 6: Install the Infrared Remote Receiver

  1. Take the Infrared Remote Receiver Module out of the bag
  2. The 2 brass standoffs from the bag of bolts, standoffs and nuts for the IR Module
  3. Insert the male threaded side of the standoffs into the 2 holes of one of the Infrared Remote Receiver Module from below the board (the side opposite of the components)
  4. Take 2 nuts from the bag of bolts, standoffs and nuts for the IR Module
  5. Tighten the nuts on the male threads of the brass standoffs
  6. Place the Infrared Remote Receiver Module on top of the chassis layer, behind the Sensor Shield, where there are 2 really small holes matching the positions of the standoffs, in such a way that the standoffs are placed on to of the holes with their female threaded side, and the sensor connector points toward the center of the chassis
  7. Take 2 bolts from the bag of bolts, standoffs and nuts for the IR Module
  8. Insert the bolts through the 2 holes, from the bottom of the chassis layer(baseplate) into the female threaded sides of the standoffs, and tighten them

Step 7: Install the Battery Box

  1. Take the Battery Box from the protective bag
  2. Open the box, and take out the power connector for the Arduino UNO
  3. Place the Battery Box at the back of the upper layer(baseplate) of the chassis on the back, behind the Infrared Receiver Module, matching the 4 holes on the bottom of the Battery Box, with the 4 holes on the chassis layer
  4. Make sure the switch and the cables are on the same side of the chassis as the power and USB connectors of the Arduino UNO
  5. Take 4 bolts from the bag of bolts and nuts For Cell Box
  6. Insert the bolts from the top through the holes on the bottom of the Battery Box and through the holes of the chassis layer
  7. Take 4 nuts from the bag of bolts and nuts For Cell Box
  8. Tighten the nuts on the bolts from underneath the chassis layer
  9. Take the Power connector for the Arduino UNO
  10. Use screwdriver to loosen the 2 bolts of the 2 connection points ( "+" and "-" ) on the connector
  11. Take the cable with the red and black wires, and a small connector on the other end
  12. Insert the Red Wire of the cable with the small connector on the other end into the "+" connection point of the Power Connector for the Arduino UNO
  13. Insert the Red Wire from the Battery Box into the same "+" connection point of the Power Connector for the Arduino UNO
  14. Use screwdriver to tighten the bolt of the "+" connection point of the Power Connector for the Arduino UNO
  15. Insert the Black wire of the cable with the small connector on the other end into the - connection point of the Power Connector for the Arduino UNO
  16. Insert the Black wire from the Battery Box into the same "-" connection point of the Power Connector for the Arduino UNO
  17. Use screwdriver to tighten the bolt of the "-" connection point of the Power Connector for the Arduino UNO
  18. Plug the Power Connector into the Arduino UNO

Step 8: Installing the Servo Turning the Ultrasonic Ranger

  1. Take the flat Servo Holding Board from the bag of Servo Mount And Servo Holding Board
  2. Peel the protective paper from the board
  3. Take the Servo from the plastic bag
  4. Insert the cable of the Servo through the big rectangle hole of the Servo Holding Board
  5. Insert the Servo through the rectangle hole in such a way that when the 3 bigger round holes are pointing away from you, the Servo shaft is pointing upwards, and is on the right side as shown in the Video
  6. Take the 2 small bolts shown in the Video and insert them from below through the 2 really small holes in the Servo Holding Board on the 2 sides of the Servo
  7. Take 2 small nuts and tighten them on the bolts over the 2 mounting points of the Servo as shown in the Video
  8. Insert the Servo cable from the top, through the rectangle shaped hole at the front of the upper layer(baseplate) of the chassis
  9. Insert the bottom part of the Servo from the top, through the rectangle shaped hole at the front of the upper layer(baseplate) of the chassis with the servo shaft located closer to the center of the chassis, and the 3 holes of the Servo Holding Board matching the 3 holes on the chassis layer
  10. Take 3 big bolts from the bag of bolts and nuts for the Servo mount and Insert them from the top through the 3 holes of the Servo Holding Board, and then through the chassis layer
  11. Take 3 matching big nuts from the bag of bolts and nuts for the Servo, and tighten them on the bolts from below the chassis layer

Step 9: Assemble the Ultrasonic Ranger

  1. Take the Ultrasonic Ranger Mount from the plastic bag
  2. Peel the protective paper layer
  3. Take the Ultrasonic Ranger from the plastic bag
  4. Take 4 small bolts from the bag of bolts for the Ultrasonic Ranger
  5. Insert the 4 bolts through the 4 holes in the corners of the Ultrasonic Ranger from the side where the sensors are mounted toward the back of the board
  6. Insert the 4 bolts into the 4 holes of the Ultrasonic Ranger mount as shown in the Video
  7. Take 4 small matching nuts from the bag of bolts for the Ultrasonic Ranger, and tighten them on the bolts

Step 10: Installing the Ultrasonic Ranger on the Servo

  1. Take the symmetric straight Servo Seat from the bag of Servo Seats from the bag of
  2. Place it on top of the Servo shaft
  3. Take the small screw from the bag of Servo Seats, and use it to tighten the seat to the Servo shaft
  4. Take the the Servo Mount, and place it on top of the Seat as shown in the Video
  5. Take the remaining 2 small screws from the bag of Servo Seats, and use them to tighten the Servo Mount to the Seat

Step 11: Installing the Standoffs/Spacers on the Chassis

  1. Take one Brass Standoff from the bag for plastic baseplates
  2. Place it below of one of the 6 side holes of the upper layer (baseplate) of the chassis
  3. Take a bolt from the bag for plastic baseplates
  4. Insert the bolt from the top of the chassis layer through the hole into the threaded hole of the brass standoff, and tighten it
  5. Repeat steps 1 to 4 for the other 5 standoffs, and holes on the chassis layer

Step 12: Start Connecting the Cables

  1. Take the cables out of the plastic bag
  2. Take the 6 Wire Cable and connect one end to the 6 Pin Connector on the L298N Motor Driver Board on lower layer(baseplate) of the chassis
  3. Take the 4 Wire Cable and connect it to the Ultrasonic Ranger on the upper layer of the chassis
  4. Connect the other end of the 4 Wire Cable to the 4 Pin Connector on the Sensor Shield marked "Ultrasonic Sensor"
  5. Connect the Short 3 Wire Cable to the Infrared Remote Receiver Module on the upper layer of the chassis
  6. Connect the other end of the Short 3 Wire Cable to the 3 Pin Connector on the Sensor Shield marked "Infrared Sensor"
  7. Connect the 3 Long 3 Wire Cables to the 3 Line Following Sensors underneath the bottom layer of the chassis
  8. Push the 3 Long 3 Wire Cables from below through the big hole on the bottom layer behind the Line Following Sensors so the cables will appear on top of the bottom layer of the chassis
  9. Take the 4 wires of the bottom layer of the chassis, and push them from below through the big hole at the front of the upper layer behind the Servo
  10. Take the cable from the Servo, and push it from below through the same big hole at the front of the upper layer behind the Servo

Step 13: Join the 2 Layers of the Chassis Together and Finish Connecting the Cables

  1. Make sure the top layer(baseplate) of the chassis with its standoffs is placed properly on the bottom layer with the side holes on the bottom layers matching the threaded holes on the bottom of the standoffs
  2. Take a bolt from the bag for plastic baseplates
  3. Insert the bolt from underneath the bottom layer of the chassis through the hole into the threaded hole of the brass standoff, and tighten it
  4. Repeat steps 1 to 4 for the other 5 standoffs, and holes on the bottom chassis layer
  5. Take the unconnected end of the 6 Wire Cable from the Motor Driver Board, and connect it to the 6 Pin Connector on the Sensor Shield
  6. Connect the 3 Wire Cable from the Left Line Following Sensor (when looking the Robot from the back) to the Left 3 Pin Connector on the Sensor Shield marked "Line Tracking Module (3)"
  7. Connect the 3 Wire Cable from the Center Line Following Sensor to the Center 3 Pin Connector on the Sensor Shield marked "Line Tracking Module (2)"
  8. Connect the 3 Wire Cable from the Right Line Following Sensor (when looking the Robot from the back) to the Right 3 Pin Connector on the Sensor Shield marked "Line Tracking Module (1)"
  9. Connect the 3 Wire Cable from the Servo into the 3 Pin Connector on the Sensor Shield marked "SG90", in such way that the Brown Wire is connected to the "GND" pin and the Orange Wire is connected to "SG" pin
  10. Take the 2 Wire Power Cable from the Arduino UNO power connector, and push it from the top through big hole at the front of the upper layer behind the Servo
  11. Connect the 2 Wire Power Cable from the Arduino UNO to the 2 Pin Power Connector on the Motor Driver Module on the bottom layer of the chassis

Step 14: Install the Wheels

  1. Take the Wheels from the plastic bag
  2. Take one of the wheels. The hole in the center has 2 flat sides. The shafts on the Gear Boxes of the motors have the same shape. Rotate the Wheel until the orientation of shape of the hole on the Wheel, matches the orientation of the shaft, and plug the wheel on the shaft
  3. Repeat the same step 2 for the remaining 3 wheels

Step 15: Charge and Install the Batteries

  1. Take the Battery Charger out of the plastic bag
  2. Insert its Power Cable into the Battery Charger
  3. Take the Batteries out of the protective box
  4. Place the Batteries into the Battery Charger, making sure to match the indicated +/- polarity
  5. Connect the charger to power outlet to charge the batteries. The LEDs on the charger will turn RED indicating that the batteries are charging
  6. When the batteries are fully charged the LEDs will turn GREEN
  7. Disconnect the Charger from the power outlet
  8. Make sure the Battery Box On/Off Switch is in Off position
  9. Open the Battery Box by sliding it in the indicated direction
  10. Remove the Batteries from the Battery Charger
  11. Place the Batteries into the Battery Box, making sure to match the indicated +/- polarity
  12. Place the Battery Box cover and slide it to close the Battery Box
  13. Turn the Battery Box Switch to On Position to test the Batteries
  14. Turn Battery Box Switch to Off Position

Step 16: Optionally: Install the Bluetooth HC 06 Module

For some projects the robot may need to be connected over Bluetooth. The Robot KIT includes an optional HC-06 Bluetooth Module, that can be installed on the Sensor Shield. The Module should always be removed when programming the Robot, since it uses the same Serial Communication channel that is also used to program the Arduino UNO.

  1. Take the HC-06 Bluetooth Module from the plastic bag
  2. Insert the HC-06 Bluetooth Module into the 4 Pin Female Connector on top of the Sensor Shield in such a way that the "VCC" Pin of the Module is connected to the "+5V" connection point of the connector, and the "RXD" Pin of the Module is connected to the "TDX" connection point of the connector

Step 17: Optionally: Tidy Up the Cables

To reduce the cable clutter, you can use the Servo Cable to tighten the cables together.

  1. Unplug the Connector of the Servo Cable from the Sensor Shield
  2. Folding the as many as possible of the rest of the cables together, start wrapping the Servo Cable around them
  3. Make sure you leave enough cable to the Ultrasonic Ranger so it will be able to turn left and right without any problems
  4. Once the cables are well wrapped with the Servo Cable, plug back the Connector of the Servo into its connection point on the Sensor Shield

Step 18: Center the Ultrasonic Ranger on the Servo

Before we can make any projects using the Ultrasonic Ranger, we need to make sure that it is mounted properly oriented on top of the Servo.

For this the simplest way is to use Visuino to generate the Arduino code for us.

  1. If you don't have the Arduino IDE installed, download it from www.arduino.cc/en/Main/Software and install it
  2. If you don't have Visuino installed, download it from www.visuino.com and install it
  3. Start Visuino
  4. Click on the "Drop Down" button in the corner of the Arduino Component in the design area
  5. From the Menu select "Add Shields..."
  6. In the right view of the Shields Dialog, Expand the "Elegoo" category
  7. Select the "Elegoo Robot V2 Shield"
  8. Click on the "+" button above the left view, to add the Shield
  9. Close the Dialog
  10. In Visuino, Press F9 or click on the button shown on Picture 5 to generate the Arduino code, and open the Arduino IDE
  11. If the HC-06 Bluetooth Module is installed on the Sensor Shield, remove it
  12. Connect the Arduino UNO to the computer with USB Cable
  13. In the Arduino IDE make sure "Arduino/Genuino Uno" is selected as board
  14. In the Arduino IDE make sure the "Com Port" where the Robot is connected is selected
  15. In the Arduino IDE, click on the Upload button, to compile and upload the code (Picture 6)
  16. When the code is uploaded the Servo will rotate to Center Position
  17. If the Ultrasonic Ranger does not point forward, remove the cable connected to the Ultrasonic Ranger
  18. Use the small Philips type screwdriver from the set to unscrew the screw holding the Ultrasonic Ranger's Mount to the Servo Shaft
  19. Remove the Ultrasonic Ranger Mount, rotate it to point the Ultrasonic Ranger forward and place it back on the Servo Shaft
  20. Tighten the Screw
  21. Connect the Ultrasonic Ranger's Cable to the Ultrasonic Ranger's connector
  22. Turn On Power to test if the Servo is properly centered
  23. Turn Off the Power

Share

    Recommendations

    • Water Contest

      Water Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Tiny Home Contest

      Tiny Home Contest

    4 Discussions

    Just curious, how long does the battery last? I made a very similar build last summer using 4 AA batteries and 1 9V and it only lasts for half an hour. msolonko.net/oarobot

    1 reply

    I have never ran it until the batteries are empty :-( . Since they are rechargable I usually put it to fully charge after playing with it.