Files
micromelon-website/content/resources/activity-forklift-attachment.mdx
Tim Hadwen 1f8c46597b Site audit: fix broken images, add activity metadata, clean up content
- Remove broken image references from 25 MDX files (deleted spacer/content images)
- Add codingSkills and roverConcepts frontmatter to 24 activity pages
- Fix "Activity Demonstration" headings in 15 activity files (plain text -> h3)
- Remove unused "All" category from 89 MDX files
- Decode HTML entities (> <  ) in 9 content files
- Escape bare < > characters in MDX to fix build errors
- Standardize contact email to contact@micromelon.com.au
- Add missing description to rover-repair-request metadata
- Include previous session work: about-us updates, difficulty filtering,
  LearningPathway component, expanded schools list, new product/resource images

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 21:49:15 +10:00

64 lines
2.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Activity: Forklift Attachment"
date: "2023-09-14"
categories: ["Activities", "Simulator Activities"]
tags: ["Colour Sensors", "Branching", "Iteration", "Algorithm Design", "Advanced"]
codingSkills: ["Branching", "Iteration", "Algorithm Design"]
roverConcepts: ["Colour"]
excerpt: "Use the forklift to move and stack meloncubes into increasingly taller towers. Calculate the correct times to power the servo to reach the maximum height. SetupAgainst a wall, set up a series of towers using solid materials. We generall"
featuredImage: "/images/resources/activity-forklift-attachment.jpg"
---
Use the forklift to move and stack meloncubes into increasingly taller towers. Calculate the correct times to power the servo to reach the maximum height.
### Setup
Against a wall, set up a series of towers using solid materials. We generally use blocks of wood differing in height. Use multiple Meloncubes and practice picking them up using the forklift. Once this has been mastered, raise the fork to the heights of the various towers and stack the Meloncubes on each. Note that the forklift's maximum lift height is about 8cm off the ground.
To extend the students, task them with designing and printing a modular cube that can easily be picked up by the fork. These can be used to create stacked building blocks using the forklift.
To download the print file for the Meloncube, head on over to either Printables or Thingiverse:
[Printables: MelonCube](https://www.printables.com/model/639390-micromelon-meloncube)
[Thingiverse: MelonCube](https://www.thingiverse.com/thing:6284246)
### Heres Our Approach
![](/images/content/ebb030-1.png)
#### 1) Move towards the Meloncube
Start by moving the rover towards the Meloncube.
#### **2) Capture the Cube:**
![](/images/content/2ed4e0-2.png)
Next, we will set the continuous servo to turn on in one direction by powering it to 90. The delay will choose how long the servo will spin for. We will set the servo to 0 to turn it off.
#### **3) Approach the Tower:**
![](/images/content/ae8edf-3.png)
Once the fork has been lifted, the rover will move towards the tower and stop in front of it. This may vary depending on the distance from the tower.
Maybe add tape on the ground for the colour sensor to detect.
#### 4) Deposit the Cube:
![](/images/content/443fc3-4.png)
Once the tower has been reached, the fork should be lowered to the correct height for the tower. A delay of half a second was added to allow for the servo to settle. Finally, the rover will back away from the tower.
#### Complete Code:
![](/images/content/bf6235-complete.png)
**Tip:**
Try and design your own type of modular cubes that are easy to lift and stack. Weve provided the measurements for the fork to make designing easier. Maybe you can start a construction project like building a city or a staircase!
![](/images/content/4e807f-dimensions.png)