Hi,
I'll post this under "software" since that is now where this whole game is at!!
Here are the current codes:
http://extreme-fire.com/Lion/20091114/SW-Lion-1010.chttp://extreme-fire.com/Lion/20091114/Lion.hhttp://extreme-fire.com/Lion/20091114/lioneeprom.hhttp://extreme-fire.com/Lion/20091114/LionLCD.hThe new lioneeprom.h is like the 'librarian' for the EEPROM storage. It knows where to stick it and where to find it. Since I have the EEPROM working now, I have not used the LCD display much... Easier just to pull the whole data file out to check things.
ATMEL's Studio 4 likes to store the HEX file in this format:
http://extreme-fire.com/Lion/20091114/out1.hexSort of a PITA realy... It does not import into a spreadsheet well as far as I can find. A GCC program could convert it very nicely though into a very comprehensive text file...
I played with microphone pickups some. Peizo sensors seem way too biased into the high frequencies:

Lot of noise there. But it was set right against the mechbox.
The Wideband accelerometer gave this:

That slow negative valley (~5mS) is the piston traveling forward at 7.9mV/G... The top spike (~16mS) is when it hits the end. So that is -126G and +380G!! You would "think" that would be easy to detect

The far later spike (t + 40mS) is very prevalent and I think it is the spring bouncing around or something....
But really, "just the software" seems to rule far better.... I don't think external sensors are going to be very needed unless you are doing something really special...
This is cool!
My worst case test system:

Now that's an 'airsoft gun' a "REAL scientist" can relate too!!!

LOTs of wires, measurements, and data!!!

Let me tell ya though... Tamiya connectors SUCK big time!!! Get ride of them on the first upgrade!!

Always solder all joints as possible too. In this setup, the heating of the Tamiya connectors and the power crimped blue spade connectors is way bad...

Now this is cool!!!
With all those bad connections and wires all over the place giant voltage spiking rules!!!
Here one can see the spikes set off by the PWM power limiter and normal PWM:

If we drill into just one spike we see...

The spikes are clamped totally at +23.2V and - 0.3v. The super uber TVSs that clamp so fast you need a quantum physics paper just to predict their speed!!

The scope is set to a full 10nS peak detect here in the big picture too. But "NOTHING" is getting through!!! I think this is a major key into why Panther platform's real failures due to "electronic weakness" is simply zero!!!!!!!!!!!!!!!!!!!!!!!!!!!!
We can estimate the power dissipated in the TVSs:
The back spike is ziltch compared to the forward spike...
The forward spike is:
Say 38A at 23V for 2.3uS or 38 x 23 x 0.0000023 = 2mW/each. At 10kHz that is 20W!!!
Thank goodness they are rated at 1500W

In my test case here though under PWM they are dumping a lot of power into the unit. But in a real gun with far far less inductive wire it is a don't care(let alone the low duty cycle). But it does show the massive problems those giant TVSs are solving for us!!!

So I need to work on user programing stuff next...

Gandolf