PCAN MicroMod Mix 2 - Analogue Voltage Range

Application-specific PCAN-MicroMod Motherboards
mdenton
Posts: 19
Joined: Thu 23. Sep 2010, 16:04

PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by mdenton » Thu 23. Sep 2010, 16:10

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.
Matt Denton

Micromagic Systems - www.micromagicsystems.com
Hexapod Robot - www.hexapodrobot.com

G.Lang
Support
Support
Posts: 175
Joined: Wed 22. Sep 2010, 14:58

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by G.Lang » Thu 23. Sep 2010, 23:32

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

mdenton
Posts: 19
Joined: Thu 23. Sep 2010, 16:04

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by mdenton » Sun 26. Sep 2010, 16:53

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.
Matt Denton

Micromagic Systems - www.micromagicsystems.com
Hexapod Robot - www.hexapodrobot.com

G.Lang
Support
Support
Posts: 175
Joined: Wed 22. Sep 2010, 14:58

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by G.Lang » Mon 27. Sep 2010, 09:46

Hi Matt,

which version of the "PCAN-MicroMod configuration" tool do you use?

regards
Gunther

mdenton
Posts: 19
Joined: Thu 23. Sep 2010, 16:04

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by mdenton » Mon 27. Sep 2010, 13:41

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.
Matt Denton

Micromagic Systems - www.micromagicsystems.com
Hexapod Robot - www.hexapodrobot.com

G.Lang
Support
Support
Posts: 175
Joined: Wed 22. Sep 2010, 14:58

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by G.Lang » Mon 27. Sep 2010, 14:23

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
dout0_and_dout7.jpg (236.02 KiB) Viewed 18116 times
regards
Gunther

mdenton
Posts: 19
Joined: Thu 23. Sep 2010, 16:04

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by mdenton » Mon 27. Sep 2010, 15:18

Ok,

Then I guess I must have an older version, because Dout7 is definitely missing. I will report later.

cheers.
Matt Denton

Micromagic Systems - www.micromagicsystems.com
Hexapod Robot - www.hexapodrobot.com

G.Lang
Support
Support
Posts: 175
Joined: Wed 22. Sep 2010, 14:58

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by G.Lang » Mon 27. Sep 2010, 15:28

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
version2_micromod_config_tool.jpg (198.05 KiB) Viewed 18114 times
regards
Gunther

mdenton
Posts: 19
Joined: Thu 23. Sep 2010, 16:04

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by mdenton » Mon 27. Sep 2010, 20:07

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?
Matt Denton

Micromagic Systems - www.micromagicsystems.com
Hexapod Robot - www.hexapodrobot.com

G.Lang
Support
Support
Posts: 175
Joined: Wed 22. Sep 2010, 14:58

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Post by G.Lang » Tue 28. Sep 2010, 13:22

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

Post Reply