For your NXT or EV3
Sensors
Accelerometer, Compass & Gyro
Motor Multiplexers & Controllers
Wireless Control
Sensor Adapters & Multiplexers
RC Servos, Mountings & Pneumatics

Sensor Kits
Flexi-Cables & Cable Extenders
Classroom packs of Flexi-Cables
Plugs and Connectors
Power Options
Other Robotics accessories

EV3 Console Adapter
EV3 Sensor Adapter for NXT or Arduino
EV3 Compatibility Info

Android App for NXT/EV3

Arduino Products
Shields and Controllers

Raspberry Pi Products
For your Raspberry Pi

Connect with us
Google+
Shopping Cart
Your cart is empty.

Ordering Information
Our Distributors
World Wide Shipping
How to Order and Pay
Paying by Credit Card
Your satisfaction is important to us
About mindsensors.com
Site Map

Yondering ...
Forums
FAQ
Videos
Coming Soon ...
End of Life Products
Robotics related Links

Downloads
NXT Product Docs and Software
User Guides
EV3 Blocks
API's and Sample Programs
NXT-G Blocks
All Downloads

EV3 Programming Environment
Which Programming Environment do you prefer for EV3?
EV3 Home Edition
EV3 Edu Edition
LeJOS
MonoBrick
RobotC
ev3dev
Other



[View Result]

Votes: 1225
Translate this site
Translate this site: (Courtesy of Google™)
Search Web Pages



Need Quote for your School?
Write e-mail to:
info
Need Technical Support?
Write e-mail to:
support
Note your order number in the support request.
You can find order number on your Packing-slip or Order confirmation e-mail.


Proud Supporter of:
Robofest


Trinity College Fire Fighting Robot Contest.

Contact:
E-mail:
info
Address:
mindsensors.com

8623 Mayland Drive
Henrico, VA 23294-4703 USA.
Phone: (804) 767-8116
Fax: (804) 747-5303
Official PayPal Seal
Binary tilt sensor (BTILT) v2
Features
BTILT-s

Binary tilt sensor detects tilt on left or right side. It also detects no No Tilt position. This is very useful when a Smart robot truck is toppled down and needs to begin efforts to restore on its own, or specifically when one needs to determine the angle of the crane liftarm.
BTILT shows reading of 50% when there is no tilt. For tilts higher than +50 degree (right side of vertical) it shows reading of 100% and for -50 degree (Tilt on Left side of vertical) it indicates reading of 0%. Please note that BTILT only provides binary values. On RCX, configure this sensor as simple light sensor.

This sensor will work with NXT as light sensor attached using converter cables supplied with MINDSTORMS Education NXT set.
How to use on RCX

Use this sensor as a 'Light Sensor' on RCX.
Connect using LEGO wires at the 4 holes on the sensor.

Sensor readings:
ReadingState
50Sensor is level with the Plumb line
0Sensor tilted to left of the Plumb line
100Sensor tilted to right of the Plumb line

Note: BTILT only provides binary values.
NQC Program for BTILT
NQC
// Motor A--- Left motor 
// Motor B--- Right motor 
task check() 
{ 
  while(true) 
  { 
  if(SENSOR_2 >60) 
  { 
    //YOUR task for Right Tilt 
  } 
  if(SENSOR_2 <35) 
  {
    //YOUR task for Left tilt 
  } 
  }
} 
task main() 
{ 
  SetSensorType(SENSOR_2, SENSOR_TYPE_LIGHT); 
  SetSensorMode(SENSOR_2, SENSOR_MODE_PERCENT); 
  OnFwd(OUT_A); 
  OnFwd(OUT_C); 
  start check; 
}