SlotForum banner
41 - 54 of 54 Posts

· Registered
Joined
·
10 Posts
Hi all,

No pb. If the mbed board is doing the timing, I guess it's fine (darn - I will have to reinstall Windblows on my computer to help with this project :) ).

Let me know if you need me to test anything (I can also work on the French translation of the prog if need be...).

Regards,

Bernard
 

· Registered
Joined
·
1,006 Posts
Hi Al

If you need a beta-tester-builder for hardware...
...I would be pleased to build from basic schematic...
...no PCB required.

I have started to fiddle around here with ideas for IR triggers...
...based on a 'taken-apart' Scaley power-base.

The basic plan at the present...
...is the simple Op-Amp buffered trigger, on the 'Ultimate Racer 3' web-page...
...square-waves of a few Volts.

I figure your trigger compatability, must be along similar lines...
...is it ?

Cheers.

Si.
 

· Registered
Joined
·
1,006 Posts
Hi Al

Hope you had a good Christmas hols !

Yeah...just thinking about the IR beams at present...
...not a vast amount of spare-time at the moment...
...but a little progress is better than none !

So...we've been lookin at the possibility of building the IR's into a converted Scaley-pwer-base, for the new track ( some way off yet ! ).

Catch yer soon Al.

Cheers.

Si.

Is your system good with square-waves of a couple of Volts ?
 

· Registered
Joined
·
10 Posts
Hi Guys,

Haven't been around for a while (and I think I forgot to subscribe to the thread too....).

Just a little up to see if there has been any news on this project ?

I have had my Pi board for a while now (but no time to play with it...) and am going to see if implementing an RMS in it is not too hard (haven't written code in a couple of.... decades now.... :) ). Really would love to see a windows-free RMS.... but I'm off-topic now...

Regards,

Bernard
 

· Registered
Joined
·
10 Posts
Hi Al,

No problem, it's supposed to be a hobby anyway... :)

After checking on other sites, the Pi is not a good base to work with real-time issues. People directed me towards Arduino boards but I need to find out if you can have the code in the Arduino board and just plug it to a display (TV, monitor) or if I need a computer anyway.

By the way, I could probably use your setup with my current software and it should worl fine. Do you have pit entrance and exit implemented (so I can run the virtual fuel option...) ? if not, is it something likely to happen ?

If you need any help with a website, I don't have that much time but I know Joomla! and it shouldn't be too long to put a few pages up this way...

Regards,

Bernard
 

· Registered
Joined
·
1,006 Posts
Hi Bernard

The Raspberry Pi's GPIO comes 'straight from the processor'.

Just interested to know what 'issues' were highlighted.

Some 'computer types' are VERY funny on things like this...

...& in my experience, often prefer a TOTALY impractical solution, to a simple problem...

...& almost seem reasured by knowing how obscure & un-understandable it is.

The Raspberry Pi, is cheap, small, self contained, extremely popular, programing is intended to be simple...

...along with HD video, sound & USB...

...it punches WELL ABOVE its weight.

Wierd OS's & hardware, that NASA might use; ain't practical for slot-car timing IMO.

Cheers

Si.

Hi Al ... hope it's going well.
 

· Registered
Joined
·
10 Posts
Hi Si,

Yeah, it seemed to me too that the Pi was a good unit for the task since Linux is light and our RMS wouldn't be that comlicated anyway (very few events every second at the most...).

What was said was that Linux wasn't a true "real-time" system and that the events might be "queued" at times....

Considering that the mBed board is doing the timing, the events could be queued or not and still have accurate timing (does this make sense ? Sorry, English is not my mother tongue...).

Si, if you're saying that the Pi is good for our needs (what I believe), I'm all for it ! And, on the other side of the mbed, we could have (if I understood well) the trigger set we want (IR, Hall effect, Reed, Photocells,...).
I'll look into Python to see what it's like.

Bernard

P.S : Al, if you can post what you have worked on, maybe we can help.
I have schematics on things I did (Reed switches to Parallel port on a laptop with DOS software.... I even designed a PCB to simulate a stop on a photocell with two Reed switches per lane for Pit entry and exit....) and it coule easily be modified if needed.
 

· Premium Member
Joined
·
996 Posts
Discussion Starter · #53 ·
QUOTE (Meccano @ 12 Nov 2013, 10:48) <{POST_SNAPBACK}>By the way, I could probably use your setup with my current software and it should worl fine. Do you have pit entrance and exit implemented (so I can run the virtual fuel option...) ? if not, is it something likely to happen ?
The mbed has 18 detection inputs so you could use some of those pit in/out if you wanted. The mbed just knows it has seen a detection at lane N at time T and that is what it tells the host PC. It is up to the RMS on the host PC to decide what to make of that information. I am planning on working on is improving the configuration of this as I want to make it easier to set up sector timing. So the PC will be told the mbed has seen a detection at location L, lane N at time T. This should also allow it to work better with digital systems where one sensor can see any one of the different car IDs (which are equivalent to lane IDs in analogue).

QUOTE (Si. @ 21 Nov 2013, 21:32) <{POST_SNAPBACK}>Wierd OS's & hardware, that NASA might use; ain't practical for slot-car timing IMO.
I agree. One of the biggest challenges with the mbed was getting it to work reliably in the presence of all the EM noise from the cars. I suspect this problem would be even harder for the R-Pi (although it may not be).

QUOTE (Meccano @ 22 Nov 2013, 09:59) <{POST_SNAPBACK}>Considering that the mBed board is doing the timing, the events could be queued or not and still have accurate timing (does this make sense ? Sorry, English is not my mother tongue...).

Si, if you're saying that the Pi is good for our needs (what I believe), I'm all for it ! And, on the other side of the mbed, we could have (if I understood well) the trigger set we want (IR, Hall effect, Reed, Photocells,...).
I'll look into Python to see what it's like.

Bernard

P.S : Al, if you can post what you have worked on, maybe we can help.
I have schematics on things I did (Reed switches to Parallel port on a laptop with DOS software.... I even designed a PCB to simulate a stop on a photocell with two Reed switches per lane for Pit entry and exit....) and it coule easily be modified if needed.
The mbed does indeed queue all events for sending to the host so they are always accurately timed.

It can also be configured to detect on inputs going low or high so it is suitable for use with a variety of different detectors with appropriate front end circuitry.

I have circuits working nicely for photo diodes, hall effect sensors, and the SSD digital system.

I think if you are serious about doing something on a Rasberry Pi, you should probably start a new thread for that.
 

· Registered
Joined
·
10 Posts
Ah, doesn't work quite the same with Photocells or other sensors (Reed switches, maybe hall effect):

With Photocells, when you pass it, your lap time is recorded. But what happens if you want to refuel ? I don't know how you detect it but the software I use has to see a car stop on the photocell for a while (therefore triggering a longer high or low pulse).
With Reed switches, the entrance switch is triggered, the car stops (no more long pulse), refuelling starts and then the exit switch is triggered when the car leaves the pit (full tank or not). That wass the whole purpose of my PCB: to simulate the stop on the photocell with the first switch sending a pulse to a 555 timer (keeping the pulse in the same high or low state). The second switch (pit exit) resets the timer and the pulse stops.

If you want your software to offer the refuelling function with several hardware setups, you might have to modify it a little.

As for the new thread, I'll first check the Pi and Python a little more before starting a thread that might get nowhere.
 
41 - 54 of 54 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top