A simple, inexpensive piece of tech is upending the burgeoning marijuana industry