{"title":"Octopus Tilt Sensor","handle":"octopus-tilt-sensor","url":"/products/octopus-tilt-sensor","description":"\n     Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may connect Arduino/Freaduino compatible boards easily with various digital, analog and I2C/Uart interfaces. These the breadboard-less firm connection are prepared to extensive modules like poteniometers, sensors, relays, servos...even buttons, just plug and play.&nbsp; Octopus Tilt Sensor is a sensor based on tilt switch,used together with Arduino specific sensor shield for the measurement of object angle. Three pins electronic building blocks interface: input 5V - GND. S for the detection pin.&nbsp; Feature Operating voltage:DC 5.0V Power supply needs: 5V Interface type: Analog Pin Definition: 1-Signal 2-VCC 3-GND Fast response and High sensitivity Simple drive circuit Stable and long life  Package Quick Start Hardware Connection Connect this tilt sensor to P1 port on OCTOPUS:BIT.  Programming Code You can see the whole program from the link here. Result Rotate the sensor, micro:bit will display a heart or rectangle separately under different status. Resources: Schematics Please visit the ElecFreaks wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials.&nbsp; \n\n","vendor":"ElecFreaks","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":4617,"title":"Default Title","sku":"EF-EF04001","price":5.58,"on_sale":false,"in_stock":true,"available_quantity":100,"option1":"Default Title"}]}