LEGO (n.d.). LEGO Nano Gauntlet. Retrieved February 12 2024, from https://www.lego.com/en-ca/product/nano-gauntlet-76223
Tony Stark's Infinity Gauntlet from Avengers Endgame. We will add lights in the infinity stones and a motor in the base to make the whole hand spinning.
LEGO (n.d.). LEGO Nano Gauntlet. Retrieved February 12 2024, from https://www.lego.com/en-ca/product/nano-gauntlet-76223
This interaction will only require a motor and lights.
The first output will be attached to an EV3 servo motor. The second port will be connected to EV3 Lights.
This would be the code for the Hand rotation that would be 2 rotations, that will be completed in 1 minute:
While True
If status == "on"
If counter == 0
Start motor slow clockwise
Else if counter == 30
Stop motor
Else if counter == 35
Start motor slow counter-clockwise
Else if counter == 60
Stop motor
And for the lights in the Infinity Stones, this would go as follow:
While True
If status == "on"
If counter == 0
Turn on lights
If counter == 100
Turn off lights
Rotating hand Status: Can be set "on" or "off". (Rotate back and forth constantly)
Lights Status: Can be sent to "on" or "off". (The Infinity Stones will light up and turn off automatically)