Small device helps make a dent against opioid abuse