Now that you have a working example, you might use a cheap compass and map how magnet polarity are mounted. Just a thought.
Doc


Warning: Reading is addictive and may serve as a "gateway" drug to the unregulated accumulation of knowledge!