ElecFreaks
Octopus Tilt Sensor
Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may co...
Get notified when back in stock
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.
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.
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:
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.
Jargon buster
Plain-language definitions for the technical terms used above.
- DC
- DC means direct current, where electricity flows in one constant direction, as supplied by batteries, USB ports and many plug-pack power supplies. When a product specifies DC, it runs from a DC supply rather than mains AC, so you need to provide the correct voltage and polarity.
- GND
- GND is the ground or reference connection (0 V) for a circuit. When connecting two devices together, their grounds must be joined so both agree on what counts as a low or high signal.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- Shield
- An add-on board that plugs into a main controller board to give it extra features such as sensing, motor control or communication. Knowing a product supports shields helps you judge whether it can connect neatly into an existing maker-board setup.
- UART
- UART is a simple asynchronous serial interface that sends data over separate transmit and receive wires, usually labelled TX and RX, with both ends set to the same baud rate. It is a common way for microcontrollers and other serial devices to exchange data.
- VCC
- VCC is the positive power-supply connection on a chip or module. Connecting it to the correct supply voltage is needed for the part to power on and helps avoid damaging the electronics.
Find this product in
Sensors & Input
Related Tutorials
Free guides on learn.littlebird.com.au