🏥
Activity I:
Workshop: The Robot Hospital (15 min)
Mission: You are the Lead Robotic Surgeons.
Three patients have arrived at the clinic with serious "sensory
illnesses." Your job is to diagnose the missing sense and prescribe
the correct sensor to save them.
Solve it in
your notebook.
1. Patient Medical Records
|
Patient |
Symptoms (The Problem) |
Missing Sense |
Prescribed Sensor |
|
1. "The Destroyer" |
This robotic arm packs lightbulbs.
The problem? It squeezes them so hard they explode before reaching the box. |
________________ |
________________ |
|
2. "The Lost One" |
A conveyor belt robot picks up
boxes. If a box is slightly crooked or out of place, the robot grabs thin air
and fails. |
________________ |
________________ |
|
3. "The Dangerous One" |
A mobile robot speeding through
the factory. Yesterday, it almost hit a worker because it didn't notice
someone crossing the hall. |
________________ |
________________ |
2.
"Activity II: According to your 'Mission: Genius Solvers', design a movement that your cobot must perform. Remember that you have to explore the tool."
https://www.babacad.com/robotics/web/
3.
Code Investigator: "The Cobot's Brain"
Instructions: Analyze the robot's programming code and answer the following questions in your notebook in detail.
Line 32: What is the exact distance (in centimeters) that the robot considers a "Danger Zone"?
What physically happens if you move your hand to that distance? Lines 35-37: The robot uses variables to "remember" where its motors are.
What are these variables called and at what angle do all the servos start? Line 49: Servomotors receive energy in bursts or pulses.
At what frequency (Hz) is the controller board configured for the motors to work correctly? Line 64: Look at the movement routine. To how many degrees does the Base (Servo 0) move when the robot decides to go left?
Line 106: Just before the robot takes a "tiny step" of one degree, it executes a special function.
What is the name of that function and why is it vital for making this a safe robot (Cobot)? Line 114: The
mapcommand works like a translator.What "human degree" values (0 to 180) does it translate into "machine pulses"? (Write the numbers for SERVO_MINandSERVO_MAX).Line 121: If we want the robot to move slower, should we increase or decrease the value of the
VELOCIDADvariable?Explain why based on the delayfunction.Lines 139-142: When the robot detects an obstacle, it enters a
whileloop.What is the robot doing while it waits, and what must happen for it to exit that loop? Line 161: To calculate the distance, the code multiplies the duration by
0.034and then divides it by2.Why do you think it is necessary to divide the result in half? Lines 170-174: This section helps the robot with its "Proprioception" (knowing where its own parts are).
If we ask for the position of Servo 1 (Shoulder), what variable will the code return?
CODE MY FIRST COBOT
https://blogleolozano.blogspot.com/2026/04/my-first-cobot.html
No hay comentarios:
Publicar un comentario