Dale sentidos a tu robot repartidorGive your delivery robot its senses
Hoy construyes un carro repartidor y le das ojos: el sensor de color para entregar el paquete en la zona correcta, y el sensor de distancia para frenar antes de chocar con las cajas del almacén. El robot empieza a percibir el mundo y a reaccionar.Today you build a delivery cart and give it eyes: the color sensor to drop the package in the right zone, and the distance sensor to stop before crashing into the warehouse boxes. The robot starts to perceive the world and react to it.
Las 2 horas, con tiempos realesThe 2 hours, with real timing
Clave de esta sesión: que armar, jugar, modificar y probar llene el tiempo. La segunda mitad es abierta y escalonada (retos extra) para que ningún equipo quede en blanco — ni los que vuelan ni los que se traban.The key here: let building, playing, modifying and testing fill the time. The second half is open-ended and tiered (extra challenges) so no team is left idle — neither the fast ones nor the stuck ones.
Apertura, rotación de roles y entrega de kitsOpening, role rotation and handing out kits
Repaso corto del Bailarín. Rotan los roles (hoy cada quien tiene uno nuevo). Cada equipo recibe su SPIKE Prime y verifica que esté completo.Quick recap of the Break Dancer. Roles rotate (everyone has a new one today). Each team gets its SPIKE Prime and checks it's complete.
Gancho: ¿cómo sabe un repartidor dónde parar?Hook: how does a delivery driver know where to stop?
Pregunta abierta: “Un carro de reparto entrega solo. ¿Cómo sabe dónde dejar el paquete? ¿Cómo evita chocar?”. No respondas tú — engancha. Conéctalo con que hoy el robot tendrá sentidos.Open question: “A delivery cart drives itself. How does it know where to drop the package? How does it avoid crashing?” Don't answer it — hook them. Tie it to the robot getting senses today.
Construir el carro + montar los sensoresBuild the cart + mount the sensors
Armado guiado por el manual. Repártanlo para ir más rápido. El carro lleva un sensor al frente; agréguenle el sensor de color mirando al piso. Meta: carro armado, sensores conectados, Hub en la app.Build guided by the manual. Split it up to go faster. The cart has a front sensor; add the color sensor facing the floor. Goal: cart built, sensors connected, Hub in the app.
Jugar: conducir libremente y leer los sensoresPlay: drive freely and read the sensors
Que conduzcan el carro y descubran su “personalidad”. Luego, en la app, miran en vivo qué reporta el sensor de color por cada color y el de distancia al acercar la mano. Exploración abierta, sin reto todavía.Let them drive the cart and discover its “personality”. Then, in the app, they watch live what the color sensor reports for each color and what the distance sensor reads as a hand approaches. Open exploration, no challenge yet.
Reto base: parar en la zona y frenar ante obstáculoBase challenge: stop in the zone and brake at an obstacle
Aquí entra esperar hasta que: el carro avanza y se detiene cuando el sensor de color ve la zona de entrega; luego, que frene antes de chocar con la distancia. Ciclo probar → ajustar umbral/velocidad → volver a probar.Here comes wait until: the cart drives and stops when the color sensor sees the delivery zone; then, make it brake before crashing using distance. Loop: test → tune threshold/speed → retest.
Retos escalonados + modificar el carroTiered challenges + modify the cart
La parte abierta. Cada equipo sube por la escalera de retos a su ritmo: semáforo de colores, combinar sensores, depurar un programa con bugs. El que termina, enseña a otro. Aquí nadie sobra.The open part. Each team climbs the challenge ladder at its own pace: a color traffic light, combining sensors, debugging a buggy program. Whoever finishes teaches another. No one is idle here.
Bitácora + desarmar y guardarLogbook + disassemble and pack up
Foto del robot antes de desarmar. Bitácora del equipo (4 preguntas). Constructor lidera el desarme; Ing. de pruebas verifica el inventario; Programador guarda el programa. Todo vuelve ordenado.Photo before teardown. Team logbook (4 questions). Builder leads the teardown; Test engineer checks the inventory; Programmer saves the program. Everything goes back neatly.
Logros esperadosExpected outcomes
Antes de construirBefore you build
- Hub cargado: el cerebro del robot debe tener batería. Si parpadea en rojo, conéctalo unos minutos.Charged Hub: the robot's brain needs a charge. If it blinks red, plug it in for a few minutes.
- App lista: abre la LEGO Education SPIKE App en la tablet o el computador.App ready: open the LEGO Education SPIKE App on the tablet or computer.
- Inventario: revisa el Hub, los motores, el sensor de color y el sensor de distancia, y las piezas. Vas a devolver todo al final.Inventory: check the Hub, the motors, the color sensor and the distance sensor, and the pieces. You'll return everything at the end.
- La pista: el profe pone en el piso una zona de entrega de color (una hoja o cinta) y unas “cajas” como obstáculos.The course: the teacher places a colored delivery zone on the floor (paper or tape) and some “boxes” as obstacles.
Arma el carro repartidorBuild the delivery cart
El carro repartidor avanza con dos motores y es un poco impredecible a propósito — por eso necesita sensores para entregar bien. Lleva un sensor al frente; tú le vas a montar el sensor de color mirando al piso.The delivery cart drives with two motors and is a bit unpredictable on purpose — that's why it needs sensors to deliver well. It has a front sensor; you'll mount the color sensor facing the floor.
Repartan el armadoSplit up the build
Monta el sensor de color mirando al pisoMount the color sensor facing the floor
Conecta todo y enciendeConnect everything and power on
Conoce a tu carro y sus sentidosGet to know your cart and its senses
Antes de programar el reto, juega. Un ingeniero primero entiende su máquina. Mueve el carro y mira qué sienten los sensores — la app te muestra los valores en vivo.Before programming the challenge, play. An engineer understands their machine first. Drive the cart and see what the sensors feel — the app shows the values live.
Maneja el carro librementeDrive the cart freely
Espía el sensor de colorSpy on the color sensor
Espía el sensor de distanciaSpy on the distance sensor
Los conceptos de hoyToday's concepts
Sensor de colorColor sensor
color = sensor.get_color(). El programa toma un dato del exterior para decidir.It's reading an input: like color = sensor.get_color(). The program takes outside data to decide.Sensor de distancia (ultrasonido)Distance sensor (ultrasonic)
Esperar hasta que… (el sensor decide cuándo)Wait until… (the sensor decides when)
while distancia > 15: seguir(). La antesala del if/else que viene en la Sesión 3.It's waiting on a condition: while distance > 15: keep_going(). The doorway to the if/else coming in Session 3.Que el carro entregue y no choqueMake the cart deliver without crashing
Dos programas cortos, mismo patrón: avanzar → esperar hasta que el sensor perciba algo → detenerse. Arma primero el de color; cuando funcione, el de distancia.Two short programs, same pattern: drive → wait until the sensor perceives something → stop. Build the color one first; when it works, the distance one.
Fíjate en el patrón: empezar a avanzar y luego esperar hasta que. El carro no se mueve “2 segundos” — se mueve hasta que el sensor le avise. Cambia el color o el número y lo adaptas a tu pista.Notice the pattern: start moving then wait until. The cart doesn't move “for 2 seconds” — it moves until the sensor tells it to. Change the color or the number to fit your course.
Programa “parar en la zona” (color)Program “stop at the zone” (color)
Programa “frenar antes de chocar” (distancia)Program “brake before crashing” (distance)
Itera: hazlo confiableIterate: make it reliable
¿Terminaste rápido? Sube la escaleraFinished early? Climb the ladder
No hay un final: siempre hay un escalón más arriba. Sube a tu ritmo. Y si llegaste lejos, el mejor reto es enseñarle a otro equipo — explicar es la prueba de que de verdad lo entendiste.There's no finish line: there's always one more rung. Climb at your own pace. And if you got far, the best challenge is teaching another team — explaining is the proof you really understood it.
Entrega confiableReliable delivery
El carro para en la zona de color y frena ante el obstáculo, 3 veces seguidas. (Lo de la Parte C.)The cart stops at the color zone and brakes at the obstacle, 3 times in a row. (Part C.)
Semáforo de coloresColor traffic light
Que el carro reaccione distinto a 2 o 3 colores: rojo = para, verde = sigue, azul = gira. Necesitas un “esperar hasta que” por color.Make the cart react differently to 2 or 3 colors: red = stop, green = go, blue = turn. You'll need a “wait until” per color.
Entrega segura: combina los dos sensoresSafe delivery: combine both sensors
El carro avanza hacia la zona de entrega (color) pero frena si una caja se le cruza (distancia). Los dos sentidos trabajando juntos.The cart heads to the delivery zone (color) but brakes if a box gets in the way (distance). Both senses working together.
Fuera de servicio: caza los bugsOut of order: hunt the bugs
Reto de ingeniero experto: abre la lección oficial “Fuera de Servicio” ↗, donde un programa de reparto tiene errores escondidos a propósito. Encuéntralos y arréglalos. O monta un speed-run: ¿quién entrega más rápido sin chocar?Expert-engineer challenge: open the official “Out of Order” ↗ lesson, where a delivery program has bugs hidden on purpose. Find and fix them. Or set up a speed-run: who delivers fastest without crashing?
Desarmar y guardarDisassemble and pack up
- Constructor: lidera el desarme, pieza por pieza (¡no olvides desmontar los sensores!).Builder: leads the teardown, piece by piece (don't forget to remove the sensors!).
- Ing. de pruebas: verifica que la caja quede completa contra el inventario.Test engineer: checks the box is complete against the inventory.
- Programador: guarda o anota el programa para no perderlo.Programmer: saves or notes the program so it isn't lost.
Modelo del carro repartidor basado en la lección Delivery cart model based on “Fuera de Servicio” de LEGO® Education ↗LEGO® Education's “Out of Order” ↗ (unidad Kickstart a Business). Contenido de sensores adaptado por RobotSchool. LEGO® y SPIKE™ Prime son marcas de The LEGO Group. Material de uso educativo. (Kickstart a Business unit). Sensor content adapted by RobotSchool. LEGO® and SPIKE™ Prime are trademarks of The LEGO Group. For educational use.