If you're so inclined, tear open a trashed hard drive and recover the magnet. Hard drive magnets are plenty strong enough to trip the ferrous/mag sensors buried at intersections. Secure it under your bike with a dollop of JB Weld or a cable tie and you're good to go.

Cheers

Haywire