Build an orrery clock lesson plan
The inner solar system on four steppers, each arm where its planet really is: periods and J2000 longitudes, ratios in fixed point, hall sensor homing, a DS3231 for the date.
Objectives and materials
By the end, students can
- Periods, the J2000 epoch, mean and true longitude, and ratios that never drift.
- An arm per planet on shift registers, homed to the March equinox.
- The date from a DS3231, then the solar system set to today and wound forward.
Materials for the whole unit
- 74HC595 shift register x 2
- Arduino Uno R3
- Hall sensor, A3144 x 4
- Real-time clock, DS3231
- Stepper motor, 28BYJ-48 with ULN2003 x 4
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
The sky in numbers
Periods, the J2000 epoch, mean and true longitude, and ratios that never drift.
| Lesson | Time | What students do |
|---|---|---|
| Planets and periodsWhere a planet is: an orbital period, a mean longitude at J2000, and two terms that turn a circle into an ellipse. Put the four inner planets where they were on 1 January 2000, and where they are today. | 70 min |
|
| Gear ratios in codeA brass orrery gets its ratios from gear teeth; this one from numbers. Steps a day for each planet, the best gear pair a clockmaker could cut, and why a running float total stops moving where a fixed-point fraction does not. | 70 min |
|
Materials
- 74HC595 shift register x 2
- Arduino Uno R3
- Hall sensor, A3144 x 4
- Real-time clock, DS3231
- Stepper motor, 28BYJ-48 with ULN2003 x 4
Check for understanding
Each student finishes "Gear ratios in code" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Which year?".
The machine
An arm per planet on shift registers, homed to the March equinox.
| Lesson | Time | What students do |
|---|---|---|
| Steppers per planetFour arms, four 28BYJ-48s and two shift registers: put an arm on an angle, take the shortest way around, and move all four on the same ticks. | 55 min |
|
| HomingA magnet on each arm at 0 degrees and a hall sensor to find it: home all four to the March equinox, refuse to place planets blind, and set the arms to today. | 55 min |
|
Materials
- 74HC595 shift register x 2
- Arduino Uno R3
- Hall sensor, A3144 x 4
- Real-time clock, DS3231
- Stepper motor, 28BYJ-48 with ULN2003 x 4
Check for understanding
Each student finishes "Homing" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Read it back".
Time and the project
The date from a DS3231, then the solar system set to today and wound forward.
| Lesson | Time | What students do |
|---|---|---|
| Today from an RTCThe DS3231 keeps the date with the power off: days since J2000 from its seconds count, leap years for free, UTC, setting the clock, and an equinox you can check against the sky. | 55 min |
|
| Project: the solar system on your deskHome it, set it to today, then wind time forward with fixed-point step accumulators and check them against the formula, watch Mercury lap Earth, and see what a calendar year instead of a sidereal one does to the sky. | 55 min |
|
Materials
- 74HC595 shift register x 2
- Arduino Uno R3
- Hall sensor, A3144 x 4
- Real-time clock, DS3231
- Stepper motor, 28BYJ-48 with ULN2003 x 4
Check for understanding
Each student finishes "Project: the solar system on your desk" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "The wrong year".
Teach this unit as a class
Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.