Build a Scratch autonomous program, explain why each block is there, and use simulated telemetry to fix one decision at a time. No physical robot or prior Scratch experience is required.
RED: preloads → F3 → F1 → LOAD. BLUE: preloads → F4 → F2 → LOAD. First TIP: four; second TIP: eight.
Native Scratch blocks. An empty student route. A separate worked solution when you are ready to compare.
Scroll
01The learning loop
Don't just copy. Know why it works.
Plan
Name the correct flowers and the side the opening faces. Draw a clear route around the frame.
Predict
Say which count, RPM, tick value or tag state should change before running the blocks.
Observe
Use V for simulated telemetry. Read units and freshness, not just a reassuring number.
Explain
Change one decision, try again, and explain why the result changed.
Your codePlanPredictObserveExplain
01Plan02Predict03Observe04Explain
01
No Scratch experience required
Find your program, not the simulator engine
Open the puzzle. If you have a Scratch account, choose Remix to make your own copy. Without an account, download the blank SB3 and use Scratch's File → Load from your computer.
Choose See inside, then Code. Select the sprite YOUR AUTO – EDIT ME below the stage. Other sprites run the simulator; leave them alone.
Click My Blocks. Drag command blocks beneath when I receive RUN MY AUTO. Snap them into a vertical stack and click a number to change it. Detached sample blocks do not run.
Click the green flag once to initialize. P resets untimed practice. A resets and runs your program for 30 seconds. Do not put your route under the green flag.
B switches alliance and resets. V cycles telemetry pages; C returns to the field. During AUTO, manual driving and shooting are locked.
Manual practice: arrows drive/turn; hold I for intake; E toggles the extractor servo; T acquires fresh hive tags and aims; Space launches. Retract the servo after extraction. Practice first, then write the sequence you want the robot to perform alone.
By the end, you can…
Find the student sprite, assemble My Blocks and run a resettable AUTO attempt.
Solve RED F3 → F1 or BLUE F4 → F2 with independent extraction and intake controls.
Use motor RPM, encoders, hopper count, relative AprilTags and odometry without mistaking simulation for hardware measurements.
The command palette
drive (distance) cm
Positive forward; negative reverse. A blocked request cannot pass through a wall.
turn (angle) degrees
Positive clockwise; negative counterclockwise. This is a relative turn, not an absolute heading.
aim using AprilTags
Acquire a fresh visible cluster on your own hive's open face, then set heading and ballistic pitch. It does not drive to a scoring location.
launch (count) pollen
Fire carried pollen sequentially. No fresh aim means no accepted shot.
set extractor servo (0/1)
0 retracts; 1 extends. It does not turn on the intake motor.
intake for (seconds)
Run the intake motor for that duration, then stop. It leaves the extractor servo unchanged.
set intake motor (0/1)
0 stops; 1 runs until you stop it. This lets intake and driving overlap.
wait (seconds)
Pause your program while the simulation continues. The AUTO clock still runs.
02
Read · predict · explain
Build the solution one decision at a time
These are readable transcriptions of the native Scratch command blocks, not Java or FTC Blocks code. Build the same stack in Scratch; // lines are explanatory comments.
Start with a question
After the first TIP, why must a robot move before the next four accurate shots can score?
01Start with four preloads and a fresh tag observation
Scratch command sequence to study
when I receive [RUN MY AUTO]
aim using AprilTags
launch (4) pollen
Blocks to noticeHover, focus or tap a block to see what it does.
A resets the simulator and broadcasts this event. The student stack starts here, not at the green flag.
Acquire the visible AprilTag cluster and use its fresh observation to calculate chassis heading and ballistic elevation.
Launch four carried preloads sequentially; the fourth valid hit completes the first TIP.
The green flag prepares practice mode with the chassis facing north (Heading 0) on either alliance. The launcher marker points inward toward the starting CELL's open scoring face; this visual alignment does not grant Aim ready. Pressing A resets the field, starts a 30-second attempt and broadcasts RUN MY AUTO. Your program belongs under that event. Aim acquires a fresh AprilTag observation and aims at the starting CELL before launching the four preloads. These four shots cause the first TIP. The existing aiming model still turns the chassis; the separate launcher marker only preserves the requested starting pose.
For example: Held changes 4 → 0, Tips changes 0 → 1, and the checklist advances to SIDE extraction. The active CELL flips to the other face.
Can the next batch be scored from the same closed side simply by aiming more accurately?
Show Answer
No. The mouth now faces the opposite side. You must drive around the HIVE frame to the open side; a TIP also invalidates the previous tag observation.
02Use two different actuators to extract SIDE pollen
Scratch command sequence to study
set extractor servo (1)
intake for (1.95) seconds
set extractor servo (0)
Blocks to noticeHover, focus or tap a block to see what it does.
Extend the extractor servo. This does not start the separate intake motor.
Run the intake motor long enough for modeled servo deployment and four transfers, then stop the motor.
Retract the servo after extraction. Hopper count stays unchanged by retracting.
RED goes to F3; BLUE goes to F4. Each flower begins with four pollen inside it, not on the floor. Approach within about 28 cm. Extending the extractor servo and running the separate intake motor transfers pollen to the hopper. The short example allows the modeled servo travel and four transfers.
For example: Your required SIDE flower's number falls 4 → 0 while Hopper count rises 0 → 4. The motor and servo status indicators are independent.
What happens if the servo is extended but the intake motor stays off?
Show Answer
No pollen transfers. Both actuators are required. Motor-only, full-hopper, empty-flower and out-of-reach cases also cannot extract new pollen.
03Carry the batch to the open-facing scoring side
Scratch command sequence to study
face heading (0) // RED example helper below
drive (189) cm
aim using AprilTags
launch (4) pollen
Blocks to noticeHover, focus or tap a block to see what it does.
This study helper turns to an absolute Scratch heading by subtracting the current Heading.
Travel forward or reverse by centimetres; walls and the frame can reject movement.
Acquire a new relative observation from the open side and aim; do not reuse the old pre-TIP aim.
These four SIDE hits fill half of the second eight-pollen threshold.
Do not shoot from the flower. Carry the batch at least 60 cm from pickup, travel around the frame, stop on the side the green open-face arrow points toward, then aim to acquire fresh tags and align. The first TIP leaves RED's opening facing north and BLUE's facing south.
For example: RED can travel from near (150,-59) to (150,130) cm. BLUE mirrors that move. After four SIDE hits, Cell load is 4 but Tips is still 1: the second TIP needs eight.
The top-down ball passes close to the CELL icon. Is that enough to score?
Show Answer
No. Its arc must enter the finite tilted aperture from outside to inside, with the correct height and inward direction, without hitting supports or the roof.
04Extract OPPOSITE pollen and finish the second TIP
Scratch command sequence to study
// After scoring SIDE, go to OPPOSITE
// RED: F1 near (59,173); BLUE: F2 near (-59,-173)
set extractor servo (1)
intake for (1.95) seconds
set extractor servo (0)
// Carry the batch at least 60 cm, then aim + launch 4
Blocks to noticeHover, focus or tap a block to see what it does.
Extend before collection and retract afterwards; it remains independent from intake power.
Transfer only from a reachable flower with remaining inventory and space in the hopper.
Carry the OPPOSITE batch at least 60 cm to a clear scoring location.
Acquire a new observation and aim after transport. A missing cluster is not fresh evidence.
Add four OPPOSITE hits to the retained SIDE four to complete the second TIP.
RED now extracts F1; BLUE extracts F2. Retract the servo after collection. Carry these four to a scoring location at least 60 cm from pickup, then aim and launch. They add to the four SIDE pollen already retained in the active CELL.
For example: Second-TIP accounting is SIDE 4 + OPPOSITE 4 = 8. After the TIP the active mouth flips again. The two unused flowers should still show four.
Could RED use F2 instead of F1 because both flowers contain four pollen?
Show Answer
No. The puzzle tracks piece identities, not just a count. RED requires F3 then F1; BLUE requires F4 then F2, in that order.
05Read different signals without confusing their units
Scratch command sequence to study
// Open Variables and enable a reporter, or press V
(Hopper count) // actual carried count, maximum 4
(FL RPM) // one drive wheel, simulated RPM
(FL encoder ticks) // cumulative signed wheel ticks
(Tag status) // FRESH / STALE / UNAVAILABLE
(Odom field x mm) // field-centred X, not raw pod ticks
Blocks to noticeHover, focus or tap a block to see what it does.
This reporter is the actual length of the simulated hopper, with a maximum of four.
Signed simulated front-left wheel speed in revolutions per minute, not a power percentage.
Signed cumulative simulated front-left wheel ticks since reset; ticks remain when the wheel stops.
FRESH, STALE or UNAVAILABLE describes whether the tag observation may be used.
Ideal field-centred horizontal position in millimetres, not encoder ticks or connected Pinpoint data.
Press V to cycle the telemetry pages; C returns to the field immediately. RPM is a rate, encoder ticks accumulate travel, and an odometry pose is a position. Tag readings are relative observations captured at the start of Aim. STALE is not a fresh zero-distance measurement.
For example: With the 96 mm wheel and 560 ticks/revolution classroom defaults, 100 cm of straight travel is about 1,857 ticks. When you stop, RPM becomes zero while accumulated ticks remain.
If modeled wheel encoders and Pinpoint-like pose agree, have you independently proved a real robot's distance?
Show Answer
No. Both derive from the same ideal simulator motion. A real robot needs independent measured trials, calibrated pod/wheel geometry and fresh valid hardware readings.
06Park empty and leave time to settle
Scratch command sequence to study
// RED final approach; BLUE mirrors the positions/headings
face heading (90)
drive (170) cm
face heading (180)
drive (35) cm
wait (0.8) seconds
Blocks to noticeHover, focus or tap a block to see what it does.
Choose an absolute heading with the helper, then verify the actual resulting Heading.
Drive into the LOAD rectangle while keeping the centre inside the field.
Let the robot remain stationary long enough for the 0.5-second park dwell before AUTO ends.
After the second TIP, drive into your own marked LOAD zone with an empty hopper. Hold the robot still for at least 0.5 seconds before the 30-second clock expires. The reference solution waits 0.8 seconds to allow that dwell.
For example: The RED final target is near (160,90) cm; BLUE is near (-160,-90). Step 6 and SUCCESS mean all five tasks are complete.
Is touching the border with one wheel enough to finish?
Show Answer
No. The robot centre must be inside the LOAD rectangle, the hopper empty and the robot stationary for the dwell interval.
03
V to inspect · C to return
Six motors, one hopper, different kinds of evidence
All readings here are SIMULATED. No physical robot, camera or goBILDA Pinpoint is connected. Drive speeds and encoders derive from accepted model movement; intake/shooter RPM are assumed operating values. The extractor is a servo, not a seventh drive/intake motor.
1 / Drive RPM; signed cumulative ticks
FL/FR/BL/BR RPM; FL/FR/BL/BR encoder ticks
Distinguish forward, reverse, rotation and a blocked request. Counts use accepted motion only.
Model wheel diameter mm; drive ticks/rev; track/wheelbase mm; pod ticks/mm; nominal motor RPM
Defaults: 96 mm wheels, 560 drive ticks/rev, 300/320 mm track/wheelbase, 10 pod ticks/mm, 120 intake RPM, 1,800 shooter RPM. None are measured robot specifications.
A stopped wheel reads zero RPM; its accumulated ticks do not vanish.Field X is right and field Y north. Local axes stay fixed at reset; this is not hardware sensor fusion.
Fresh is different from zero
Aim first acquires fresh AprilTag field and robot-relative coordinates, then turns the chassis and sets ballistic pitch. Robot motion or a TIP invalidates the lock. The panel reports FRESH, STALE or UNAVAILABLE rather than pretending an invisible tag has a fresh position of zero.
Tag forward mm and Tag right mm use the robot frame at acquisition. Tag bearing deg is clockwise from that heading. Aim does not rewrite its observation after turning. Aim again after the next drive or turn; no separate Focus step is needed.
Not fixed field anchors: these clusters move with the hive CELL. Use them for relative aiming, not as permanent field-localization landmarks. The drawings are synthetic clusters, not official tag IDs or a camera decoder.
Where the model stops
The pose is ideal and kinematic. This classroom model does not simulate wheel slip, sensor drift, battery load or real Pinpoint calibration. RPM is sampled and can spike during an instantaneous aim turn. Display precision is not an accuracy specification. A real robot needs separate hardware setup, validation and supervised calibration.
At the illustrative 96 mm / 560 tick defaults, 1,000 mm gives about 1,857 signed ticks.
RPM = wheel_revolutions / elapsed_seconds × 60
RPM is a rate; it returns to zero when motion stops. Cumulative ticks do not.
turn = ((target − Heading + 180) mod 360) − 180
Convert an absolute Scratch heading into a relative turn between −180 and 180 degrees.
BLUE waypoint = (−RED x, −RED y)
Mirror field positions around the HIVE centre. F3 becomes F4; F1 becomes F2.
1. Predict a stopped wheel
A wheel completes two forward revolutions and stops. With 560 ticks/revolution, predict the final ticks and stopped RPM. Then compare reverse travel and a clockwise turn.
2. Trace the two mechanisms
Write flower count and hopper count after: motor only; servo only; both together; both with a full hopper. Explain why the servo must not be called a second intake motor.
3. Repair one broken route
Move to a flower and try to score immediately. Read Coach, Tag status and Tips. Change just the scoring location, then aim again. Record what changed and why.
4. Extend with feedback
Replace one known straight drive with a short-step loop that watches reset-relative encoder change or odometry. Add a timeout. Do not let a wrong unit or a stale tag create an endless loop.
05
A worked example, not the only strategy
Open the reference after making a prediction
The blank starter leaves your autonomous route empty. The separate worked SB3 attaches a complete native Scratch program to RUN MY AUTO and chooses the route for the selected alliance. It does not teleport the robot or bypass the aperture, extraction or transport checks.
In My Blocks choose Make a Block, name it face heading, and add a number input called target. Its body calls the existing relative turn block. The helper is included in the worked SB3.
define face heading (target)
turn ((((target) - (Heading) + 180) mod 360) - 180) degrees
The complete program
Choose RED or BLUE with B, then press A. The block below chooses a branch from the simulator's Alliance variable: 1 is RED, −1 is BLUE.
when I receive [RUN MY AUTO]
aim using AprilTags
launch (4) pollen
if <(Alliance) = 1> then
// Travel outside the HIVE frame
face heading (90.000)
drive (115.000) cm
// Extract SIDE: RED F3 / BLUE F4
face heading (0.000)
drive (105.000) cm
set extractor servo (1)
intake for (1.95) seconds
set extractor servo (0)
// Aim using tags and shoot four
face heading (0.000)
drive (189.000) cm
aim using AprilTags
launch (4) pollen
// Extract OPPOSITE: RED F1 / BLUE F2
face heading (-74.476)
drive (93.408) cm
set extractor servo (1)
intake for (1.95) seconds
set extractor servo (0)
// Aim using tags and shoot four: second TIP
face heading (-113.199)
drive (76.158) cm
aim using AprilTags
launch (4) pollen
// Go around the frame toward LOAD
face heading (90.000)
drive (170.000) cm
// Park empty and wait 0.8 seconds
face heading (180.000)
drive (35.000) cm
else
// Travel outside the HIVE frame
face heading (-90.000)
drive (115.000) cm
// Extract SIDE: RED F3 / BLUE F4
face heading (180.000)
drive (105.000) cm
set extractor servo (1)
intake for (1.95) seconds
set extractor servo (0)
// Aim using tags and shoot four
face heading (180.000)
drive (189.000) cm
aim using AprilTags
launch (4) pollen
// Extract OPPOSITE: RED F1 / BLUE F2
face heading (105.524)
drive (93.408) cm
set extractor servo (1)
intake for (1.95) seconds
set extractor servo (0)
// Aim using tags and shoot four: second TIP
face heading (66.801)
drive (76.158) cm
aim using AprilTags
launch (4) pollen
// Go around the frame toward LOAD
face heading (-90.000)
drive (170.000) cm
// Park empty and wait 0.8 seconds
face heading (0.000)
drive (35.000) cm
end
wait (0.8) seconds
The waypoint plan
Field-centred robot targets in centimetres; BLUE mirrors RED
RED (x,y)
BLUE (x,y)
Decision at the target
(150, -164)
(-150, 164)
Travel outside the HIVE frame
(150, -59)
(-150, 59)
Extract SIDE: RED F3 / BLUE F4
(150, 130)
(-150, -130)
Aim using tags and shoot four
(60, 155)
(-60, -155)
Extract OPPOSITE: RED F1 / BLUE F2
(-10, 125)
(10, -125)
Aim using tags and shoot four: second TIP
(160, 125)
(-160, -125)
Go around the frame toward LOAD
(160, 90)
(-160, -90)
Park empty and wait 0.8 seconds
Coordinates describe the plan; native drive and turn blocks implement it. Small rounding and sampled timing mean the robot need not land on every mathematical coordinate exactly. Use telemetry to explain a deviation, not to assume this is a calibrated physical route.
06
Explain before you finish
Check your reasoning
Choose an answer, then check your thinking. You can change an answer and try again.
Your answers stay on this page and reset when you reload. No cookies, account, or saved answers.
0 / 8 correct · 0 / 8 answered
Reset clears every choice, explanation, and score.
07
60 minutes · guided session
Supervisor plan and answer key
This is a browser-only simulation. Do not install the SB3 on a Robot Controller. Any later physical trial needs adult supervision, a clear area and Driver Station STOP.
Set up
A browser with Scratch 3, or the offline Scratch editor
Optional student Scratch accounts for Remix; an SB3 download works offline
Keep the blank starter separate from the worked solution.
Let students predict a route before opening the solution.
Show V telemetry pages and C back-to-field before the first attempt.
0–10 min
Find the code area and practice controls
Students distinguish green flag, P practice and A AUTO.
10–25 min
Build the preload and extraction sequence
Four internal pollen transfer only with both mechanisms.
25–45 min
Complete the route using open-face scoring
Aim again after motion/TIP; correct alliance flowers and eight-pollen second TIP.
45–60 min
Compare telemetry and explain a failure
Students name the unit, freshness and simulated source of each reading.
Keep a run record
Student run record
Attempt
Alliance
Step reached
Signal used
One change
Why it helped
1
RED or BLUE
Write the last completed step
RPM / ticks / tag / pose
Change one parameter
Explain, do not just copy
Use your own observations. Reference solution times are not predictions for a physical robot.
If something fails
A says YOUR AUTO is empty
Select YOUR AUTO – EDIT ME and attach blocks below RUN MY AUTO, not under green flag.
Flower count stays at four
Check reach, empty hopper space, extractor servo extended, intake motor on and deployment time.
Four hits did not cause another TIP
After the first TIP the threshold is eight. Combine the required SIDE and OPPOSITE batches.
No tag, stale aim or rejected shot
Use the open-facing side, stop, acquire a new cluster and aim. Also check the 60 cm transport requirement.
Telemetry looks frozen
A stopped wheel should read zero RPM. Its accumulated ticks stay. Tag observations are captured at the start of Aim and become stale after later motion.
Robot stops before a waypoint
Look for a frame/perimeter collision. Do not increase distance to force through it; plan a clear segment.
Exit ticket
Explain the first four versus the next eight.
Name the two extraction actuators.
Distinguish RPM, drive ticks, pod ticks and odometry millimetres.
Explain why AprilTags are relative aiming observations, not fixed field anchors.
A successful run is not enough: the student should explain a blocked shot, choose the correct telemetry page and justify one route change.
Supervisor reasoning key
Sequence
Preloads 4 → first TIP; required SIDE 4 → half of second threshold; required OPPOSITE 4 → second TIP; empty park.
Signals
The wheel and pod counters are different model quantities. Here they share ideal simulator truth; their agreement is not independent physical validation.
Extension: Mirror the route, vary a model assumption, or add a bounded sensor-feedback loop. State which claims still need real-robot calibration.
Unofficial BIOBUZZ learning puzzle, not affiliated with or endorsed by FIRST or RTX. This Scratch model is a simplified classroom adaptation, not a claim of complete RLE physics equivalence or real robot performance.