Things used in this project

Hardware components:
Calliope mini
×1
Microbitheart
micro:bit BBC micro:bit board
×1

Code

parking sensorJavaScript
senses strength of magnetic field and transmits it via RF to another Calliope mini
let Platzhalter = 0
radio.onDataPacketReceived(({receivedNumber}) => {
    basic.showString("r:")
    basic.showNumber(receivedNumber)
})
input.onButtonPressed(Button.A, () => {
    for (let i = 0; i < 100; i++) {
        Platzhalter = input.magneticForce(
            Dimension.Strength
        )
        radio.sendNumber(Platzhalter)
        basic.showString("s:")
        basic.showNumber(Platzhalter)
        basic.pause(2000)
    }
})

Credits

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Make Your BBC Micro:Bit Talk Using MicroPython
Easy
  • 242
  • 8

Protip

Today, I am going to show you how to make your Micro:bit talk using a very easy programming language called MicroPython.

Display Your Name On Micro-Bit Using MicroPython
Easy
  • 266
  • 6

Full instructions

In this tutorial, I am going to show you how to code BBC micro:bit using MicroPython to display your name and other basic symbols.

Bikeyface Emoji Taillight
Easy
  • 378
  • 10

Full instructions

Express yourself with your bike lights!

Lumos! NeoPixel Meets Micro:bit Meets Magic
Easy
  • 197
  • 0

Full instructions

Some geeky wand enhancement for all those Harry Potter lovers out there. Illuminate your wand.

BBC micro:bit + Blynk Smartphone App + Arduino IDE
Easy
  • 198
  • 2

Protip

Don't let your BBC micro:bit collect dust! Here is how to use it with Blynk and Arduino IDE.

magic button trick
Easy
  • 165
  • 4

Full instructions

Build a magic trick to amaze your friends that uses the micro:bit’s compass to detect a nearby magnet!

magic button trick

Team micromonsters

Add projectSign up / LoginAbout BBC micro:bit