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,15 +11,11 @@ Lets convert the rover into one of the weirdest musical instruments of all ti
### Getting Into Music:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/8aa96bf5-a620-4cdd-a09b-36f24b5f1611/Theremin.PNG)
![](/images/content/c37630-theremin.png)
As instruments go, the Theremin is quite an odd machine. The device uses two antennae that have an electromagnetic field surrounding them. These fields can be affected when a hand is moved near them. One antenna (horizontal) is used to control the note's volume, and the other (vertical) is used to control the note's pitch.
We're going to make the rover behave similarly to the Theremin to play music. For an introduction to reading music and for an example song, head over to the 'Making Music' activity guide
[
Activity: MAking Music (Beginner)
](/resources/activity-making-music-beginner)
We're going to make the rover behave similarly to the Theremin to play music. For an introduction to reading music and for an example song, head over to the 'Making Music' activity guide[Activity: MAking Music (Beginner)](/resources/activity-making-music-beginner)
### Setup:
@@ -27,17 +23,17 @@ So to make our rover theremin, we need two sensors on the rover to act as the tw
To get started, print this attachment: [Note_Scale.pdf](/s/Note_Scale)
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/fa78d5dd-280b-48f6-9273-b4990bbfc120/theramin+scale.PNG)
![](/images/content/d9f3cd-theramin-scale.png)
After printing the page, position the rover so that the right track is precisely on the line for note C. As seen on the page, each note has a number in cm. This indicates how far each line is from the rover IR. We'll be using this information in the code.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/0f083ee8-b2c2-41a5-8f3a-b369659175a7/IMG_1868.jpg)
![](/images/content/752015-img_1868.jpg)
### Code:
#### 1) Volume Control:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/9f2bc370-98c2-4b38-b7ea-d872976d4866/Volume+control.PNG)
![](/images/content/ac36fd-volume-control.png)
First, we need to code in the volume control. If the left IR is uncovered, all sounds must stop. If the IR is covered, the rover can continue playing the notes.
@@ -47,66 +43,8 @@ As seen in the code, if the left IR distance sees less than 6cm, the code will c
Now, all that is left is to add a large 'if/else if 'code to the inside of the volume control to control the pitch. As the code shows, the 'if' statement checks through each distance on the note scale to see which note is being triggered. The code plays the correct note depending on how far the hand is from the right IR.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/c519b426-b768-4608-b0fc-17cfb04f2a2c/code.PNG)
![](/images/content/d68678-code.png)
#### Tips:
Try to make your own note scale and change the code to suit it. Maybe you can add two octaves of notes on your page.
### 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)