User Tools

Site Tools


hitechnic_angle_encoder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hitechnic_angle_encoder [2017/08/21 12:49] – created yuhanghehitechnic_angle_encoder [2017/08/28 17:25] (current) – [Motivation and Audience] yuhanghe
Line 1: Line 1:
-====== How To Write a Tutorial ======+====== LabVIEW and Hitechnic Angle Sensor ======
 <!-- Replace the above line with the name of your "How To" Tutorial e.g. How to Laser cut Your Name in Wood --> <!-- Replace the above line with the name of your "How To" Tutorial e.g. How to Laser cut Your Name in Wood -->
  
 <!-- Everywhere you see <some sentence>, replace it with the answer (be concise), and remove the < and > brackets --> <!-- Everywhere you see <some sentence>, replace it with the answer (be concise), and remove the < and > brackets -->
  
-**Author:** <Type your first and last name here> Email: <paul.oh@unlv.edu> <!-- replace with your email address -->+**Author:** Yu Hang He **Email:** <hey6@unlv.nevada.edu> <!-- replace with your email address -->
 \\ \\
-**Date:** Last modified on <MM/DD/YY>+**Date:** Last modified on <08/21/17>
 \\ \\
-**Keywords:** <Type a few key words here e.g. Tutorialhow tostep-by-step>+**Keywords:** LabVIEWNXTHitechnic Angle Sensor
 \\ \\
  
 <!-- Add a representative photo of your tutorial below.  Make it centered in the page --> <!-- Add a representative photo of your tutorial below.  Make it centered in the page -->
  
-{{ :sampleimageforwritingtutorial.jpg?200 |}}+{{ :yuhang:hitechnic_angle_encoder:angle_encoder.jpg | Hitechnic Angle Sensor}}
 \\ \\
-The photo above depicts <fill in the blank> which allows you to <fill in the blank>. The big picture problem is <fill in the blank>. Solving this partially or completely is important because <fill in the blank>. This tutorial shows you how to <fill in the blank> and takes approximately <fill in the blank> hours to complete. +The photo above depicts Hitechnic NXT Angle Sensor which allows you to measure axle rotational position and rotation speed. The Angle Sensor enables you to measure absolute angle, accumulated angle, and rotational speed. This tutorial shows you how to use LabVIEW to program Hitechnic NXT Angle Sensor and display the result on front panel and takes approximately hours to complete. 
 \\ \\
 ===== Motivation and Audience ===== ===== Motivation and Audience =====
  
-This tutorial's motivation is to <fill in the blank>Readers of this tutorial assumes the reader has the following background and interests: +This tutorial's motivation is to demonstrate how to program Hitechnic NXT Angle Sensor with LabVIEWThis tutorial assumes the reader has the following background and interests: 
  
 <fc blue>   <fc blue>  
-  * Know how to <fill in the blank> +  * Know how to program with LabVIEW. [[labview_tutorial|(LabVIEW Basic Tutorial)]]
 \\ \\
-  * Perhaps also know how to <fill in the blank>+  * Know how to operate LEGO MINDSTORMS NXT.
 \\ \\
-  * Perhaps additional background needed may include <fill in the blank>+  * Perhaps also understand how to use LabVIEW MINDSTORMS module. [[labview_nxt_tutorial|(LabVIEW and NXT)]]
 \\ \\
-  * This tutorial may also attract readers who <fill in the blank>+  * This tutorial may also attract readers who want to use LEGO MINDSTORMS for instruction purpose.
 </fc> </fc>
-\\+\\ \\ 
 The rest of this tutorial is presented as follows: The rest of this tutorial is presented as follows:
