Back to School Torch With SAM!
At samlabs.com, we're making saying the "S" word, a little less scary!
Go Back to School with the coolest tools. Click through to build this Epic Torch.
Gather Your Materials
Secure the Body
To secure the body of the torch, use some string to wrap around it.
You can customise your torch how you like!
Attach the Tilt
Next, attach the Tilt sensor to the outside of the torch.
Use something adhesive that you can get off (like velcro) to make sure you can remove your SAM afterwards.
Attach the Light
Now, you'll need to drop and secure the light inside of the cube tunnel.
To do so, make sure there is a blocker so that the light will stay propped up inside.
*Be sure to also turn your SAM on and pair it to SAM Space before doing so, to avoid trying to get this out when it's already secured.
Make Your Filters!
Next, you'll need to make paper filters that will create shadows on the walls.
To do so, measure the opening of the torch and draw a square on a sheet of paper.
Then, add a clearance on all four sides of approx 1cm.
Draw your design in the middle of the square.
*Remember that if you're doing anything with writing, it will need to be on the inside of the filter, so it's not backwards!
Hook Up Your SAMs!
Now, we need to hook up our SAM blocks to the app.
Turn on your blocks and pair them if you haven't already, and drag them onto the canvas.
Drag on 3 Compare blocks, 1 OR Logic Gate, 1 Delay, 1 Text, and 1 Counter.
Connect the Tilt to 2 Compare blocks.
Connect both of them to the Text Block and the OR.
Connect the OR to the Delay.
Connect the Delay to the Counter.
The Counter to the 3rd Compare.
And that Compare to the LED.
Go back to the first two Compares.
Set one to = 0.
Then the second to = 100.
Click on the Text and write in "reset"
Click on the Delay and set it to 500ms.
Click on the last Compare and set it to < 5.
Now Test It Out!
Try your different filters!
Connect With Us
The last step is to connect with us at samlabs.com.
For more awesome projects, sign up to our newsletter here: SIGN UP :)