Archive for February 2012

Simplifying MSP430G2 Programming

I just started playing with TI’s MSP430 LaunchPad (MSP-EXP430G2) a few weeks ago and have found it surprisingly capable so far. But having to remember all those register names is not an easy task, especially if you do not use it often. So, inspired by this article (Header file brings Arduino sketches to the TI Launchpad) on Hack A Day, I decided to write a few functions that can simplify some of the more mundane tasks. Continue reading ‘Simplifying MSP430G2 Programming’ »

ATmega328 Fuse Bit Setting for 3.3V Vcc

By default, ATmega328 used in Arduino (such as Uno or Duemilanove) operates under 5.0V. Sometimes though it is necessary to use 3.3V supply voltage to accommodate peripheral circuits that cannot tolerate 5.0V. Continue reading ‘ATmega328 Fuse Bit Setting for 3.3V Vcc’ »

MSP430G2 DCO Frequencies

MSP430 LaunchPad (MSP-EXP430G2) is compatible with many of the TI‘s Value Line series of microcontrollers. For these MCUs, both the Master clock (MCLK) and the sub-main clock (SMCLK) can be driven directly by the internal DCO, without having to use an external crystal. This is very useful in situations where timing requirement is not so strict. In this blog posting, I will show you all the discrete frequencies that can be generated by only using the DCO. The charts included below will come in handy when you are designing your MSP430G2 based circuits. Continue reading ‘MSP430G2 DCO Frequencies’ »

Adding Off-Screen Buffer to Serial LCD Display

Since the current Arduino tools do not support in-circuit debugging, you will have to rely heavily on the serial print outs when tracking down those hard-to-find bugs unless you are one of those few elites whose code just works 100% every time. It is all good when you are doing your development when a computer is readily available. But what if you need to capture the outputs when you do not have the access to a computer? I found myself running into this situation quite often. Continue reading ‘Adding Off-Screen Buffer to Serial LCD Display’ »