Tilt Sensor for myRIO by Darin Kinion Turn Your myRIO Into a Level Instrument

  • Display the y-axis tilt of the myRIO device using the onboard LEDs
  • Demonstrate the concept of PWM to control LED brightness
  • Match the tilt value in multiple locations with configurable level point
  • Turn myRIO into a wireless bubble level with display on host VI
  • Take advantage of simple FPGA code
  • Download
The Tilt Sensor for myRIO by Darin Kinion uses the built-in accelerometers of myRIO to re-create an old-fashioned bubble level. By using the myRIO wireless or USB connectivity, you can monitor the current tilt on a host computer and display it in an XY graph, for example, to achieve precise leveling.

A host computer is not required, though; PWM is used to individually control the brightness of the four onboard LEDs in a display that mimics an old bubble. The LEDs dim and brighten as the tilt changes. When the middle two (LED1 and LED2) are evenly lit and the outer two (LED0 and LED3) are off, the unit is level along the chosen axis. This app is educational and the provided FPGA code is simple. The accelerometer and PWM capabilities offer an approachable introduction to the sometimes complex world of FPGA coding.

Support Information
This add-on software requires LabVIEW software installed with myRIO hardware and software.

This software is provided and supported by Darin Kinion and not by NI. For technical support, email Darin Kinion at darin@alum.mit.edu.

For additional support options with this add-on software, view “myRIO Software Requirements Documentation” and “myRIO Forum” under the Resources tab.

Disclaimer: The Third-Party Add-Ons for LabVIEW on this page are offered by independent third-party providers who are solely responsible for such products. NI shall have no responsibility whatsoever for the performance of the Third-Party Add-Ons. The sale of these Third-Party Add-Ons is subject to the Terms and Conditions of Sale of the third-party provider. For important information regarding the sale of Third-Party Add-Ons and application Terms and Conditions of Sale, refer to ni.com/tpp.

Reviews are typically processed within 48 hours. If you believe a review is incorrect or inappropriate, please report abuse to ratings@ni.com
Verified Reviewers have submitted an email address to RateVoice.com

IMPORTANT INFORMATION: You are being directed to a third party web site operated by RateVoice to submit your rating and/or review. You agree that the RateVoice Terms of Use apply to your access of, and submissions to, the RateVoice site. In addition, you agree that the "User Contributions" and "Your Conduct" sections of the NI web site Terms of Use apply with respect to your rating and review related conduct and submissions as if the term "Site" in those sections also referred to the RateVoice web site. Please remember that any information (including personal information) that you disclose in connection with ratings and/or reviews may become public information that others may collect, circulate, and use. Because NI cannot and does not control the acts of others, you should exercise caution when deciding to disclose information about yourself or others in public forums such as these.