Page 1 of 2
PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Thu 23. Sep 2010, 16:10
by mdenton
Hi,
I am currently using one of your MicroMod-Mix2 modules, and just want to check how to increase the analogue input voltage range to 5V. From your manual, I calculate that an additional resistor of 10K9 ohms is required in the relevant resistor position R28 to R30. Could you confirm this?
Also how do I gain access to Dout7, to control the LED? I'm sure I read in the manual that this is possible, but can't find a corresponding output within the MicroMod configuration tool.
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Thu 23. Sep 2010, 23:32
by G.Lang
Hi,
yes, you must add a resistor with 10K9 ohms for each Ain you want to use with a voltage range to 5V
For access to the led (Dout7) you must use the Dout7 from the"Digital Output" service -> please take a look at page 15 from the manual.
regards
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Sun 26. Sep 2010, 16:53
by mdenton
Hi,
So I go to the Digital Output service tab, by pressing F4, and all that is listed is one output: Output 0, No Dout7 ?
Matt.
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Mon 27. Sep 2010, 09:46
by G.Lang
Hi Matt,
which version of the "PCAN-MicroMod configuration" tool do you use?
regards
Gunther
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Mon 27. Sep 2010, 13:41
by mdenton
Hi,
I installed the version that was on the disk included with the module, not sure what this version is right now as I am a way from my PC, I will check this evening.
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Mon 27. Sep 2010, 14:23
by G.Lang
Hi Matt,
when you use the "
PCAN-MicroMod configuration" tool version
2.5.2.56 and you select as used board type "
PCAN-MicroMod Mix2" then you are able to configure
Dout0 and the LED via
Dout7 in the digital output window.
please take a look at the screenshot below

- dout0_and_dout7.jpg (236.02 KiB) Viewed 18144 times
regards
Gunther
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Mon 27. Sep 2010, 15:18
by mdenton
Ok,
Then I guess I must have an older version, because Dout7 is definitely missing. I will report later.
cheers.
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Mon 27. Sep 2010, 15:28
by G.Lang
Matt,
you installed the version
1.3.11, please uninstall and use the version
2.5.2 instead.
please take a look a the pic below

- version2_micromod_config_tool.jpg (198.05 KiB) Viewed 18142 times
regards
Gunther
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Mon 27. Sep 2010, 20:07
by mdenton
Ok,
So I removed V1.3.11 and installed V2.5.2.56. Now I have a new problem, when I go to the hardware configuration setup, I get my PCAN-ISA card listed, with the following four options:
1. PEAK ISA-CAN Card
1. PEAK ISA-CAN Card SJA
2. PEAK ISA-CAN Card
2. PEAK ISA-CAN Card SJA
Previously on V1.3.11 I have been using "1. PEAK ISA-CAN Card SJA". Now when I select this option or any of the other three I get the following error:
Error while connecting hardware( Error : REGTEST )
Which according to the manual implies an incorrect card type??
I can still access my PC-104 ISA card using PCAN-View with the following settings:
Channel 1: 0x300 I7
Channel 2: 0x320 I5
Any thoughts?
Re: PCAN MicroMod Mix 2 - Analogue Voltage Range
Posted: Tue 28. Sep 2010, 13:22
by G.Lang
Hi Matt,
it looks that this is a software bug (fixed in the next release), sorry. The best way to fix this as soon as possible is to edit the right values directly in the registry (be careful).
Close the PCAN-MicroMod configuration software and open the registry with "regedit" and set the values for channel 1 (I/O=300 and IRQ=7) like the values below:
[HKEY_CURRENT_USER\Software\PEAK-System\MicroMod Configuration Tool\2.5\PCAN]
"PCANHardware"=dword:00000002
"HardwareType"=dword:00000009
"I/O_Port"=dword:00000300
"Interrupt"=dword:00000007
"Baudrate"=dword:0000001c
"MsgType"=dword:00000000
"NetName"=""
Note:
HardwareType values:
PEAK ISA-CAN Card = HardwareType 1 -> "HardwareType"=dword:00000001
PEAK ISA-CAN Card SJA = HardwareType 9 -> "HardwareType"=dword:00000009
Baudrate values:
1 MBit/s = 0014h -> dword:00000014
500 kBit/s = 001Ch -> dword:0000001c
250 kBit/s = 011Ch -> dword:0000011C
125 kBit/s = 031Ch -> dword:0000031C
100 kBit/s = 432Fh -> dword:0000432F
50 kBit/s = 472Fh -> dword:0000472F
20 kBit/s = 532Fh -> dword:0000532F
regards
Gunther