Madness Machine

4,424

18

4

Introduction: Madness Machine

About: Hi, we’re Dane & Nicole, two makers that create stuff, which we happily share with you!

A small project with a single evil purpose, fooling people into checking their phones.

Supplies

Step 1: Project Video

Step 2: Box

We need something that can hold all our electronics, yet is simple to hide. A small electronics box from the local hardware store is the perfect candidate.

The only modifications needed are drilling a hole in the side, and removing one of the screw holders to make more space.

The changes needed really depend on your box, so as long as all the electronics fit, and you can attach the toggle switch(see next step) somehow, you're all good.

Step 3: Hardware

With our box complete we can start adding some hardware. We start with attaching the toggle switch to the box, using our freshly drilled hole.

After doing some basic setup on the Raspberry Pi Zero and charging the LiFePO4wered/Pi+, we can assemble the two. They each have their specific role, the Pi Zero executes logic and the LiFePO4wered/Pi+ provides power.

Last but not least, we solder the toggle switch and vibration disc connections. Normally it's best to use jump wires, but we don't have enough space, so instead we directly attach them to the Pi.

Step 4: Code

Now we move on to the code itself. It's written in python and included below.
To give you a good idea of how it works, the main logic is as follows:

  • Check if the toggle switch is on
    • If so, turn on the vibration disc for two seconds, and wait a random amount of time (between 60 and 300 seconds)
    • If the switch is off, do nothing

With the code written and working, we can complete the build by mounting the top.

Step 5: Result

With our irritating invention complete it's time for the final, and best step, causing mayhem!
Just toggle on the switch, hide the devious device and enjoy the ensuing spectacle.

Pocket-Sized Speed Challenge

Participated in the
Pocket-Sized Speed Challenge

Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Fashion Challenge

      Fashion Challenge
    • 3D Printed Student Design Challenge

      3D Printed Student Design Challenge

    4 Comments

    0
    MoralC
    MoralC

    1 year ago

    Could have had that rpi start and stop an open wifi network at random in addition to the task it is way overkill for. Most phones will actually notify of a open wifi, have it run thru 2 or 3 common network names, then shut them down a short time later. Just an idea.

    0
    8BitsAndAByte
    8BitsAndAByte

    Reply 1 year ago

    Love it!
    The pi is indeed overkill, this would make good use of its capabilities.
    Thanks for sharing your idea, it would have been a nice addition :)

    0
    smbrown
    smbrown

    1 year ago

    Good one!!

    0
    TheDarkOne7
    TheDarkOne7

    1 year ago

    That THING is terrible, (but I'm totally making it next April fools day)