Home Blog Page 10

micro:bit and MCP9808 digital temperature sensor example

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...

2 I2C scanner examples for the micro:bit

The micro:bit has 2 I2C devices the  accelerometer and magnetometer. the address of the devices are as follows Device I2C Address Accelerometer 0x1D Magnetometer (compass) 0x0E Now you can also connect I2C...

Arduino and the micro:bit onboard 3-axis accelerometer

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...

Use the micro:bit magnetometer with the Arduino IDE

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...

Program your micro:bit with the Arduino IDE

You can now use the Arduino IDE to develop and program your Micro:Bit, in my view thats a good thing to add this support...

Microbit using the accelerometer in the block editor

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...

Microbit touch example using block editor

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...

Microbit and Espruino firmware

I bought an Espruino board  while back because it allowed you to code in JavaScript using a neat chrome add on - a web...

Microbit RGB led using C Plus Plus

We will look at how you can use C++ to write programs for your Micro:bit, there is an online compiler you use and we...

force sensitive resistor example

A force-sensing resistor is a material whose resistance changes when a force or pressure is applied. Force-sensing resistors consist of a conductive polymer, which changes...