Thursday, May 03, 2018

A DIY Ecosystem for Learning Microcontrollers and Physical Computing

Microcontrollers are central elements in modern electronics as embedded computers. Most vendors offer many inexpensive evaluation platforms to showcase their microcontroller products. Typically such platforms (Arduino, MSP430 LaunchPad etc) fall short on the aspect of sensors and other digital I/O peripherals.

We set out to design a DIY-able sensors and peripherals board that anyone with access to simple PCB fabrication facilities, can recreate and further the task of learning about microcontroller programming and physical computing.

While Arduino remains a popular microcontroller learning platform, MSP430 which is a popular, capable and formidable microcontroller from Texas Instruments lacks an inexpensive learning platform. TI's MSP430 Launchpad  sells for about Rs. 1200 in India and can be prohibitive for some.

MSP430 LunchBox

To address the cost issue with an introductory MSP430 learning platform, we created the MSP430 LunchBox.  

MSP430 LunchBox is an inexpensive MSP430 learning platform that can be fabricated for personal use for under Rs. 100. The LunchBox board supports any 14-pin or 20-pin DIP package MSP430 G series microcontroller, which a hobbyist can obtain for free through the TexasInstruments’ free samples programme. The entire bill of material for the board, excluding the microcontroller, is under Rs. 100. The PCB has been designed in a single sided, toner transfer friendly format, allowing enthusiasts to fabricate one, at little or no cost. The photograph below shows the early lab prototype of the LunchBox.

The PCB board files used to fabricate the lab version of the PCB as seen above can also be mass manufactured for a more professional experience. The photograph below shows such a professionally manufactured board.

The table below lists the salient features of the LunchBox.

MSP430 LunchBox
MSP430G2553 & others
CPU Architecture
Operating Voltage
Operating Clock
10 kHz to 16 MHz
Operating Current
4.5 mA @ 16 MHz
Factory UART BSL
Not supported
Supported IDEs
CCS, Energia
Available I/Os
Analog Inputs
PWM Outputs
1 LED, 1 Switch, UART
Rs. 100/-

Sensors and Peripherals Board

Like the Arduino or the MSP430 Launchpad, the LunchBox too is devoid of any serious sensors or user peripherals. So,  to enrich the learning experience, we  developed two simple and inexpensive I/O expansion boards, the Mini-Voyager-1 and Mini-Voyager-2. As with the LunchBox, the Mini-Voyagers are also a single sided PCBs that can be fabricated at home or lab. The following tables list the salient features of both the Mini-Voyagers.

A single RGB LED
LED Display
4-digit Seven Segment Display
User Input
5-switch Navigation Switch

Capacitive Touch Input
Pulse Wave
IC 7555 based adjustable astable multivibrator

16x2 LCD with Backlight Control switch
Single Pushbutton
4x4 Keypad
PCF8563 RTC with I2C and with Battery backup
Serial Bus
Shift Register with SPI Bus

RTC with I2C Interface

The photograph below shows both the Mini-Voyagers in the company of the MSP430 LunchBox.

Using LunchBox with Mini-Voyagers

To use the LunchBox together with Mini-Voyager-1 and/or Mini-Voyager-2 is as easy as 1-2-3.
1.     Write code in IDE.
2.     Connect the required peripherals from MV-1 or MV-2 to the LunchBox pins using male header pins provided on the board. 

3.     Connect the supply voltage of either 3.3 V or 5 V using male header pins provided on the LunchBox (other microcontroller platforms that work at 3.3V such as MSP430, MSP432, TIVA ARM as well as the BeagleBoneBlack can be used as easily. Microcontrollers that work at 5V can also be used with Mini-Voyagers.).
4.     Power the LunchBox using a USB mini cable.
5.     Upload the code. 

The photograph below shows LunchBox and Mini-Voyager-1 in action. More than 50 experiments and small projects can be performed using this ecosystem.

During a recent event, we had 10s of students solder, test and use the LunchBoxes and Mini-Voyager-1!

The LunchBox and the Mini-Voyager platforms have been developed at CEDT and TI-CEPD at NSIT. For more details, contact


Post a Comment

Links to this post:

Create a Link

<< Home