QUOTE (RichG @ 10 Aug 2012, 14:21)
<{POST_SNAPBACK}>The problem is that at the moment a single pulse is used for the Start Finish line & a double pulse (Two magnets) for the Pits. So sector timing would need some additional "mechanism" to differentiate the data. (Unfortunately oXigen uses a unidirectional Hall sensor otherwise that would have provided a possible solution) Also a change to the in-car chip & oXigen Dongle firmware would be required to communicate this data.
Right, I had forgotten that also with the two magnets in the pit-lane. I thought they simply used northpole / southpole.
QUOTE (RichG @ 10 Aug 2012, 14:21)
<{POST_SNAPBACK}>So bottom line is that I do not think it is possible at the moment, but could possibly be added later? I may however have missed something, perhaps Maurizio would like to comment?
Darn it, to use a less strong word then I had wished.
There is a huge problem that I myself can´t find a solution to when using sensors in the car and magnets under the track and that is that no matter what, the car can still de-slot and be put back in the wrong place or one single section could be missed resulting in "sliding" section times in the RMS software.
In theory, I think one could place several S/F magnets on the track. Quote from the reference manual...
"The distance between F3 and P1 must be from 5 to 10 cm. Anyway, the car enters in pit-lane if it reads two magnets within 320ms."
So that sure has to be avoided. Otherwise I think one could "trick" Oxigen into putting more magnets on the track. The "Laptime" data sent must be treated as "section time" and the "Lapcount" data sent must be treated as "section count", and on each real lap, the RMS must do the math and put it all together based on knowing how many sections there is on the track.
That logic would work I think. But it still does not solve the problem of sliding sections, since there is no real reference on the track for any given position. I dont see how that problem can be solved without tossing in yet another magnet on the track and change the logic in the firmware. "3 magnets within XXX ms" or going with the Southpole/northpole sensing maybe.
QUOTE (RichG @ 10 Aug 2012, 14:21)
<{POST_SNAPBACK}>A question for you. As well as working on an API what are you proposing in hardware terms for the ID detection / decode?
Good eye there on the confusion.
I was trying to be a bit unclear and avoid writing a long post and by doing so I mix up projects a bit.
I have this idea together with a few others to put together an open-source project webpage for software/hardware/hacks related to slot-cars that can be easilly found, followed and forked. The idea just awoke this summer on vacations, so there is not even a conceptual design of what and how, other then trying to make it highly available, open-source and trying to involve a few people to maintain the website, translate (between C#/VB or for that matter MSP430/Arm/PIC or what ever) and explain published projects.
So far the interest seem to be a bit cold and even with the promise that it will indeed be a spare-time project, I have yet not been able to spark enthusiasm with the few people I have talked to. Time is something we all seem to have too little of.
My own project with the open source .Net Framwork API will be released later this year with or without a common project webpage. It will start out slow with some common analog sensors, SSD and Oxigen and then I´ll simply build on it when time and lust comes to me. I will publish that project here on SlotForum most likely. It´s not as exciting as it might sound since it´s basically a low-level protocol API for different types of hardware that presents a common abstract class that can be used for the common basic/similar functions and then a class derived from this one that does the actual work on the different hardwares.
But maybe it inspires someone to more simply learn the protocols, improve my own code, experiment or come up with some fun projects based on it.
With the sensors and my own build of my track, I would have hoped to use the same concept as SSD to actually identify Oxigen cars with the LED, but I sense it might never be possible.
For my own track, I have the hope to replicate the work done by others (http://www.electricimages.co.nz/(S(xjffkzaejqun0ubxiuisib45))/SSD_Decoder.ashx for instance), but in my case I might base the code on a MSP430 instead of a PIC since I have more experience in coding for that MC.
I also have this naive idea that one could possible use an optosensor outside of the IR spectra and in analog slot car racing detect cars by "lack of light", and in digital mode detect cars by IR light (Oxigen/SSD) and as a last function then, identify car ID on SSD by the width of the pulses.
I had hoped that Oxigen did something similar as SSD. But with support for up to... what is it? 48 cars? I imagine it would be a tight squeeze to put in a clear signal identifying the car using pulses.
Electronics is not my strong side, I am more a software person, so I might end up loosing interest and simply scrap the entire idea of home made
LC:s and section sensors if I can not simply replicate someone elses work on the hardware and buy something already made like Oxigens LCs.
But it´s more fun to be able to have section times, and it´s also opens up more possibilities to be able to have open source hardware / software to fiddle around with for the home build and build on it and trigger other events and hardware as lights, crossovers, or what not.