Hardware Test Programs

This page contains links to files we are making available for FTP download. Click on the appropriate link under the Download Now section of a file's description to begin downloading. All file sizes are approximate. 

Updated on March 29, 2004

 

ROBO RACER Series 350

Testing all part of hardware on your ROBO RACER SERIES 350 using IDE2K

HardwareTest Program using IDE2K

Download Now: RoboRacerHwTest.exe
(108 K)

Last updated: 29 Oct 2002

^ TOP^

MICROMOUSE Kit 900 Series

Testing all part of hardware on your MKIT Series 900 using IDE2K

Test Programs for HardwareTest using IDE2K

Download Now:
 
hwtstm900.exe  (39 K)
Last updated: 16 June 2003

^ TOP^

MICROMOUSE Kit  700 Series
Testing all part of hardware on your MKIT Series 700 using MKITC

Test Programs for HardwareTest using MKITC

Download Now:
 hwtest99.exe (38 K)

Last updated: 22 Oct 2001

^ TOP^

Testing your Motors on your MICROMOUSE Series 700 using MIGS2K

Upon triggering button switch 2, the MICROMOUSE will move forward and stops after the same switch is triggered again.

 Note: This test program only tests the motors and not the sensors. Therefore, the sensors board doesn’t sense.

Hex File to Download Now: TestMot.zip(7 K)

Last updated: 27 Feb 2002

^ TOP^

Testing your LEDs on your MICROMOUSE Series 700

Instruction: Check your connection, write the following program, download it and then test your sensors.

Description       void write_led(char p)
This function displays the value of p in binary form using the eight LEDs provided on the MCB. The representation of the bits of p is in the ascending order, start from the right most LED(D1) as bit 0, to the left most LED(D8) as bit 7. The LED will be ON if the corresponding bit is a 1, and will be OFF if the bit is 0.
Input(s)            Eight bit value represented in binary, dec or hex form to light up the corresponding bit.

After downloading the program,
The following codes alternates displaying value of 0x5a (0101 1010)  and 0xa5 (1010 0101) on the LEDs.

Program to test LEDs

#include <std_mkit.h>
int x;
void main(void) {
           
init_sensor();
           
while(1)            {
                       
write_led(0x5a); 
                                   
for(x=0;x<20000;x++); 
                                   
write_led(0xa5);
                                   
for(x=0;x<20000;x++);
                       
}
}


Remark(s)       : Before using this function, init_sensor() must be called once in the beginning of the program

Download Now: testled.exe(34 K)
Last updated: 27 Feb 2002

^ TOP^

Testing your Sensors on your MICROMOUSE Series 700

Instruction: Check your connection, write the following program, download it and then test your sensors.
Checking whether your sensors can be sensed or not! 
1.     Check your connection of sensor to main I/O board (BANK0, BANK1, BANK2 or BANK3) 

a.      If your bank is BANK0, you must write READ_SENSOR(0) in your program. Otherwise you have to write 1, 2,3 according to your connection.

After downloading the program,
2.      Touch your sensors with wall individually. When the sensor can detect the wall, the specific led will light up.
Note: There are 12 sensors on the standard board, Some of the sensors stand alone by itself, eg. U3, U10, U7D, and U6 of sensor board. Some are sharing, eg. U1 & U2, U4 & U5, U8 & U9, and U11 & U12. 

Program to test Sensors

#include <std_mkit.h> 
/* std_mkit.h file contains prototypes of init_sensor function */

void main(void) {        
     
init_sensor();  
/* init_sensor() functions */
     
while(1) {
               
write_led(read_sensor(0));      
/*read sensor from BANK0, write led*/
    
}
}

Hex File to Download Now :ledegled.exe(34 K)
Last updated: 27 Feb 2002

^ TOP^

Testing Sensors, Leds, and Buzzer on MICROMOUSE 700 Series

Instruction: Check your connection, write the following program, download it and then test your sensors, leds and buzzer.
1.      Check your connection of sensor to main I/O board (BANK0, BANK1, BANK2 or BANK3)

a.       If your bank is BANK0, you must write READ_SENSOR(0) in your program. Otherwise you have to write 1, 2,3 according to your connection.

After downloading the program,
2.      Touch your sensors with wall individually. When the sensor can detect the wall, the specific led will light up and the buzzer will beep.

Note: There are 12 sensors on the standard board, Some of the sensors stand alone by itself, eg. U3, U10, U7D, and U6 of sensor board. Some are sharing, eg. U1 & U2, U4 & U5, U8 & U9, and U11 & U12.

Description     The function (void on_buzzer (int period_us)) on the buzzer at the frequency (period) specified.

Input(s)            The frequency of the buzzer is determined by the period in term of micro-seconds. This parameter will decide the loudness and sharpness of the ‘beep’ sound generated. However the range of the frequency is from 1KHz to 4KHz(1000us to 250us). The recommended frequency for best sound output is 2KHz(500us).

Program to test LEDs, Sensors, and Buzzer

#include <std_mkit.h>

void main(void) {          
           
init_sensor();
            init_buzzer();
           
while(1) {
                      
write_led(read_sensor(0));
                       if (read_sensor(0)) 
                                   
on_buzzer(500); 
                                    //on the buzzer at frequency of 2KHz
                         else
                                   
off_buzzer(); 
//off the buzzer
           
}
}

Hex File to Download Now: ledbzeg.exe (34K) 
Last updated: 27 Feb 2002

^ TOP^

@2003 Alpha Innovations Pte Ltd. All Rights reserved. The best view with 1024 by 768 pixels resolution.