Look for pics above on page one. Not a lot to see yet. Just a piece of an engine block with a OHC being turned by an electric motor. A home made cam sensor communicating with a propeller on a PDB, making LEDS flash for now.
Sorry for the delay in posting. Got tied up on a service call.
I had been wondering if doing the timing calculations in time (uS) rather than degrees might make the coding simpler and came across this PDF on spark timing.
The statement “Given the same circumstances of mixture strength, cylinder filling and CR, the time taken for the mixture to fully ignite and burn is the same regardless of engine speed.” pretty much confirmed my thinking. By doing the calculations in microseconds per revolution and microseconds of advance a lot of the trig functions, multiplies, and divides should be eliminated.
Quick question, If I were interested in PASM, does the SPIN interpreter understand PASM, or do I need something else?
The Propeller Tool and Propeller IDE know how to compile programs that include Spin and PASM; you don't need any special tools.
In fact, the Spin interpreter is a PASM cog (that is loaded from the silicon); it reads compiled Spin code from the hub and runs appropriate assembly routines. If you search the forums you can find the source code for the Spin interpreter. Be warned: it's not for beginners. Chip Gracey writes code that is very tightly wound often co-mingling routines in very subtle ways.
PASM is the native language of the Propeller, the machine's language. There are a couple good PDFs floating around that will get you started with PASM.
Comments
We have seen a lot of theoretical coding discussion. Do you think you could post some details and photographs of the rig?
Sorry for the delay in posting. Got tied up on a service call.
I had been wondering if doing the timing calculations in time (uS) rather than degrees might make the coding simpler and came across this PDF on spark timing.
The statement “Given the same circumstances of mixture strength, cylinder filling and CR, the time taken for the mixture to fully ignite and burn is the same regardless of engine speed.” pretty much confirmed my thinking. By doing the calculations in microseconds per revolution and microseconds of advance a lot of the trig functions, multiplies, and divides should be eliminated.
The Propeller Tool and Propeller IDE know how to compile programs that include Spin and PASM; you don't need any special tools.
In fact, the Spin interpreter is a PASM cog (that is loaded from the silicon); it reads compiled Spin code from the hub and runs appropriate assembly routines. If you search the forums you can find the source code for the Spin interpreter. Be warned: it's not for beginners. Chip Gracey writes code that is very tightly wound often co-mingling routines in very subtle ways.
PASM is the native language of the Propeller, the machine's language. There are a couple good PDFs floating around that will get you started with PASM.