Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 36 additions & 2 deletions src/mechanical/2018/bigRobot.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,39 @@ To detect when the cube is in the lift, the robot uses a limit switch available

### The lift

The limit switch used in the entry is connected to a pin of an Arduino Uno board so we can detect the state change when a block touches the switch.
That event triggers the lift and thus the block starts to raise up.
Therefore we are using another DC motor with a belt as you can see on the picture below.

![img](mechanical/2018/bigRobotSrc/lift_motor_belt.png)

Thanks to the colour detection we know in which order we have to collect the blocks on the field, so we also know which one comes first in the lift and which floor it has to go to.
It is important to know the specific floor in order to create the pattern showed at the beginning of the game and recognised by the colour and sequence recognition part.

To know when the lift has to stop, we use the encoder of the DC motor so we can precisely know when the motor has to stop.
The encoder is connected to an interruption pin on the Arduino board so the tick counts can be more accurate and have priority.

Once the block is on the right floor, it has to be pushed outside of the lift to already be placed in its position on the tower on a kind of shelf (as you can see in the picture below) which supports the blocks even if there is no other block below.

![img](mechanical/2018/bigRobotSrc/cage.jpg)

Furthermore, to push the block, we use a dynamixel with a gear and a tooth rack to slide a plate along which pushes the block until it reaches the « shelf ».

![img](mechanical/2018/bigRobotSrc/tooth_rack.png)

Then the lift (without any block inside) goes down. To make sure it doesn’t go too much we use another limit switch.
Therefore the lift is immediately stopped, another cube comes in and we can do the cube lifting steps mentioned before over again until all the cubes of the tower are placed.


As mentioned above, we are using DC motors to control our lift.
We have in all 3 motors and they are all connected to a L298 driver (see picture below) controlled by an Arduino Uno board.

![img](mechanical/2018/bigRobotSrc/driver_L298.png)

We use 2 motors for the rollers to collect the blocks. In order to do so, each one has to turn in the opposite direction of the other but at the same speed.
Thus we connected them to the same driver but inverted the pins of one motor compared to the other one.
These motors don’t have an encoder so their only 2 pins are connected to the driver. We also have the third motor to make the lift go up and down. As we said before, we use the encoder to know where we have to stop so there are pins of the motor connected to the Arduino board. On the other hand the motor is also connected to the driver so we can control its speed, stop it and launch it.


### The cage

Expand Down Expand Up @@ -92,9 +125,10 @@ Most of the part are home made (CNC, 3D printing) but some parts a bought on the
* Snap Action Limit Switch, Roller Lever, Thermoplastic, NC, 125V


# Author
# Authors

Crappe Martin
Crappe Martin
Hagopian Armen



Binary file added src/mechanical/2018/bigRobotSrc/driver_L298.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/mechanical/2018/bigRobotSrc/tooth_rack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.