xBoard v2.0
Easy to Use learning and development tool for Atmel AVR family of MCUs.
xBoard v2.0 comes with a preloaded demo that helps the user quickly test all functionality of the board upon delivery. You need the following external items to run the demo program (they are not the part of standard package).
Connect a 12v DC Motor in the connector labeled Motor-A and another Motor in Motor-B. The motor connector are GREEN in colour. Use a screw driver to make the screws of the connector loose then insert the wires of motor and tight the screws.
Connect the LCD Module to the 12 PIN Connector labeled LCD.
Make sure that jumper JP1 and J1 Installed.
Make sure that jumper JP2 and JP3 are in ON position (the white shaded side).
Install batteries in the Remote Control.
Connect 12v DC Adaptors Output to xBoards power input labeled12v. And turn on the power.
Demo application is a small menu driven program that help you test the following components of the xBoard v2.0
Beside those listed above the running demo also confirms that core units are also working correctly!
The user interact with the demo program using the LCD Display as Output device and the handheld NEC Remote Control as Input device.
On start up the following message is displayed.



In the main menu you can use the LEFT and RIGHT navigation keys on the remote control unit to browse the different items. To select any option press the ENTER key.

The options available in main menu are as follows.
First Few Demo are simple and their screen shot is given below.
![]() |
LED Blinking Demo |
![]() |
Write My Name |
You can press any key on the remote control unit and the screen will show its key code. Press RESET button on the xBoard v2.0 to quit this demo. For example when ENTER Key is press it shows 85.
![]() |
Remote Test Demo |
Analog to digital converter test. The ADC Module is used to read analog values. The xBoard v2.0 has 6 analog input channels. The header is labeled ADC and has 8 pins, of which last 2 are GND and Vcc. The inbuilt ADC of AVR ATmega16 or ATmega32 has resolution of 10 bits, which means its out put is between 0- 1023 for input levels of 0-5v. The demo draws a gauge which shows the input level at selected channel.
![]() |
Input ADC Channel |
First the demo ask you for the channel number. So please enter any value from 0-5 using the remote control's numeric buttons.
Let's say you selected channel 2. Then the screen will show ...
![]() |
ADC Meter for Channel 2 |
After the input channel is selected the screen shows the ADC Meter. The pointer moves as the input value is changed.
![]() |
ADC Meter for Channel 2 |
For testing purpose you can connect a 10K Variable resistor wired as a potential divider. Connect one pin of variable resistor to GND, other to Vcc and the middle one to the ADC Input channel.
Press the RED Power Button in the Remote Control to quit the demo.
To run the motor test connect two DC motors of about 200 RPM to the connectors labeled MOTOR-A and MOTOR-B. To run the motor demo you must use a 12v 2amp adaptor or power supply. You may also use powerful 12v batteries. Motor's voltage rating should be 12v and 1 amp MAX. Small 500am adaptor won't be able to run motors and the board may get RESET when motor direction is changed.
![]() |
Motor Test Demo |
Use the following Keys in Remote Control.
LEFT Nav Key: Run Motor Anti Clockwise.
RIGHT Nav Key: Run Motor Clockwise.
Up Key: Increase Speed (MAX 255)
Down Key: Decrease Speed (MIN 0)
The motor demo displays the current speed and direction on the screen. By default the Motor A is selected. You can switch to Motor B by pressing '1' key on the numeric key pad. The screen will show the data for Motor B. Again if you press the 1 key it will switch back to Motor - A.
The demo app is written in C language and compiled using the avr-gcc compiler. The source code can be found in the DVD at following location.
E:\xBoard2\Samples\ATmega16\Demo\ (or E:\xBoard2\Samples\ATmega32\Demo\)
The HEX Code Ready to burn can be found at the following location in DVD
E:\xBoard2\HEX\ATmega16\Demo.hex (or E:\xBoard2\HEX\ATmega32\Demo.hex)
If you are using a new MCU(other than the one supplied with the KIT) then you also need to program the Fuse Bits as follows
HIGH FUSE = C9 LOW FUSE=FF from the programmer software. Go to Fuse Bits/Settings Tab in eXtreme Burner - AVR.