CarterB
Created April 20, 2020

Scream, Shake, Mine

This wrist worn device allows a user to replace boring standard buttons in place of screaming and shaking!

Full instructions provided22
Scream, Shake, Mine

Things used in this project

Story

Read more

Schematics

First Step

Design a coffee filters inner circle to your desired design

Second Step

Cut out the bottom of a styrofoam cup andzip tie the CPX into the styrofoam

Third Step

Cut out the design from the coffee filter and attatch it to the CPX

Final Step

Insert a micro USB cable into your CPX and insert the other in into your computer

Code

SSM Code

Java
input.onGesture(Gesture.TwoG, function () {
    light.showRing(
    "red red red red red red red red red red"
    )
    keyboard.key("k", KeyboardKeyEvent.Down)
    pause(100)
    keyboard.key("k", KeyboardKeyEvent.Up)
    light.showRing(
    `green green green green green green green green green green`
    )
})
light.setAll(0x00ff00)
forever(function () {
    if (input.soundLevel() > 150) {
        light.showRing(
        "red red red red red red red red red red"
        )
        keyboard.key("l", KeyboardKeyEvent.Down)
    } else {
        keyboard.key("l", KeyboardKeyEvent.Up)
        light.showRing(
        `green green green green green green green green green green`
        )
    }
})

Credits

CarterB
3 projects • 0 followers

Comments