Category Archives: Projects

Fun with Launchpad: Read Pulse Widths Using Interrupts

Print Friendly, PDF & Email

Small code to read pulse widths of square waves using interrupts.Uses hardware UART module for serial communication and interrupt on P2.0. Connect incoming signal on P2.0  Serial functions are borrowed from Nathan Zimmerman hardware UART example. Hardware :TI MSP430G2 Launchpad … Continue reading

Posted in DIY, Electronics, MSP-GCC, MSP430, Projects | Tagged , , , , , , , , | 15 Comments

Fun with Timers : Decoding an Sony SIRC protocol on TI Launchpad MSP-EXP430G2

Print Friendly, PDF & Email

This post is one of those which have resulted out of my self learning . Over the time I have become fairly conversant with Arduino (ATMega type)  and PIC  and hence  I decided to take the plunge into the world … Continue reading

Posted in Arduino, Default, DIY, MSP-GCC, MSP430, Programming, Projects | Tagged , , , , , , , , , , | Leave a comment

Fun with TI Launchpad : Read LM35 sensor using Launchpad MSP430G2 (MSP430G2553)

Print Friendly, PDF & Email

Small code to read temperature from an LM35 sensor and output the temperature to Serial port. Uses hardware UART module and ADC 10 on launchpad.I do not claim originality for this code.  Serial functions are borrowed from Nathan Zimmerman hardware UART … Continue reading

Posted in DIY, Electronics, MSP-GCC, MSP430, Projects | Tagged , , , , , , | 42 Comments

Arduino NTP Client using EtherShield library

Print Friendly, PDF & Email

This code is snippet of a larger project I am working on. The project requires time synchronization so I decided to use NTP to retrieve time from server as the project hardware (Arduino ATMega328 board + ENC28J60 based shield) already … Continue reading

Posted in Arduino, Arduino, Projects | Tagged , , , , , , | 65 Comments

Simple Python Script To Mimic APC UPS

Print Friendly, PDF & Email

Just written this script to simulate a APC SMART UPS for one of my ongoing projects. #! /usr/bin/env python “””\ The purpose of this program is to simulate an APC UPS It will respond to only ‘basic’ UPS commands Presently … Continue reading

Posted in DIY, Electronics, PIC, Projects, Python | Tagged , , , , , , | Leave a comment