Kingbob, on 31 Dec 2015 - 4:45 PM, said:
The 2 hall effect sensors i used are capable of detecting 9 different magazine sizes between them (and only using 2 inputs in the arduino). Thats more than enough for all the nerf magazines: 6, 12, 18, and 18, 25, 36 drums. But yes could add a 4 bank dip switch accessible from outside somewhere. But the magnets i used were like $3 for 50 on ebay, and only takes a few seconds to add one to a clip.
Btw if anyone wants the Arduino code for the circuit above, happy to share.
please do share the code (pastebin it - I assume at least 100+ lines of code)