User Tools

Site Tools


hitechnic_angle_encoder

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hitechnic_angle_encoder [2017/08/21 13:16]
yuhanghe [Motivation and Audience]
hitechnic_angle_encoder [2017/08/28 17:25] (current)
yuhanghe [Motivation and Audience]
Line 32: Line 32:
 \\ \\  \\ \\ 
 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 
-| <???> ​        ​d ​                  | <???> ​             | <???> ​                    | <???> ​  ​| ​ <???> ​  | +  ​*''​RPM'':​ returns the speed of the axle rotation in RPM (revolutions per minute) 
-| <???> ​        ​d ​                  | <???> ​             | <???> ​                    | <???> ​  ​| ​ <???> ​  | +  ​*''​All Info'':​ returns all three readings in a cluster structure
-| <???> ​        ​d ​                  | <???> ​             | <???> ​                    | <???> ​  ​| ​ <???> ​  |+
  
-\\ +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.
-\\ +
-\\ +
-**Step 1** +
-\\ +
-\\ +
-<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>+{{ :​yuhang:​hitechnic_angle_encoder:​example_block_diagram.png | Block Diagram}} 
-\\ +{{ :​yuhang:​hitechnic_angle_encoder:​front_panel_set_up.png?500 | Front Panel}}
-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>​. + 
-\\ + 
-\\ + 
-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.+===== Final Words ===== 
 + 
 +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.1503346577.txt.gz · Last modified: 2017/08/21 13:16 by yuhanghe