Hi All,
Pulling together stuff from the Active Breaking, Control Circuit, Controlled Stop Point, and 3 Round Burst threads...
I sketched up a design for a computer controller for an AEG.:
http://team-titanium.com/~airsoft/Computerized-AEG-Controller/Computerized-AEG-Controller-01.jpgSort of like the old one from four months ago, but know I think I know enough to actually make it work

Q1, Q2, R1, R2 are pretty much old hat for the active breaking and relay MOSFETs now.
R3, R4, U2 buffers the micro-controller output to nicely drive the FETs. It eliminates a bunch of little transistors and resistors in a box the size of a small fly.
U1 is a small 100 amp current transducer:
http://www.allegromicro.com/en/Products/Part_Numbers/0752/0752-100.pdfAn expensive part, but it has nice isolated signals and does 50kHz! I think I will do some signal conditioning like a slope detector on the output signal. Still thinking on that...
U3 is an Atmel ATTINY44 (or something like) micro-controller that will run the whole show. It seems to have the power to do everything and is super small. The data sheet for it is 233 pages!!
http://www.atmel.com/dyn/resources/prod_documents/doc8006.pdfA tiny low voltage drop regulator and cap supply the +5V. The same one the BASIC Stamps use but in a smaller package.
The trigger is wired as a normal switch signal to the processor now. S2 is a tough, small, and cheap rotary encoder switch is used to select the functions.
http://rocky.digikey.com/WebLib/CTS/Web%20photos/288T232R161A2,%20288T232R161A1.jpgLED D1 can do red, green, yellow, and flash and stuff as an indicator if needed.
R5 and R6 let the processor measure battery voltage too.
I think it could sell in the $70 range so not bad at all...
The features could include:
Active and intelligent braking with speed control.
Speed control in general.
Under voltage cutoff for the LiPo folks.
Burst fire any way you want it even with variable ROF.
Semi to full auto automatically switched over if you hold the trigger down in semi and all kinds of tricks like that.
Dry fire cutoff since the gun runs faster without BB's
Jammed BB cutoff.
Over current shutdown if the gun draws abnormal current from what the computer has learned it should.
No spring compression in any mode.
Precocking with gentle start up when fired to limit wear.
and on and on...
The cool thing is that the features are all "just firmware"!! The hardware never changes since the stuff to do everything is already there. I am not quite sure how to upgrade the program in the field yet. AEGs might have USB ports soon ;-)) But it would be cool to add new features or improvements just buy downloading a new program into the gun!
So that's what I am thinking about...
This would all be totally open source and Public Domain stuff! It is much better that many people can work in it and suggest ways to make it better than trying to keep anything secret. Layout is not critical and it can be wired on a proto board just fine. All the parts are available in big DIP packages too. The parts can also be had in super small packages to actually fit into a gun so it is pretty easy and versatile. I think it can easily be the size of the SW-AB-LONG switch I have now (0.5 x 0.6 x2.0)
It will be cool!! Any thoughts, suggestions, etc. are more than welcome!
Gandolf