MiniDCC Manual E2
MiniDCC Manual E2
2 push-buttons for
Emergency Stop and
Mode Selection
4 x 4 Keypad
(note on page 39)
Operation Mode
Loc 4
MiniDCC Station
Loc 3
Loc 003x 004x 005x 006x
Loc 2 Fun -----------------
Spd 000 000 000 000
Loc 1
Driection change (toggle)
Emergency Stop
Loc-DCC-Address
Speed decrease
Speed increase
Fun ----------------
| | | |
F1 F4 .... F1 F4
After Setup in Bottom/A (B/A) or Top/A (T/A) mode (x/A = analog by pots):
Speed setting of locos
via pots only - corresponding columns of keypad are deactivated
after Startup or Emergency Stop from speed “0” only
F0 front light can be switched on/off (toggle) at any time in operation mode
F1 - F4 Function Control 2x
Loc 3
Loc 2
Loc 1
MiniDCC Station
F1 on / off
F2 on / off
F3 on / off
F4 on / off
Loc 3
Loc 2
Loc 1
MiniDCC Station
Statn #1 #2 #3 #4
Speed Steps 14, 28, 128
DCC-Address decrease
DCC-Address increase
Statn #1 #2 #3 #4
|
Loco-Number
----
CV Programming 1x + 2x
Value
CV MiniDCC Station
Service Mode Pag/Reg
/ 8: CV / Value decrease
# [B],9,6,3: CV programming
(001 = DCC-Address)
0
CV checking / reading 1x + 2x
Value
CV
/ 8: CV / Value decrease
[A] / 7: CV / Value increase
MiniDCC Station
Service Mode Pag/Reg
CV checking / reading
| | Paging-Reg. #
| Value 000..255
CV 000..999
(001 = DCC-Address
Setup 1x + 4x
(toggle)
PwSafe Off / On
| | | |
| | | Off / On (toggle)
| | Off / On (toggle)
| Send / Wait for EEPROM data
Save / Load (toggle)
0
PwSave
Link
aD1
aD1 aD2
aD2 aD3
aD3 aD4
aD4
On
On On
On Off
Off Off
Off
|
|
Off
Off /
/ On
On (toggle)
(toggle)
# [B] Pot 3
[A] Pot 1
Specifics
Firmware Upgrade
In both cases don’t forget to set up the parameters after the upgrade again,
like loco addresses, speed steps (e.g. 127) and keyboard readout (e.g. B/A).
It is expendable using the updater application MiniDCC.exe
saving the EEPROM of MiniDCC© Station (Turnout Save) before upgrading and
writing them back (Turnout Load) to MiniDCC© Station after Firmware Upgrade.
In both cases disconnect the “normal” power source and power the
MiniDCC© Station via the USB to UART converter resp. by the PIC programmer
4.1.01
Bootloader Mode
Download
Download the MiniDCCsetup.zip
from the Internet www.minidcc.com
into a directory of your choice.
Then extract it to
and install it
(Icon on desctop)
MiniDCCsetup.exe is installing the recent version of MiniDCC.exe.
Communication Setup
(screendumps of WinXP).
Device-Manager
Settings
57.600
57.600
None
keine None
Upload Preparation
Upload
Bootloader Mode
MiniDCC© Application MiniDCC© Station
BootLoader Mode
P:0B9A
40 - 60
Seconds
BootLoader Mode
Ugrade Done !
Automatic Restart
MiniDCC Station
Derosoft (c)
www.minidcc.com
Version 301a
MiniDCC Station
Loc 003x 004x 005x 006x
Fun -----------------
Spd 000 000 000 000
PwSafe must be On !!
All data of File “xxxxxxxx.Tout” on dedicated PC, incl. loco addresses, speed settings,
keybord readout, turnout stati and routes are transfered into the EEPROM of the
MiniDCC© Station and are active after a Restart.
Bootloader Mode
MiniDCC© Application MiniDCC© Station
PwSafe must be On !!
Content of
Data file
push D [C] on keypad
MiniDCC© Station
is waiting for Input
“Import” the info from “Turnout Load/Save” tab into the “Turnout Decoder”
The “Turnout Decoder” tab show you the actual turnout routes and positions.
“Import” the info from “Turnout Load/Save” tab into the “Turnout Encoder”
The “Turnout Encoder” tab show you the actual turnout routes and positions.
CV Programming
This application only reads CVs and does not re-program them !!
CV Reading - Preparation
MiniDCC© Station
1x MiniDCC Station
Service Mode Pag/Reg
+ CV:001 Va:000 001-00
2x MiniDCC Station
Service Mode Pag/Reg
Pressing key “#” [B] on Keypad CV:001 Va:000 001-00
of MiniDCC© Station Start CV Upload...
0 #
initialtes the request *
MiniDCC© Application
CV Programming
CV Reading
MiniDCC© Application
The remote control starts after pressing to one of the 4 loco information tabs.
The array “MiniDCC Station USB Link” changes to yellow background
and the loco information are picked up from MiniDCC© Station and displayed
(see on next page)
© Robert Côté and John Zajdler, Canada Page 32 of 48
MiniDCC© Application for model railroad control MiniDCC © Station
The drivers for the UART/USB converter, basing on MicroChip PIC 16F1455
placed e.g. on interface board (doughter board) for WinXP resp. Win7, 8, 10 can be
downloaded, or
installed directly;
for Linux systems the installation of drivers isn’t necessary.
ReadMe
Selecting ReadMe
MiniDCC© Station Firmware Updater Instructions are displayed
Selecting “Instruction Manual” the most actual User Manual is displayed.
For further information you can visit the MiniDCC© web site www.minidcc.com
Hardware-Overview
Hardware - wiring
E.g. LCD-Display
4 x 20 characters
MiniDCC© Station
Main Board
Output Input
Track Power
USB
Flat
Telephone
e.g. keypad of
telephone type
MiniDCC© Station
Microcontroller PIC 16F1938, pre-programmed incl. bootloader
(without PCB, parts, etc.)
bare PCB* (MiniStation and MiniBooster on one board)
assembled and tested PCB* (MiniStation and MiniBooster on one board)
* not including the keypad, pots and LCD, order these items separately, please.
Latest .hex-file for miccrocontroller PIC 16F1938 for download
MiniDCC© Station
LCD
LCD LCD
7805
LMD18200
Pots
16F1938
3.3
RN1
Keypad
Track Power
Output Input
Dimensions of PCB: 80 x 39 mm
!
For setup of MiniDCC© Station you need either
a pre-programmed 16F1938 micro-controller, or
a 16F1938 micro-controller, a suitable hex-file
(e.g. 38-300e.hex - by download) and a PIC programmer.
The extension boards offers with simple and well arranged 1:1 wiring to
MiniDCC© Station following functions:
USB A interface via UART/USB converter
connectors for 4 pots (with / without moment push button for direction control)
two alternative connectors to either flat (0…F) or telephone (0...D, ,#) type keypads.
Both boards offers a USB/UART converter, using Microchip PIC 16F1455, to provide a
simple but efficient USB access to firmware updates and allows saving and loading of
turnouts route if desired, as well as controlling/programming basic functions of 4 locos
via the MiniDCC© Application.
The WinXP or Win7,8,10 drivers for the UART/USB converter can be downloaded or
directly installed via the tab “Admin” > “USB Drivers” of DCC© Application ( Page 34);
for Linux systems the installation of drivers isn’t necessary.
USB Keypad
Flat alternatively
Telephone use
USB
Hardware aspects
Keypad
The manual
refers to the “telephone layout” x, #, A .. D and indicates
the equivalent “hexadezimal” keys A .. F small and in [ ] brackets
figures out the functions with a stylized keypad, 0 .. 9 only
Telephone hexadezimal
A = [F]
B = [E]
C = [D]
D = [C]
# = [B]
= [A]
Hardware aspects
Reset
Overtemp alarm
LEDs optional
LED1 is a regular LED (e.g. blue, white or yellow)
They aren’t It provides the thermal warning of Booster.
mandatory It becomes active at 145 °C (junction temperat ure
for operation, of LMD 18200T); however the chip will not shut
they are for itself down until 170 °C is reached at the junction .
control only !
DCC Output Control
LED2 is a bipolar LED (e.g. red and green)
If something goes wrong with the booster, then
you only see either a RED or a GREEN light.
When things are right, you see an “Orange” sort
of glow indicating the proper DCC signal with the
polarity reversal operating normally.
Hardware aspects
USB
ICSP
VPP / MCLR
+5V (Vdd)
GND(Vss)
Data (PGD)
Clock (PGC)
Summary
The MiniDCC© Station has been improved considerably over the years.
We have moved to a 28 pin template to allow for added features such as 4 discrete
potentiometers for speed control, an RS232/USB link for firmware upgrades as well
as Turnouts (Switches) route saving and loading using a PC.
Now you can control
up to 4 trains simultaneously,
up to 99 different turnouts / switches on 26 different routes (over 240 events) and
program all your decoders (Write and Read) using any one of the 3 NMRA standards
with some few some limitations
Loco addresses up to 127 (no extended addresses)
functions F0, F1 .. F4
standard function decoder addresses
PC USB interface needs an additional TTL-USB converter.
The memory assigned to Turnout routes as been increased to double the size available
under the old 16F628. An extended Menu offers choice of display (16x2 or 20x4),
Keypad or Potentiometer control, saving and retrieving Turnout routes, etc.
MiniDCC© Booster
While the MiniDCC© Station can operate with any compatible
NMRA booster, the optional MiniDCC© Booster (on same PCB)
integrates the function of READING as well as WRITING to
CVs using the usual NMRA protocol and complete power
shutdown upon Emergency Stops.
The used H-Bridge LMD18200T is an efficient MosFet bridge,
providing up to 3 amps of DCC power with full short circuit
and high temperature protection built-in.
Restrictions
Please note that this release based on a Microchip PIC16F1938, while compatible
with the NMRA standard, does not support the following features such as:
MM (Motorola / Maerklin Protocol)
LocoNet (Digitrax)
RailCom (bi-directional communication)
PoM (Programming on Main track)
JMRI (Java Model Railroad Interface)
but the development of MiniDCC© Station / Application isn’t finished yet .....
MiniDCC© Application can Read and Write certain EEPROM data, as well as
Upgrade the FIRMWARE directly and allows remote control of 4 locos.
Have a lot of fun with our MiniDCC© Station and MiniDCC© Application !!