Maris 3 Posted December 13, 2010 Share Posted December 13, 2010 Hello there, I'm new here and this is my first Launchpad project. May I apply for project of the moth contest? (BTW this is cool idea as those kind of things always help to find motivation to describe what you did not just stop when you see everything is working) I recently bought digital caliper and decided to try to read it's data port readings from my Launchpad. One of uses would be to use caliper for precise position sensor if 8Hz updates are enough. It had Clock and Data pin. Had to setup pin that connects to Clock to trigger interrup on every pulse and then in interrupt function do bit shifting to assemble 16 bit signed integer representing caliper reading. Then sent it out to PC via soft UART serial port. For that I reused examples from well known blog at http://www.msp430launchpad.com/. Also I had to figure out how to connect calipers lines to MSP430 as caliper is using 1.5V levels where MSP430 +3V levels. Used two transistors and two resistors and breadboard to amplify levels. Schematics: Also took caliper apart just to find out what principle is used to sense position changes: You can find full source code and detailed explanation in article I worte: http://robocombo.blogspot.com/2010/12/using-tis-launchpad-to-interface.html Let me know if you have any questions or suggestions! tingo, bluehash and NJC 3 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.