Home ] Up ]
 
  IASI - BV4102 LCD Multicolour Matrix  
  The Intelligent Asynchronous Serial Interface (IASI) is a common standard that makes it much easier to control and use hardware from either a standard communication interface (terminal) or a microcontroller. It is based on a very simple text command set and a flexible hardware interface. The ‘Intelligent’ aspect is derived from the fact that each particular IASI knows about the connected hardware so a simple command can make the hardware perform a reasonably complex function. Scroll text on an LCD display for example.

Contained within this html page are scripts that will work in conjunction with the IASI devices, the big advantage of using IASI is that they can be connected directly to the RS232 COM port if there is one on the PC and more than one device can be connected to the same port because the devices can be configured with their own address.

Because VBScript is used then an IE (Microsoft) compatible browser is required. VBscript can also be made to run stand alone and within Microsoft applications such as Excel and Word. The script in this file should run with little modification.

 
     
  Open COM Port  
  When the 'OpenPort' button is pressed, it will open the port and send 3 CR to establish a Baud rate on success "IASI Connected" is displayed in the text box. Should any errors occur look at the bottom left of the browser for this and double click on it, this will indicate what the error is and where it occurred.
Open COM Port
Com Port Number 1-5:      Port Settings:

   
Status
NOTE: If the status is inverted only a limited number of commands will work. It is better to configure the device for normal un-inverted operation, the status for this will read 'Okay'
 
     
  IASI System (Z) Commands  
  The next section is common to all I2C BV devices and can be used to interrogate the EEPROM and change the address etc. You will see that address 0 of the EEPROM is the device address. The blue form below contains most of the Z commands that are applicable to all IASI devices. On the left hand side are the configuration slots, 5 and 6 can be modified and set with the set button but be warned that if the invert flag is set to N then communication will cease unless a converter is used.

To create a macro simply put in the commands and separate with a comma. The script will take care of presenting them to the IASI device and checking that there is enough space.

IASI System Command

This form sets the Z commands for IASI

Address
Baud Rate 0-4
Debug 0-2
Ack Chr
Line End Character
Version



Z Configuration
The configuration values are set to either Yes (Y) or No (N) and are in the following order
[Send ACK], [Run Macro at start], [Auto-Baud detect], [Invert Output], [Listen], [Send L Prompt], [Echo Output]

Configuration Slot 1   
Configuration Slot 2   
Configuration Slot 3   
Configuration Slot 4   
Configuration Slot 5    <<
Configuration Slot 6    <<

Set configuration to (slot Number): <<

Create macro commands in text box, separate with commas, for example BT'fred",zw100,bt"bob"

<< Note if delays are used in macro this may cause time out

 
     

  BV4103 16 x 2 LCD display  
  This is an LED matrix and consists of an 8x8 array of tri colour LED’s that can be individually activated to produce green red and when combined, orange. Note that the output from this device is always inverted and cannot be un-inverted. When multiple displays are connected together no feedback will be produced and so the scripts used in this file will need to be changed. As the device is in general output only, apart form setting up, then this should not cause too many problems.

The pin connections and wiring diagram are shown in the table below. NOTE that an IASI module can operate in two modes. 1) When connected directly to the RS232 as shown in the table below and 2) when connected to a microcontroller or to a PC through a converter. The scripts in this file will work with whatever the IASI module is configured to but the connections must reflect the mode. This is because there is only one output pin from the IASI device and this pin can sent inverted signals for RS232 or non-inverted signals for use with a microcontroller or PC with a converter. The scripts look for the '>' in the prompt, if the signal is inverted when it shouldn't be or vice versa then the '>' will not be visible and the scripts will fail.

RS232 9 Pin  LCD
Pin 2 Pin 2
Pin 3 Pin 4
Pin 5 Pin 5
Short pins 1,6,4  
Short pins 7 and 8  
 
     
  BV4102 Form - Controlling the LED Display  
 
LED Specific IASI
Row Pattern    Sends a MIX command to the display, enter the mix parameters in the box
Dot Pattern Use this for RGBO only
Dot Pattern Use this for hex patterns
| | | | Pattern for these buttons
| | Brightness  > 1-9

| | | Character > ACSII code

 
     

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64


Table for the KR, KG, KB and K0 commands