Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttps://www.youtube.com/watch?v=qF7bqQxeu84
height300px

The Four Motor DIY Kit was built to familiarize our users with using PWM expander chips and H-bridges with our platform with a fun and approachable project. We used the Four Motor DIY Kit to build a Mecanum car. The car moves forwards and backwards, and turns like a tank by applying power to only one side. It can be use to drive any four low power motors though as well. This DIY Kit page is currently optimized for revision FThe full DIY Kit can be purchased here.

Status
colour

Blue

Yellow
titleintermediate

Status

title

colour

$15

Green

Image Removed

Required hardware

Components

The full DIY Kit can be purchased here

title

Image Removed

$14.99

Image Added

Hardware Components

The components are part of the DIY Kit or can be sourced separately with help of the BOM:

View file
nameBOM.xlsx

Picture

Name

Designator

Quantity

Image Removed
Image Added

1x2 3.5mm Terminal Block

J1, J2, J3, J4, J5, J6, J7, J8, J9

9

Image Modified

TLC5940NT

U3

1

Image Modified

Sliding Switch

S1

1

Image Modified

Reads: “104“

100nf Capacitor

C2, C4, C5

3

Image Modified

Reads: “105“

1uf Capacitor

C1, C3

2

Image Modified

L293D

U1, U2

2

Image Modified

2kΩ Resistor

R2, R3, R4, R5, R6, R7, R8, R9, R10

9

Image Modified

3.9kΩ Resistor

R1

1

Image Modified

Radial LED (5mm)

D1

1

Image Modified

1x2 pin header

J12, J13, J14, J15, J16

5

Image Modified

1x3 pin header

J11

1

Image Modified

1x4 pin header

J10

1

Image Modified

28 pin carrier

1

Image Modified

14 pin carrier

2

Image Modified

Four Motor PCB

Q-PCB-003

1

Image Removed

Q-Client Builder Base

1

Tools

Tools Used

Picture

Name

Quantity

Link

Image Modified

Small slotted-head screwdriver

1

Included in

Starter

Component Kit

or you can pick from one on our Recommended Tools List

Image Modified

Soldering Iron

1

You can pick from one on our Recommended Tools List

Image Modified

Solder

1

You can pick from one on our Recommended Tools List

Image Modified

Diagonal Cutters

1

You can pick from one on our Recommended Tools List

Image Modified

Work Holder

You can pick from one on our Recommended Tools List

Story

The Idea

The Quantum revision on the Four Motor kit was built to familiarize our users with using PWM expander chips and H-bridges with our platform with a fun and approachable project.

Video

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width960px
urlhttps://www.youtube.com/watch?v=GwnN0OY7Vc8
height540px
Build Process

Step 1:

PCB Assembling and Soldering

Take a look at the required components above and determine their final position on the PCB. The following images should be a good reference:

Image RemovedImage Removed

Place groups of components on the board and then solder them to the pads. It is recommended to start with components with the lowest profile, like for example resistor and them move up to components like buttons with higher profile.

To determine the values of the given resistors and to place them in the correct position, please refer to a resistor color code calculator like this one:

https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code

Using some form of work holder is advised. You can find a list of suitable work holders on our Recommended Tools List.

To help you placing the bigger chips for the PWM expansion and the motor drivers, we put a 28-pin carrier and two 14-pin carriers into the kit. These can be soldered down and the chips can simply be plugged in on top of the carrier.

Step 2: Image Added

We will start by putting all the parts on the table.

Image Added

First solder the terminal blocks. Make sure they are looking in the right direction.

Image Added

Next solder the LED.

Image Added

Solder the TLC5940NT with its 28 pin carrier. Make sure the directions are right. The board will show you how to place it.

Image Added

Do this as well with the two L293D and their 14 pin carriers. Make sure the directions are right. The board will show you how to place it.

Image Added

Next are the capacitors. C1 & C3 have 1µF. C2, C4 and C5 have 100nF. Solder them on their dedicated places.

Image Added

Solder the switch. It should face away from the board.

Image Added

Now the pin headers. Make sure they aren't upside down.

Image Added

Next are the resistors.

  • 2k Ohm: R2, R3, R4, R5, R6, R7, R8, R9, R10

  • 3.9k Ohm: R1

Image Added
Image Added
Image Added

Your Four Motor DIY Kit is ready to be used!

Image Added

Connecting to the Builder Base

To connect the DIY Kit to the Builder Base you will need a bunch of male to male jumper wires and your flathead screwdriver.

Image Added

Please connect the Builder Base to the wide 8-connection jumper on the DIY Kit. The labeling of the connectors will be the same as determined in your firmware. The Builder Base can now get powered via USB and power the Kit as well, or get powered through the Kit. For that, the 2- connection terminal on the opposite side of the Kit has to be powered with 5V. A switch can interrupt the power in this configuration to save energy if for example a battery is used. The green LED will show you wether the DIY Kit is powered and ready to be used.


Projects

Mecanum Car

The project page can be found here Four Motor Project.

In this section we will explain how to make the DIY Kit compatible with the project.

Fist Omnidirectional Mecanum Car

First of all, we need to connect the PCB to the Builder Base. For that we simply connect the Builder Base to connectors the 8 connectors on the left side of the DIY Kit. The labeling of the connectors is identifying the terminals clearly. The connections are exactly the same as in the project. Refer to the section here. The Builder Base can now get powered via USB and power the Kit as well, or get powered through the Kit. For that, the connectors on the right side of the Kit have to be powered with 5V. A switch can interrupt the power in this configuration to save energy if for example a battery is used.Firmware and app are exactly the same! Please refer to the instructions in this section

If you need more specific information about the joystick and the motors use this link Four Motors and this Joystick.


Gallery

Image Added

Image Removed


Resources

App & Firmware

View file
nameFour Motor DIY Kit App.json

View file
nameFour Motor DIY Kit Firmware.json

This DIY Kit page is currently optimized for revision F.

Current revision

Assembly files for the current revision of the DIY Kit (Rev F):

https://github.com/QuantumIntegration/Q-PCB-003-Four-Motor-Hardware-Files/tree/Rev_F

Older revisions

-

-