Logic Gadgets: Angle Sensor

 

Icon
Name of gadget Angle Sensor
Section Sensors & Input
Number of Tweak pages 2
Author LadylexUK, QuietlyWrong
Last updated 20 Feb 2019 [Beta]

Description

This gadget detects if the attached object position is within a predefined angle range. You could use this to determine if a door was open or closed for example. The cone is the angle range, the pointer is the direction and the rod is the objects angle. If the rod is within the cone a positive signal is sent.

Example Tutorial (from Media Molecule)

  1. Stamp a cube.
  2. Snap an angle sensor to the cube.
  3. Snap a rotator to your cube.
  4. Grab a light and make it shine down on the cube
  5. Tweak the angle sensor and connect angle range met to the power port on the light. Leave the tweak menu open
  6. Use start time.
  7. When the rod enters the cone the light comes on.

Tweak Menus

Tweak Menu 1: Important properties & I/O
  1. Tweak menu page 1: Important Properties & I/O
  2. Angle Range to Detect
    2a. Input
    2b. Output
  3. Angle Range Falloff
    3a. Input
    3b. Output
  4. Angle Range Met
    4b Output
  5. Relative To Object
  6. Power
  1. Menu page indicator
  2. Angle Range to Detect
    Here you can control the angle range over which to detect, in combination with the orientation pointers over the object itself
  3. Angle Range Falloff
    Here you can define a falloff range over which a partial signal might be produced when the object is close to the desired angle
  4. Angle Range Met
    This is the main output to indicate whether the required angle has been met. When fully on, the angle is being met. A partial signal indicates that the angle is within the falloff zone
  5. Relative To Object
    Use this to indicate whether the angle range is relative to an object [TBA]
  6. Power
    This is where you turn the gadget on/off
Tweak Menu 2: Miscellaneous
  1. Tweak menu page 2: Miscellaneous
  2. Sense Angle
    2a. Input
  3. Orientation
    3b Output
  4. Power
  1. Menu page indicator
  2. Sense Angle
    Connect a wire from this input to the object that you want to test for rotation angle. Alternatively, if you snap the gadget to an object, or to a microchip snapped on the object, that object defaults to being the one tested
  3. Orientation
    This outputs a fat wire carrying the angular orientation of the object in all three axes
  4. Power
    This is where you turn the gadget on/off

Lex Tips

Useful Tutorials

Comments and Feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: