Vending Machines: How They Know It's a Quarter
You drop a coin. It knows if it's a quarter or a slug. How? Magnetic Signatures and Light Sensors. Object sorting in the real world.
Vending Machines: How They Know It’s a Quarter
You feed a vending machine a quarter. It accepts it. You feed it a washer of the exact same size. It spits it out. How does it know? It’s not looking at the face of George Washington. It’s tasting the metal.
Electromagnetic Signature
As the coin rolls down the chute, it passes through magnetic coils.
- Size: Light sensors measure the diameter.
- Metal Content: The coils induce a magnetic field.
- Copper, Nickel, and Zinc all react differently.
- The machine measures the change in inductance.
- “This object is 24.26mm wide and is made of 91.67% Copper and 8.33% Nickel.” -> It’s a Quarter.
Robotics: The Color Sorter
In FTC games, we often have Red and Blue game pieces mixed together. If you score the wrong color, you get a penalty. We put a Color Sensor in our intake tube.
- LED: Shines a bright white light on the ball.
- Sensor: Measures the reflected light (R, G, B values).
- Logic:
if (Red > 200) { Eject(); }(If on Blue Team).if (Blue > 200) { Keep(); }It’s the same logic as the vending machine: Filter the inputs, keep the treasure, reject the trash.
Level Up Your Season
Dominate the competition with our other powerful tools.
FTC Secrets
The most comprehensive analytics platform for FTC. Analyze match data, scout teams, and uncover winning strategies with deep insights.
Analyze Now →FTC Coach
Your hyper-personalized assistant for the season. Master your engineering portfolio and ace judging preparation with AI-powered guidance.
Get Coached →