SlotForum banner

Custom built digital power base misbehaves

1556 Views 9 Replies 6 Participants Last post by  anttu
I've managed to build an scalextric digital power base using the schema and code from Electric Images.
Everything seemed to work fine with one car running on a simple oval track for at least 5 min. After that I added a straight lane changer and that's when confusing things started to happen.

When the car goes over the "eye" of the lane changer, the car stops immediately and leaves buzzing on the track (a little like putting an analog car on a digital track). The lane changer also sounds strange (tr-tr-tr-tr), like it tries to flip the lane, but can't. If I lift the car away from the track and wait a few seconds and then put it back, everything is fine until I run over the lane changer again...

The thing is that I can get it working by adding a small resistor in series with the 12V power feed to the track. I actually noticed this by accident, because I removed the fuse for the track power and put an amp meter in its place (because it was the easiest place to break the circuit on) to make some measurements, but then everything worked fine
I then put back the fuse, and the problem was there again
Also tried a short cable, same thing....I almost went nuts! What could be the difference between using the amp meter and a fuse/cable?? Hmm...the shunt resistor! I then tried replacing the fuse with a ca 1ohm 5W resistor, and everything worked fine again!

Can someone explain to me what's going on here!? I'm confused. Why isn't this taken into account in the schema on the Electric Images site?

Btw, I notice that the schema for the original 4 car power base from Scalextric, found here, does include some resistors in series with the track circuit (R15, R16, R18), but I understood from some other forum thread that these are used for current monitoring by the controller. Or can they be there for some other reason too?
See less See more
1 - 1 of 10 Posts
QUOTE (anttu @ 1 Dec 2011, 22:25) <{POST_SNAPBACK}>Ok. Thanks for the tip. I have actually thought about sending Ian an email, but have been too busy coding my win application that communicates with the processor the last weeks

The idea of the project is to not buy the rather expensive advanced power base but instead build it myself, as all the hard work is already done by the guys at Electric Image, with the addition of an USB interface to communicate with the device.

I can tell that at the moment I can read all handset data, track current (not verified if accurate), track power enabled flag and show this data in a WinForms application. I can also take control over the power base and let data flow through the application, read from the handsets, before sent to the cars, and thus be able to control separate channels (cars) from the application as I like. This gives me the possibility to have pace cars running around the track at static speed. In future I might implement some recording/playback to run ghost cars (just for the sake of learning).
I have also built a translation module that converts my PIC communication protocol to the SNC protocol so that my application can forward and receive data to/from e.g. PC Lap Counter or SSDC over a virtual COM port which should give me all the joy these applications can provide with fuel consumption etc...

The next big thing to get to work is car detection using IR sensors, which also can be found on Electric Image's pages. My goal is to incorporate this code into the same PIC and get that data over the USB line too.

If someone is interested I could post some pictures/screenshots with the current hardware/software status.
I'm might perhaps release the code of the application as open source licensed sometime, but I think I'll wait 'till it's more stable

Hi Anttu,

Did you ever get any further with this project?

See less See more
1 - 1 of 10 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.