Hi,
I just wanted to throw my ideas into the ring. First off, how big is the mag you're using? I'm thinking we could use the 16 edge LED ring and start with it fully lit. As shots are fired, it turns off LEDs progressively backwards until the last one. If you have a 30-round clip, you could assign an LED to go off after two shots.
Just my way of thinking. It would be easier to do it this way than with a 7-segment display.
Hi goforspaatz,
I've had a conversation with Ken and it occured that 7 segment display is totally fine to work with Accelerometer and IR sensor altogether. Also I've jsut received that 7 segment display and proto terminal blocks unit. I does really work together and I have serial output from all sensors and 2 digit display at once. So In theory I could get up to 99 bullet clip. Not a problem anymore.
At the moment I have 2 issues:
Hull and mount for that thing to attach to gun. Since there's no proto board with sandwich connectors on both sides, I have to use terminal blocks which is bigger thus I cant use my 30mm tube with Weaver mount anymore
30mm weaver rings for optics are the biggest ones as far as I can see...
Power supply. This thing does not start and function properly without USB cable... Seems like that CR1632 can't provide enough of energy for all the stuff I have. Not sure what options are there for me.
[/list]
And here's the IR sensor and scheme I use for clip removal and color code detection.
http://www.bajdi.com/analogread-from-a-tcrt5000-sensor/The idea is that this sensor goes to the gun body and points to a certain attached clip point that can be coloured, meaning its capacity.
Attached my WIP pic