I have a question for any DIY electronics hobbyists. Sorry please hold the flames if this is off topic as I realise most of the forum is about mains installations/electrics. But I guess there's a chance someone might be into this.
Background:
I have an old 1940s train set running off a 12V dc transformer rated 2A. I'm trying to control this with a computer.
I have soldered up a Vellman USB board from Maplin. It can supply 5v at up to 100ma of current. I have program turning this digital output on/off.
The 5v activates a relay to turn the 12V track power on/off, all working fine.
Problem:
Now I'm thinking about being able to vary the train voltage from 0-12V using the analog output of the board. I.e. have a slider control the speed of the train. For this, the board outputs 0-5v again up to 100ma.
My question is, how can I get this varying 0-5v low current signal for the computer, to vary the train power from 0-12v also with its significantly higher current draw.
(I can't do this with the relay, as this just turns on/off and doesnt enable the continuous variation of the power.)
Apologies again if this is a long shot. Do any electronics enthusiasts out there have any ideas? Maybe someone has come across a sort of dimmer circuit or something that might do this for the voltage ranges indicated?
Background:
I have an old 1940s train set running off a 12V dc transformer rated 2A. I'm trying to control this with a computer.
I have soldered up a Vellman USB board from Maplin. It can supply 5v at up to 100ma of current. I have program turning this digital output on/off.
The 5v activates a relay to turn the 12V track power on/off, all working fine.
Problem:
Now I'm thinking about being able to vary the train voltage from 0-12V using the analog output of the board. I.e. have a slider control the speed of the train. For this, the board outputs 0-5v again up to 100ma.
My question is, how can I get this varying 0-5v low current signal for the computer, to vary the train power from 0-12v also with its significantly higher current draw.
(I can't do this with the relay, as this just turns on/off and doesnt enable the continuous variation of the power.)
Apologies again if this is a long shot. Do any electronics enthusiasts out there have any ideas? Maybe someone has come across a sort of dimmer circuit or something that might do this for the voltage ranges indicated?