Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 3.27 KB

Instructions_To_Test.md

File metadata and controls

90 lines (67 loc) · 3.27 KB

Instructions to run the Improved Testing suite

Hello there ! RV all in one IoT board is powered by LPC 2148 Microcontroller and supports wide array of peripherals. This document will help you to test the peripherals on the board.

General instructions :

  • The board is powered by a 5V DC supply. The supply can be provided by a USB cable or a 5V DC adapter.
  • Connect the board to your computer using a USB cable.
  • Then launch the Keil IDE, build the hex file and flash it to the board. ( Using flash magic or something similar )
  • The board will be detected as a COM port on your computer.

1. Testing the LEDs

  • Select 1 in the Matrix keypad to test the LEDs.
  • This will start the Counter Program
  • SW2 will start a decimal up counter on the LEDs.
  • SW3 will start a decimal down counter on the LEDs.
  • SW4 will start a Ring counter (Left shift ) on the LEDs.
  • SW5 will start a Ring counter (Right shift ) on the LEDs.
  • SW6 will exit the Counter test.

2. Testing the 7 Segment Display

  • Select 2 in the Matrix keypad to test the 7 Segment Display.
  • This will start the 7 Segment Display Program
  • It will alternatively glow all the segments.

3. Testing the Stepper Motor

  • Select 3 in the Matrix keypad to test the Stepper Motor.
  • Connect the stepper motor in the appropriate pins.
  • This will start the Stepper Motor Program
  • Stepper motor will rotate in clockwise direction and then in anti-clockwise direction.

4. Testing the DAC

  • Select 4 in the Matrix keypad to test the DAC.
  • This will start the DAC Program
  • Connect the DAC output to an oscilloscope to see the output. ( Remove the Jumper pins )
  • SW2 will generate a Sine wave.
  • SW3 will generate a Square wave.
  • SW4 will generate a triangular wave.
  • SW5 will generate a sawtooth wave.
  • SW6 will exit the DAC test.

5. RGB LED

  • Select 5 in the Matrix keypad to test the RGB LED.
  • This will start the RGB LED Program
  • One should be able to observe all 3 color shifts when 3 Jumpers are plugged in.
  • SW6 will exit the RGB LED test.

6. Testing the ADC and DC Motor

  • Select 6 in the Matrix keypad to test the ADC.
  • This will start the ADC Program.
  • ADC is connected to a Potentiometer.
  • ADC output controls a DC Motor's speed.
  • Rotate the potentiometer to see the change in the speed of the DC Motor.
  • SW6 will exit the program.

7. Testing the LCD

  • Select 7 in the Matrix keypad to test the LCD.
  • This will start the LCD Program.
  • The LCD will display the string RV College Of Engrng , Computer Sciene,4th Semester and B Section.
  • SW6 will exit the program.

8. Cycle ADC

  • Select 8 in the Matrix keypad to test all ADC channels.
  • This will start the ADC Program.
  • ADC is connected to a Potentiometer, LDR and a Temperature sensor.
  • The values will be displayed on the 7 segment Display.
  • Press SW6 to exit the program.

9. Proximity sensor

  • Select 9 in the Matrix keypad to test the Proximity sensor.
  • This will start the Proximity sensor Program.
  • The value of the proximity sensor will be displayed on the 7 segment Display.
  • Press Sw6 to exit the program.

10. Relay

  • Select a in the Matrix keypad to test the Relay.
  • This will start the Relay Program.
  • The relay will be turned on and off alternatively.
  • Press SW6 to exit the program.