Skip to content

Hardware & Robot Assembly

Hardware Requirements

  • Yahboom Ackerman steering chassis link
  • Raspberry Pi 4 Model B
  • SD Card (32GB or more)
  • USB Camera
  • LiDAR TBA
  • STM 32F4 Discovery Board
  • 52Pi Ultra Thin Ice Tower Cooler Cooling Fan for Raspberry Pi 4 Model B CPU Fan link
  • OLED Display
  • 4 x female-female jumper wires
  • LiPo Battery with Tplug connector

Parts

Find all the necessary parts in this Amazon list

Step 1: Raspberry Pi and STM

Parts needed for this step: Parts need in step 1

start by putting the stickers for heat sinks on the Raspberry Pi 4.

Parts Needed
Alt Text 1 Alt Text 2

Attach the heat sinks to the Raspberry Pi 4.

Alt Text 1 Alt Text 2 Alt Text 3 Alt Text 4

Using these parts:

Alt Text 1 Alt Text 2 Alt Text 3

Skrew the Heat sink to the Raspberry Pi 4:

Alt Text 1 Alt Text 2 Alt Text 3

Add 4 x spacers to the raspberry pi 4:

Spacers
Alt Text 1 Alt Text 2 Alt Text 3

Connect the 4 x jumper wires to the GPIO pins on the Raspberry Pi 4:

Jumper Wires
Alt Text 1 Alt Text 2 Alt Text 3

Wires pins (pinout ref):

  • red -> 5V (pin 1)
  • black -> GND (pin 9)
  • brown -> SDA (pin 3)
  • white -> SCL (pin 5)

Place the STM 32F4 Discovery Board on top of the Raspberry Pi 4:

Alt Text 1

Then screw the STM 32F4 Discovery Board to the Raspberry Pi 4:

Parts Needed
Alt Text 1 Alt Text 2

Finally mount the Raspberry Pi 4 and STM 32F4 Discovery Board to the chassis:

Parts Needed
Alt Text 1 Alt Text 2

The final result should look like this:

Alt Text 1

Step 2: Chassis Assembly

Parts needed for this step:

Parts need in step 2

Add 2 x spacers to the chassis base:

Parts Needed
Alt Text 1 Alt Text 2

Add 2 x spacers to the black plate:

Parts Needed
Alt Text 1 Alt Text 2

Place the black plate on top of the chassis base:

Alt Text 1

Using 4 x screws and 4 x washers, attach the black plate to the chassis base (from front to back):

Parts Needed
Alt Text 1 Alt Text 2 Alt Text 3

Finally, attach the top plate to the black plate using 4 x screws and 4 x washers:

Parts Needed
Alt Text 1 Alt Text 2 Alt Text 3

Step 3: Wiring

3.1 Motor Wiring

Pass the servo cable through the holes and connect it to the STM Board:

Alt Text 1 Alt Text 2

Connect the Raspberry Pi 4 with the STM Board (for power):

Alt Text 1 Alt Text 2

Connect the Raspberry Pi 4 with the STM Board (for communication):

Alt Text 1 Alt Text 2

Pass the motor cables through the holes and connect them to the STM Board:

Alt Text 1 Alt Text 2 Alt Text 3

⚠️ Right motor -> Motor 4, Left motor -> Motor 2

3.2 LiDAR Wiring

Place the LiDAR on the Black Plate without mounting it and pass the cable through the holes:

Parted Needed
Alt Text 1 Alt Text 2 Alt Text 3

3.3 Camera Wiring

Place the camera on the top plate and pass the cable through the holes:

Alt Text 1

Step 4: Camera, LiDAR, and OLED Display Mounting

Cut the double-sided tape into pieces:

Parts Needed
Alt Text 1 Alt Text 2

Mount the LiDAR on the black plate:

Parts Needed
Alt Text 1 Alt Text 2 Alt Text 3

⚠️ Make sure the LiDAR is facing forward and the front edge is aligned as shown in the image.

Alt Text 1 Alt Text 2

Mount the camera on the top plate:

Alt Text 1 Alt Text 2 Alt Text 3

⚠️ Insure that the camera lens is at the center axis of the robot.

Alt Text 1

Connect the OLED Display to the Raspberry Pi 4:

Alt Text 1

Finally, mount the OLED Display on the top plate:

Alt Text 1 Alt Text 2