Thursday, 19 May 2016

Python interfacing with MSP430G2


                     Python interfacing with MSP430G2

I have done an interfacing with Python with MSP430G2.
 Why python and MSP430G2?
I think MSP430G2 is one of the  best development board by TI (Texas Instruments) with ultra low power microcontroller which is have 5 low powered mode by which battery life can be extended, which is also having 16 bit RISC CPU .So it is more preferable that other MCU’s where you need less battery consumption and maximum code efficiency.
Python is easy language to start with and it can be used for many application  its supports many domains like internet protocols, web developments, Scientific and Numeric Comuting,Desktop GUI,Software development etc.,
In this project I try to read the Serial value of MSP430G2using programming language called python.
I think you are confused!
let me explain you step by step
Step1:Msp430 serial communication:
First I Wrote a small code to display the values in serial monitor as shown in the figure
My code and board is working good, I try to print the character in serial monitor



Step2: communicating with python:
Now I have to import the pyserial library in to python and need to write a small code that can catch value of that is being displayed in serial monitor.
Hurry it’s working …!


You’re always welcome to give me your valuable suggestion through comments, if you need more information regarding this please leave a comment so that I can answer you.



1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete