ROSbot - Autonomous Robot With LiDAR and Husarion CORE2 Controller

by radeknh2 in Circuits > Robots

30802 Views, 261 Favorites, 0 Comments

ROSbot - Autonomous Robot With LiDAR and Husarion CORE2 Controller

rosbot_big.jpg

ROSbot is an open source, mobile robot platform containing:

  • Digital camera
  • Laser scanner 360° RPLiDAR A2
  • Solid aluminum cover
  • Wi-Fi antenna
  • Orientation sensor (MPU-9250)
  • 2x left & 2x right DC motors with quadrature encoder
  • Husarion CORE2-ROS (with ASUS Tinker Board inside)

It's pretty large project but even if you can't do everything, you can choose which features you want to implement. The project has been created by Husarion team: https://husarion.com/
The assembled version or the CORE2-ROS controller is now available at: https://www.crowdsupply.com/husarion/core2

In case of any question please ask in comments :)

Prepare (order?) the Aluminium Chassis

0-chassis.PNG

The chassis is laser-cutted from the 2mm thick aluminium plate. We designed it in CAD software and outsourced to a laser-cutting workshop. They have also offered painting, so we've eventually made two versions. The attached drawings are suitable to be the source files for laser-cutting company but don't forget about units - all dimensions are in milimeters.

Assemble the Chassis With M3x6 Screws and Nuts

1-chassis.jpg
2-chassis.jpg

Then Attach the Motors With Encoders and Screw Them Using M3x6 Screws

3-motors.jpg
4-motors.jpg

We used motors similar to these "34:1 Metal Gearmotor 25Dx52L mm LP 6V" from Pololu: https://www.pololu.com/product/1584 but the general requirements are:

- RPM between 80...200 @6V

- voltage from 6V to 12V

- stall current max. ~2A

- the same dimensions (diameter, length and mounting holes) as Pololu 25Dx52L motors

Caution: longer screws can damage or block the motors

Assemble the Two Other Motors to the Right Plate

5-motors.jpg
6-motors.jpg

Attach the Right Plate to the Bottom Cover With M3x6 Screws

7-right-plate.jpg
8-right-plate.jpg

Attach the Battery Pack for 3x 18650 Li-Ion Batteries and Insert the Batteries

10-battery-pack.jpg
9-battery-pack.jpg
11-battery-pack.jpg
12-batteries.jpg

ROSbot is supplied from 3 pieces of 18650 Li-Ion cells. I recommend using batteries with protection circuit and charging them with dedicated charger. Please avoid very cheap batteries and chargers - the damage of Li-Ion batteries can be dangerous. It's about your safety. The power source is important and needs to be reliable. All you need is to use good batteries and charger with protection and then don't worry about that :)

P.S. In the newer version of ROSbot we updated this and we used a battery pack with an additional connector for balancer. In that way we can charge batteries through a 4-wire cable, without opening the robot. I will describe that later.

Screw the Standoffs for Sensors and Install the Sensors

13-sensors.jpg
14-sensors.jpg
15-sensors.jpg
16-sensors.jpg

The more external standoff is 8mm long and the one that is closer to the center is 10mm long, because there is only one layer of metal.

Screw the Standoffs and Install Husarion CORE2-ROS Controller

17-standoffs.jpg
18-standoffs.jpg
19-core2ros.jpg
20-core2ros.jpg

Use four female-female, threaded standoffs, M3x50 size (metric 3mm thread, 50mm long). Use M3x6 screws to assemble with bottom cover and to install the Husarion CORE2-ROS controller.

Install a Camera and LiDAR

21-camera.jpg
22-lidar.jpg
23-lidar.jpg

We used the USB camera that we've had in the drawer :) and the RPLIDAR A2 360 degrees Laser Scanner. Screw them using M3x6 screws and nuts (for the camera only).

Attach the Wheels Using Hex Couplers

24-wheels.jpg

We used the "wheels for robot toys" with brass couplers that are compatible with 4mm diameter, D-shaped motor shafts. The wheels have the 85mm diameter.

Prepare the Cables

26-connections.jpg

You need some cables:

4x cable that connects Sharp sensor with CORE2-ROS (see the next step)

1x cable that connects MPU-9250 sensor with CORE2-ROS (see two steps further)

1x cable for battery pack <-> CORE2 connection (with switch) - it's simple :)

1x generic USB extension cord for a Wi-Fi card (it needs to be installed outside the metal box)

The motors, LiDAR and camera have their own cables.

The connections diagram is shown on the attached photo.

Prepare the Cables for Sharp Sensors

26-sensor-cable.jpg
27-sharp-pinout.jpg

We used Sharp GP2Y0A41SK0F sensors.

See the photos and make 4 cables. Pinout is also included on the photo.

Prepare the Cable for MPU-9250 Module

28-mpu-pinout.jpg

Pinout is attached and cable similar to the previous one. This time you don't need the IDC connector.

Assembling Hardware Is Finished

28-the-end.jpg

This is how it looked in our case :)

Using the ROSbot

The ROSbot can be used in two ways:

- as a remote controlled platform, programmed from cloud, without using ROS (Robot Operating System) and in that case please follow the guide from here: https://husarion.com/core2/tutorials/howtostart/ru...

- as a platform for learning ROS - in that case please take a look at these tutorials: https://husarion.com/core2/tutorials/ros-tutorials..

The Final Effect

ROS workshops with ROSbot

This is a short demo how the ROSbot can be used at the workshop or for personal purposes:

Have fun!