A downloadable Interaction

Do you get bored without constant exposure to external stimuli? Do you hate waiting in lines at trade shows, industry conferences, the DMV, or the free clinic? Well despair no more, oh ye of little patience -  introducing the Wait Shake!

The Wait Shake! is a device that puts the "fun" in "fundamentally poor event layout design"! The small handheld controller acts as a transmitter, sending acceleration data to a receiver connected to a dynamic image displayed on large video monitors or projected onto a wall. Guests pick up the controller, give it a shake, and watch the accompanying image change right before their eyes! Waiting has never been so interactive!

Wait Shake! uses two micro:bit controllers to send acceleration data over radio waves from the transmitter to the receiver. The receiver then sends that data into TouchDesigner via serial port, which is translated into a channel data stream that can be used to drive all sorts of things: color changes, image and object placement, and even real-time generative effects!

Built with:

  • micro:bit microcontrollers
  • TouchDesigner 088
  • Javascript
  • Python

Transmitter: https://makecode.microbit.org/_Ax9fYkDCicLk

Receiver: https://makecode.microbit.org/_if4gYqJjkYH1

Download

Download
microbit-swReceiverFINAL.hex 562 kB
Download
microbit-swTransmitterFINAL.hex 561 kB
Download
Wait Shake.zip 3 MB

Install instructions

  1. Download microbit-swReceiverFINAL.hex, microbit-swTransmitterFINAL.hex,  and Wait Shake.zip. 
  2. Plug a microbit controller into your computer via USB.
  3. Copy the TransmitterFINAL hex file into your microbit device folder. Once copied, eject that device and unplug the microbit. Label it as TRANSMITTER.
  4. Plug in a second microbit controller into your computer via USB.
  5. Copy the ReceiverFINAL hex file into your microbit device folder.  Leave this device plugged into your computer.
  6. Open the Wait Shake.zip file and double click on microbitProject_FINAL.toe to open the project in TouchDesigner.
  7. Find the transmitter container and double click to enter it. Find the serial DAT operator.
  8. Make sure the serial parameters are set to:
    1. Active: ON
    2. Row/Callback Format: One per line
    3. Port: com6 (confirm this is the port your microbit is sending data across)
    4. Baud rate: 115200
    5. Data bits: 8
    6. Parity: None
    7. Stop Bits: 1
    8. DRT: Enable
    9. RTS: Disable
  9. Shake the controller. You should now see data stream in the Serial DAT affecting the image in the main final op (null2)!