Author: shedboy71
This bmp180 from Bosch is the best low-cost sensing solution for measuring barometric pressure and temperature. The sensor is soldered onto a PCB with a 3.3V regulator, I2C level shifter.
MCP9808 digital temperature sensor example using the Arduino IDE The MCP9808 digital temperature sensor converts temperatures between -20°C and +100°C to a digital word with ±0.5°C (max.) accuracy. The MCP9808.
The MMA8653FC is an intelligent, low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution. This accelerometer is packed with embedded functions with flexible user-programmable options, configurable to two interrupt.
Freescale’s MAG3110 is a small, low-power, digital 3-axis magnetometer. The device can be used in conjunction with a 3-axis accelerometer to realize an orientation independent electronic compass that can provide.
In this next example using the block editor we will use the accelerometer that is on the Micro:bit board to detect when the micro:bit is being shaken, if it is.
The pins on your Micro:bit that are labelled 0, 1 and 2 can be used as touch inputs. To do this you need to touch the ground pin with one.