Getting Started with MPLAB Xpress Board and Online IDE

Microchip launched MPLAB Xpress online IDE and board earlier this year, and as part of the launch they offered 2,000 free boards. I joined the program and received my board. The keyword for the board is “Xpress”, as you should be able to get started in mere minutes thanks to the operating system agnostic online IDE that works with Internet Explorer, Firefox, Chrome, and Safari. That also means you don’t need to install any other tool. All you need is a web browser.

MPLAB Xpress Board

Let’s start by quickly checking out the package, board, and offline documentation.

MPLAB_Xpress_packageOnce you open the package, you’ll get the board, a folded sheet of paper for the schematics, and some information on the package itself with the pinout diagram, and a quick start guide explaining that the board acts as a mass storage device, and all you need is a web browser for programming it.

Click to Enlarge
Click to Enlarge

The part has two parts: “Application” and “Programmer”. The latter features the micro USB port, and the eleectronics to handle the USB connection with a PC. There’s also a 2-pin header to power the board with a battery. The application part comes with a mikroBUS socket to be used with MikroElektrona’s Click boards, two rows of through holes on the sides with GPIOs, SPI, I2C, UART, PWM, and analog input pins, a potentiometer, a user button, and Microchip PIC16F18855 MCU.

Click to Enlarge
Click to Enlarge

There’s not much to see on bottom of the board.

Click to Enlarge
Click to Enlarge

Getting Started with MPLAB Xpress

I had to find a commonly used micro USB to USB cable to connect the board to my computer. I’m using Ubuntu 14.04 and Firefox, but most operating systems and web browser combination should work.

The board four RED LEDs are blinking in sequence, and it is indeed detected as a mass storage device with a single file README.HTM. Clicking on the file will open your default web browser and redirect to the MPLAB Xpress page @ I scrolled down to the bottom of the age, and clicked on Examples in the Community section.

Click to Enlarge

You’ll get a list of code example for Xpress and Curiosity boards made by either Microchip themselves or the developer community. I filtered the results for Xpress board and Microchip, and clicked on Open for LED brightness control using potentiometer example, which started the online IDE with the sample program:

The code is written in C, and is pretty simple, as all complex initialization tasks are handled by the “SYSTEM_Initialize” function:

I then clicked on the Build icon right above “main.c”, and shortly after I was asked to download “LED_brightness_control_using_potentiometer.hex”.

Click to Enlarge

Finally I copied the binary to the board, just like I would coy a file to a USB flash drive.

MPLAB_Express_Hex_FileThe program is then automatically started with the four red LEDs on, and I was able to dim and turn on and off the LEDs with the potentiometer.

MPLAB_Xpress_Potentiometer_LED_demoIt must have taken me about 5 minutes from the time I open the package to the time I have the demo running. Quite impressive in simplicity.

It’s also possible to play with MPLAB Xpress IDE without board using the “Test Drive” option. The board is not for sale yet, but if you are interested, you can apply for an introductory discount to buy the board when it becomes available on microCHIP direct store.

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Weller PCB manufacturer