Major site overhaul: resources hub, content migration, new blog posts, forms

- Redesign /resources as sectioned hub with category pages
- Migrate 645 Squarespace CDN images to local /images/content/
- Create 9 new news/blog posts with event photos
- Fix blog post slugs (rename gibberish filenames)
- Rename Design Blog to Design Blogs across site
- Remove education page, replace with Platform in nav
- Redesign rover repair request form with dynamic rover entries
- Add school search combobox to contact, store, and repair forms
- Extract shared KNOWN_SCHOOLS data
- Make /rover-expansion-3d-printing dynamically pull from MDX
- Add related resources sections to product pages
- Fix homepage broken /quote links to /store
- Store page: sample kit cards, inline quote builder, mailing list opt-in
This commit is contained in:
Tim Hadwen
2026-03-01 17:14:05 +10:00
parent 707c49dd3f
commit ae3ae18585
1212 changed files with 2477 additions and 6948 deletions

View File

@@ -11,39 +11,39 @@ Use a micro servo to make your own visual gauges. Program the gauge to react to
### Setup
**1) **We need a visual scale to attach to the servo. Start by printing the scale attachment below. It can help to glue the paper to card or cardboard for additional rigidity.
**1)** We need a visual scale to attach to the servo. Start by printing the scale attachment below. It can help to glue the paper to card or cardboard for additional rigidity.
[Scale Attachment](/s/gauge.png)
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/5e157500-3f60-4775-ad77-fc0f6d3846df/gauge.png)
![](/images/content/f93209-gauge.png)
**2) **Cut out the scale on the outer black line, as shown in the picture below.
**2)** Cut out the scale on the outer black line, as shown in the picture below.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/81665ce4-0af5-4c69-94af-47805de2864f/cut.jpg)
![](/images/content/48cbaf-cut.jpg)
**3) **Position the scale on the front of the servo with the axle at the centre of the scale. Poke through the circles on the scale, and screw in two servo-mounting screws to keep the scale in place.
**3)** Position the scale on the front of the servo with the axle at the centre of the scale. Poke through the circles on the scale, and screw in two servo-mounting screws to keep the scale in place.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/5fd4b48b-39d6-42c0-9320-31826181c612/screw.jpg)
![](/images/content/292a59-screw.jpg)
**4) **Connect the servo to the left servo port on the rover and turn it on. Calibrate the servo by setting the servo to position -90, and attaching the servo horn pointing to the red portion on the scale.
**4)** Connect the servo to the left servo port on the rover and turn it on. Calibrate the servo by setting the servo to position -90, and attaching the servo horn pointing to the red portion on the scale.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/7f3b6cfe-8553-4a16-8bb3-b171a9d545fb/set+servo.PNG)
![](/images/content/9f935c-set-servo.png)
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/a65b18be-27d3-4045-ba22-4fb449b4e9ec/program.jpg)
![](/images/content/74b90e-program.jpg)
### Heres Our Approach
**Constant - **A constant is a variable that never changes when the code is run. In python, we write this in all capitals with underscores between words.
**Constant -** A constant is a variable that never changes when the code is run. In python, we write this in all capitals with underscores between words.
#### 1) Prepare the Loop:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/7c03ef85-1768-4667-9fde-314cc78648f4/loop.PNG)
![](/images/content/d0ea64-loop.png)
Start by setting up a While loop that will run forever. The gauge will read the sensor and update itself each time in this loop.
#### **2) The Scale Function:**
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/59f828f7-dcfa-4d51-8e42-d82b120f5085/scale.PNG)
![](/images/content/2ed8d9-scale.png)
1st row (x) - This is the sensor value that will be scaled
@@ -57,7 +57,7 @@ Start by setting up a While loop that will run forever. The gauge will rea
From the math section, grab the Scale Number block. The purpose of this block is to take an input (like a sensor reading) and scale it to suit an output (like servo movements). This block works similarly to the diagram below. Here are the inputs for the block:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/fe8798a8-1392-4602-bb04-3e75a8b784db/map_diagram.jpg)
![](/images/content/6f008c-map_diagram.jpg)
*Example of the scale function from [0, 1023] to [0, 4]*
@@ -67,66 +67,8 @@ For this activity, we will use the y-axis of the accelerometer as our sensor. Th
Finally, place a Move Servo block into the loop and put the scale function inside. Run the code and tilt the robot on its side. The gauge should move the hand the more you tilt the rover.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/339dd50a-1ea5-4aa8-8034-1da4febab50d/complete+code.PNG)
![](/images/content/c89ca3-complete-code.png)
**Tip: **
**Tip:**
Try changing some of the colours on the scale and adding numbers to it. Maybe connect it to other sensors like the Ultrasonic, and use the gauge to display how close an object is to the rover.
### Related Posts
Resources
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1639455538805-9NI7CPKR7IYG6D4RBKAN/high+quality+sumo.png)
](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
[Creating A Sumo Unit For Your Digital Technologies Class](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
How to run a sumo unit in your digital technologies classroom.
[Read More →](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1637464845856-BBPD7GTIIHHOSJCFORWF/the+ultrasonic+sensor.png)
](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
[The Ultrasonic Sensor](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
Learn all about the ultrasonic sensor!
[Read More →](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1625616494179-LZHZP5MUA0E0MQKEB7HC/cropped+image+4.png)
](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
[Case Study: Year 7 Digital Tech at St Peters Lutheran College](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
See how Meg Foley at St Peters conducted a challenge for their Year 7s using Micromelon.
[Read More →](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)