Have at 'er

http://spindrive.sourceforge.net/index.html
I code all my HTML in a text editor

A lot of the basic "SPIN objects" that I will use from the Propeller community are MIT licensed, including all of the objects provided by the manufacturer. It's not a viral license but I think it is only fair to spread the wealthFred wrote:It sure has been a long time coming, I look forward to hearing your progress!
One comment: Using MIT allows others to use your work in a proprietary fashion. Are you sure that this is what you want? Just a thought, entirely your decision at the end of the day as it's still free software for the rest of us, just the same.
Fred.
Yes actually I have drafted some code, I just forget where I put it. I think it is on my work laptop somewherejharvey wrote:Looks interesting, I'll be interested in keeping up on your project.
I'm curious have you drafted some code yet? You have a bunch of nice specs and such that make it nice for people to collaborate. I like that, I can kind of see how the leg bone connects to the hip bone. If it appears you're moving along, I might get interested and help draft a board.
I'm also a fan of the MIT. I choose the open licence to allow open collaboration with out worrying about risks. I'm not very concerned if someone wants to make $ with the ideas it includes. If someone else builds my own work, there's a good chance I'll consider their efforts value add and I'll buy it from them.
2.2.2.7) Variables
The Decoder Object shall update a Hub variable called LAST_KNOWN_POSITION. This variable shall be in the form of a 16-bit unsigned integer. Each increment shall represent 1/65536th of two revolutions of the crank shaft (720 deg). The object shall update this variable whenever a valid tooth is decoded successfully, and shall indicate the presence of a new value by setting a 1-bit flag called NEW_KNOWN_POSITION in Hub RAM.
LAST_KNOWN_POSITION has an angular resolution of approximately 0.011 deg.The Decoder Object shall update a Hub variable called LAST_TOOTH_ERROR. This variable shall be in the form of a 8-bit unsigned integer. Each discrete value shall represent 1 of 256 predefined tooth error types. The object shall update this variable whenever a tooth is invalid, and shall indicate the presence of a new value by setting a 1-bit flag called NEW_TOOTH_ERROR in Hub RAM.Code: Select all
LAST_KNOWN_POSITION Engine Position 0 0.00 deg 91 1.00 deg 46784 513.98 deg 65535 719.99
The Decoder Object shall update a Hub variable called LAST_KNOWN_SPEED. This variable shall be in the form of a 16-bit unsigned integer. Each value shall represent the number of increments of 1/65536th of an engine revolution per 10us. No status flag is required for this variable.
The Decoder Object shall set a 1-bit flag called WHEEL_DATA_PRESENT in Port B when it senses a tooth. The object shall clear the WHEEL_DATA_PRESENT flag when no teeth have been sensed for a defined period of time.
The Decoder Object shall set a 1-bit flag called WHEEL_DATA_GOOD in Port B when it successfully decodes a tooth. The object shall clear the WHEEL_DATA_GOOD flag when a tooth is invalid.
The NEW_WHEEL_POSITION flag is set every time a 'hard' tooth arrives, is found to be valid, and its position is written to LAST_KNOWN_POSITIONEssEss wrote:the flag represents when a 'hard' tooth edge arrives ? or is set whenever a position prediction is made (btwn hard edges) ?
also, the position value will never 'miss' locations ? as in, it's guaranteed to cnt up 0 to 65535 and never skip ?
I'd spec those two things
Is there an overall 'sync/unsync' flag ? or is this the WHEEL_DATA_GOOD flag ?
since this is for a 4-cycle operation only, I didn't see any spec which specifies a cam sync input to know which phase the motor is on. Along with that, I'd spec the decoder behavior to specify what state to expect (as a consumer of the decoder) until the decoder figures out what phase its on (is it simply 'unsynced' until phase info arrives ?)
how will you handle cam decoding ? is it just another 'instance' of a decoder ? this decoder would also have to handle 0-360 only since 0-720 dosen't make sense for a cam decoder. at that point a universal decoder spec might not be possible unless it handles both 0-360 or 0-720.
I have lots more questions. But I don't want to overload youI have a couple of prop devboards and wouldn't mind testing anything as it pops up.