Search found 7 matches

by oliverwhorwood
Sun May 17, 2020 5:54 pm
Forum: T Gauge General Discussions
Topic: DCC Developments & Experimentation
Replies: 64
Views: 61609

Re: DCC Developments & Experimentation

Thanks to Doug for the modification method. DCC decoder now installed into a 20m motorised chassis. This surgical procedure certainly isn't for the faint hearted, whilst trying to bend the yellow wire (rear light) back on itself it detached from its solder joint on the very small PCB - somehow mange...
by oliverwhorwood
Thu May 14, 2020 4:35 pm
Forum: T Gauge Layouts
Topic: Shelf Layout
Replies: 9
Views: 2722

Re: Shelf Layout

void setup() { // put your setup code here, to run once: TCCR2B = TCCR2B & B11111000 | B00000110; // set timer 2 divisor to 128 for PWM frequency of 245.10 Hz pinMode(11,OUTPUT); } void loop() { // put your main code here, to run repeatedly: int pot = analogRead(A0); int pwm = map(pot,0,1023,0,255);...
by oliverwhorwood
Thu May 14, 2020 4:26 pm
Forum: T Gauge Layouts
Topic: Shelf Layout
Replies: 9
Views: 2722

Re: Shelf Layout

PWM and DCC are two seperate things. DCC requires a decoder in the locomotive which decodes the 13V voltage on the rail and outputs 5V PWM to the motor. The voltage is actually AC but as a square wave - hence the seperate motor driver. Note the benefit of DCC is that multiple locos can be run on the...
by oliverwhorwood
Mon Apr 20, 2020 1:37 pm
Forum: T Gauge Layouts
Topic: Shelf Layout
Replies: 9
Views: 2722

Re: Shelf Layout

Hi sidneylopsides, thanks! Straight from Arduino is fine for PWM direct control. For DCC you actually require a motor shield as the voltage for this is 13V ish. A board based on the L298N is perfect for this, available on eBay for around £4. A 15V power supply is needed as the board uses about 2V. F...
by oliverwhorwood
Sat Apr 18, 2020 5:35 pm
Forum: T Gauge Layouts
Topic: Shelf Layout
Replies: 9
Views: 2722

Re: Shelf Layout

Thanks Mattd10! Just going straight from the Arduino for this test and making sure to keep the average output below 4.5V. It's running well on straights, however need to replace the one-way turnouts with motorised as they are no good when shunting unpowered (non-magnetic) chassis's through and follo...
by oliverwhorwood
Fri Apr 17, 2020 10:57 am
Forum: T Gauge Layouts
Topic: Shelf Layout
Replies: 9
Views: 2722

Re: Shelf Layout

Changed the design slightly to try and replicate the real station of Sittingbourne in Kent. This has a service from Swale - Sittingbourne on Class 375/3 Southeastern. Three platforms and one siding. Managed to get the motorised chassis up and running using Arduino PWM at 122.55 Hz. 9lFUIlk9WZg Has a...
by oliverwhorwood
Wed Apr 08, 2020 9:03 pm
Forum: T Gauge Layouts
Topic: Shelf Layout
Replies: 9
Views: 2722

Shelf Layout

Bits ordered up for my first T-Gauge layout, the imaginary station of Sellyhurst on the line of Woodham-Barnford to be assembled on a 120cm x 25cm shelf. This will initially include a 3 unit Southern class 377 on 20m chassis with DCC control including white and red switchable lights. Oneway points a...