Maarten M
Posts: 4
Joined: Mon Apr 06, 2015 9:05 pm

Gertbot - Bug when switching from DCC to DC-Brush mode

Mon Apr 06, 2015 9:21 pm

Using the version 2.3 software on a Gertbot with a RPi B+, after I switch from DCC mode to DC-brushed, the duty cycle always remains at 50% and cannot be changed using the PWM duty cycle command.

After power-cycling the board, the PWM command acts as intended again.

I assume the duty cycle remains under control of a DCC function.

Is this a known bug, and is there a workaround available? For example a reset command to the Gertbot board.

Kind regards,
Maarten M.

User avatar
Gert van Loo
Posts: 2482
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Gertbot - Bug when switching from DCC to DC-Brush mode

Tue Apr 07, 2015 7:50 pm

I can confirm this behavior.
I have found and fixed the bug. I am working on a new release which will have the bug fix in it.
Excepted to roll out in about a week.

Maarten M
Posts: 4
Joined: Mon Apr 06, 2015 9:05 pm

Re: Gertbot - Bug when switching from DCC to DC-Brush mode

Wed Apr 08, 2015 11:30 am

I will wait for the update.

Many thanks

User avatar
Gert van Loo
Posts: 2482
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Gertbot - Bug when switching from DCC to DC-Brush mode

Sun Apr 26, 2015 10:33 pm

Update is out: revision 2.6.
It should fix the issue.

Return to “HATs and other add-ons”