-  * [[tutorialTemplate#partsListAndSources|Parts List and Sources]] +  * [[hitechnic_angle_encoder#programming|Programming]] 
-  * [[tutorialTemplate#construction|Construction]] +  * [[hitechnic_angle_encoder#example|Example]] 
-  * Programming <!- delete this line if not applicable -> +  * [[hitechnic_angle_encoder#final_words|Final Words]]
-  * Final Words+
  
-==== Parts List and Sources ====+===== Programming =====
  
-US-based vendors to obtain material to complete this tutorial include <list relevant hyperlinks or phone numbers and addresses>. +To use LabVIEW to program Hitechnic NXT Angle Sensor, you must first installed LabVIEW module for LEGO MINDSTORMS. Follow [[labview_nxt_tutorial#installation_guide| this link]] for direction on how to install LabVIEW or the MINDSTORMS module.
-\\ +
-To complete this tutorial, you'll need the following items <!-- in table below, replace ??? with relevant information and add additional lines if necessary -->+
  
-<!-- Alternatively create: (1) a Google XLS document that's publicly viewable and provide link; and (2) a PDF version of the Google XLS, store the PDF file in your site, and provide link to it -->+To access block diagram nodes for Angle Sensor, go to ''Function Palette'' -> ''MINDSTORMS Robotics'' -> ''I/O'' -> ''Additional Sensors'' -> ''Hitechnic Sensors''
 +{{ :yuhang:hitechnic_angle_encoder:hitechnic_block_diagram.png?500 |}} 
  
-\\+To receive inputs from Angle Sensor, use the ''HT Read'' node. The ''HT Read'' node is a polymorphic VI and Angle Sensor is one instance of the node. Click on the text box below the node to browse different implementations.  
 +{{ :yuhang:hitechnic_angle_encoder:ht_read.png | HT Read}}
  
-^PART NAME/DESCRIPTION             ^VENDOR              ^VENDOR Number or URL       ^PRICE          ^QTY       ^ +HT Read have four different implementations: 
-| Smooth-on Silicone Mold Rubber   | Amazon.com         |http://www.amazon.com/Smooth-Silicone-Making-Rubber-Inc/dp/B004BNF3TK    |$23.86     | +  *''Angle''returns the rotation position of a rotating axle from 0 – 359 degrees with degree accuracy 
-| <???>        d                    | <???>              | <???>                     | <???>    <???>   | +  *''Total Angle'': returns the accumulated number of degrees an axle has rotated 
-| <???>                           | <???>              | <???>                     | <???>    <???>   | +  *''RPM'': returns the speed of the axle rotation in RPM (revolutions per minute) 
-| <???>                           | <???>              | <???>                     | <???>    <???>   | +  *''All Info'': returns all three readings in a cluster structure
-| <???>                           | <???>              | <???>                     | <???>    <???>   |+
  
-\\ +To reset the angle and accumulated angle, use the HT config node, which can be assessed under ''Hitechnic Sensors''
-<!-- Replace the URL below for your Google doc --> +\\  
-Here is the [[https://docs.google.com/spreadsheets/d/1stqow-CHNPdDxXLn5IzECWAmvXnUCEAAxjnDLSSKt2Q/edit?usp=sharing | list as a Google XLS document]] +''HT Wait For'', which is also under ''Hitechnic Sensors'' group, can also be used to interact with Angle Sensor. 
-\\ +  *''Within 1 Degree'': wait until Angle Sensor angle reading is within 1 degree of the targeted value 
-<!-- Replace the filename with your PDF that you uploaded to your DASL Wiki tutorial page --> +  *''Within 5 Degree''wait until Angle Sensor angle reading is within 5 degree of the targeted value 
-Here is the {{:tutorialtemplategooglexlssamplepdf.pdf| list as a PDF file}} +  *''Change'': wait until Angle Sensor accumulated angle is more than the targeted value
-\\+
  
-==== Construction ====+{{ :yuhang:hitechnic_angle_encoder:wait_for.png | HT Wait For}} 
 +===== Example =====
  
-This section gives step-by-step instructions along with photos to <fill in the blank>. (If circuit-building tutorial:) A schematic to construct <fill in the blank> is shown here <add image>. <Add hyperlink to PDF of schematic> is the Acrobat file of the same schematic+Here is simple example that displays the three sensor readings from Angle Sensor
-\\ + 
-\\ +{{ :yuhang:hitechnic_angle_encoder:example_block_diagram.png | Block Diagram}} 
-**Step 1** +{{ :yuhang:hitechnic_angle_encoder:front_panel_set_up.png?500 | Front Panel}}
-\\ +
-\\ +
-<Add photos to make step easier to understand> +
-\\ +
-\\ +
-**Step 2** +
-\\ +
-\\ +
-<Additional steps like **Step 3**, **Step 4**, etc> +
-\\ +
-==== Programming ====+
  
-A link to the source code can be found <provide URL to your code, probably saved in this DASL Wiki>. 
-\\ 
-The goal of the code is <brief explanation> It works in the following way 
-\\ 
----- 
-<!- Insert a snippet of your code here.  Try to keep to less than 0.5 page long --> 
----- 
-\\ 
-The snippet above serves to <fill in the blank>. It does this by <fill in the blank>. 
-\\ 
----- 
-<!- Insert another snippet of your code here.  Try to keep to less than 0.5 page long --> 
----- 
-Next, the code does <fill in the blank> It does this by <fill in the blank>.   
-<!-- Keep entering snippets of code and descriptions until you've given enough for a reader to understand how it works --> 
-// 
-// 
-==== Final Words ==== 
  
-This tutorial's objective was to <fill in the blank>. Complete <choose: construction details, source code and program descriptions> for <fill in the blank>. Once the concepts were conveyed the reader could <fill in the blank>+ 
-\\ + 
-\\ +===== Final Words ===== 
-Speculating future work derived from this tutorial, includes <fill in the blank>. In the big picture, the problem of <fill in the blank> can be solved with this tutorial.+ 
 +This tutorial's objective was to demonstrate how to use LabVIEW to program HiTechnic Angle Sensor. Once the concepts were conveyed the reader could use LabVIEW module for Lego MINDSTORM to program NXT and HiTechnic Angle Sensor.
 \\ \\
 \\ \\
-For questions, clarifications, etc, Email: <paul.oh@unlv.edu> +For questions, clarifications, etc, Email: <hey6@unlv.nevada.edu> 
  
  
hitechnic_angle_encoder.1503344993.txt.gz · Last modified: 2017/08/21 12:49 by yuhanghe