Doc D041 V20090119
VM2 Breakout Board
Page 2 of 3
What you will need
To start using the application board you will also need:
•
VM2 Control Module (5900)
•
3.5 to 16V, 100mA, unregulated DC power supply.
•
An RS232 serial lead to connect the 5905 to your host computer (you can use our product 5529)
•
A PC running our VenomIDE development tool, or other terminal emulation software (for example,
Hyper Terminal)
Switches
There is a group of four DIP switches and a single pushbutton switch fitted to the Breakout Board. These are
connected to several pins on the VM2’s JP1.
Reset button
Pressing this button shorts the VM2’s Reset input to GND, which resets the VM2.
DIP switches
Most of the time you are only likely to use the Prog Mode switch.
Prog Mode
This switch puts the VM2 into program mode by shorting JP1 pin 1 to GND. This
allows you to develop your application program.
[Not used]
Default Com
This switch forces the VM2 into its default communication mode by shorting JP1
pin 5 to GND. This is not normally necessary.
Upload OS
This switch puts the VM2 into Upload OS mode by shorting JP1 pin 4 to Vcc.
This allows you to program the VM2 with a new version of the Venom2
Language using a special boot loader program on your PC, communicating over
serial port 1.
Serial Port 1 RS232
The 5905 has an RS232 level shifter IC to allow the VM2 to talk to a host PC. This IC is fitted in a socket in
case you need to remove it for your application.
Pinout
Connector: J1 - 9 way D-Type plug
Pin
1
2
3
4
5
6
7
8
9
Channel
13
14
12
11
Signal
*
RXD TXD
*
GND
*
RTS CTS N/C
* - These pins are connected to each other on the 5905.
Configuration
Serial port 1 is configured for you in the default startup procedure with something like the following line.
MAKE serial SerialPort(115200,1,1)
I
2
C Bus
Connector J2. Pinout printed on the board.
Configuration
MAKE net I2CBus
;creates the first bus
MAKE net I2CBus(1)
;[does same as above]