# data[].attributes.headline
Music and light show (LED strip required)

# data[].attributes.subject
Music and light show (LED strip required)

# data[].attributes.attachment_link.title
 Adam Hill | STEM Teacher & Consultant on Instagram: "Y3 kids made it but I’ll take the credit for the song choice! Uptown Funk works great for this!

The LED strip is controlled by a micro:bit. It’s coded to adjust the brightness based on the volume. Pretty simple but such a cool light show effect!

The students did an amazing job! I’ll share some more of their creations over the next few days!

#vpasz #microbit #stemteacher #stemforkids #stemeducation #stem #codingforkids #codingforbeginners #steameducation #makereducation #makermovement"

# data[].attributes.attachment_link.description
30 likes, 2 comments - adamhilledu on May 18, 2023: "Y3 kids made it but I’ll take the credit for the song choice! Uptown Funk works great for this!

The LED strip is controlled by a micro...". 

# data[].attributes.attachment_link.embed_code
View this post on Instagram

A post shared by Adam Hill | STEM Teacher & Consultant (@adamhilledu)

# data[].attributes.wish_content.attachment_props.text
Year 6 have loved using the bbc microbits to measure the surface temperatures of natural and manmade surfaces in the school playground as part of the bbc micro:bit playground survey @microbit_edu with the @ONS #marklandhillcomputing

# data[].attributes.wish_content.attachment_props.original_text
Year 6 have loved using the bbc microbits to measure the surface temperatures of natural and manmade surfaces in the school playground as part of the bbc micro:bit playground survey @microbit_edu with the @ONS #marklandhillcomputing https://t.co/iHokO2fcfq

# data[].attributes.attachment_link.embed_code
Year 6 have loved using the bbc microbits to measure the surface temperatures of natural and manmade surfaces in the school playground as part of the bbc micro:bit playground survey @microbit_edu with the @ONS #marklandhillcomputing pic.twitter.com/iHokO2fcfq
— Markland Hill School (@MarklandHill) April 24, 2024

# data[].attributes.attachment_link.metadata.attachment_props_source.data.text
Year 6 have loved using the bbc microbits to measure the surface temperatures of natural and manmade surfaces in the school playground as part of the bbc micro:bit playground survey @microbit_edu with the @ONS #marklandhillcomputing https://t.co/iHokO2fcfq

# data[].attributes.attachment_link.metadata.attachment_props.original_text
Year 6 have loved using the bbc microbits to measure the surface temperatures of natural and manmade surfaces in the school playground as part of the bbc micro:bit playground survey @microbit_edu with the @ONS #marklandhillcomputing https://t.co/iHokO2fcfq

# data[].attributes.attachment_link.metadata.attachment_props.text
Year 6 have loved using the bbc microbits to measure the surface temperatures of natural and manmade surfaces in the school playground as part of the bbc micro:bit playground survey @microbit_edu with the @ONS #marklandhillcomputing

# data[].attributes.wish_content.attachment_props.text
Students created their very own compasses using @microbit_edu. They are learning about navigation and exploration in UOI and compass points in maths, so this pulled it all together nicely. Big thanks to @mrkpyp for his help! #VSAHKG #WhereWeAreInPlaceAndTime #Maths

# data[].attributes.wish_content.attachment_props.original_text
Students created their very own compasses using @microbit_edu. They are learning about navigation and exploration in UOI and compass points in maths, so this pulled it all together nicely. Big thanks to @mrkpyp for his help! #VSAHKG #WhereWeAreInPlaceAndTime #Maths https://t.co/lTGvsI6DnT

# data[].attributes.attachment_link.embed_code
Students created their very own compasses using @microbit_edu. They are learning about navigation and exploration in UOI and compass points in maths, so this pulled it all together nicely. Big thanks to @mrkpyp for his help! #VSAHKG #WhereWeAreInPlaceAndTime #Maths pic.twitter.com/lTGvsI6DnT
— Adam Hill (@AdamHillEDU) April 15, 2021

# data[].attributes.attachment_link.metadata.attachment_props_source.data.text
Students created their very own compasses using @microbit_edu. They are learning about navigation and exploration in UOI and compass points in maths, so this pulled it all together nicely. Big thanks to @mrkpyp for his help! #VSAHKG #WhereWeAreInPlaceAndTime #Maths https://t.co/lTGvsI6DnT

# data[].attributes.attachment_link.metadata.attachment_props.original_text
Students created their very own compasses using @microbit_edu. They are learning about navigation and exploration in UOI and compass points in maths, so this pulled it all together nicely. Big thanks to @mrkpyp for his help! #VSAHKG #WhereWeAreInPlaceAndTime #Maths https://t.co/lTGvsI6DnT

# data[].attributes.attachment_link.metadata.attachment_props.text
Students created their very own compasses using @microbit_edu. They are learning about navigation and exploration in UOI and compass points in maths, so this pulled it all together nicely. Big thanks to @mrkpyp for his help! #VSAHKG #WhereWeAreInPlaceAndTime #Maths

# data[].attributes.attachment_link.readable_text
Step 1: Make it

What is it?

Turn your BBC micro:bit into a step counter (or pedometer) to help you track how active you are - and learn some coding at the same time!

These two videos show you what you'll make and how to code it:

How it works

Download the code onto a micro:bit and attach a battery pack.

Attach the micro:bit and battery pack to your shoe or ankle, place it inside your sock, or just hold it in your hand and shake it as you walk.

The code uses the micro:bit's accelerometer sensor input to sense when your leg is moving.

The code counts how many times the micro:bit has been shaken. It stores this number in a variable called 'steps'.

Variables are containers for storing data, which can be accessed and updated while a program is running.

Every time the micro:bit accelerometer input senses a shake, the program increases the number held in the variable by 1, and shows the new number on the LED display output.

What you need

micro:bit (or MakeCode simulator)

MakeCode or Python editor

battery pack

something to attach the micro:bit to your shoe or leg - elastic band, a pipe cleaner, tape or Velcro.

Step 2: Code it

Step 3: Improve it

Modify the code so it shows your current step count when you press a button.

If you find that the code only counts every other step, modify the code to multiply the 'steps' variable by two when it's displayed.

Measure the length of your average stride and get your micro:bit to multiply this by the number of steps to calculate the distance you've walked.

You may also like

# data[].attributes.attachment_link.description
Use the micro:bit's accelerometer to make a step counter or activity tracker.

# data[].attributes.headline
Radio Controlled Crane (Strawbees required)

# data[].attributes.subject
Radio Controlled Crane (Strawbees required)

# data[].attributes.attachment_link.embed_code
@microbit_edu and @strawbees combined to make a super fun STEM day! This group’s invention to clean up trash in the ocean is coming among! Working to DoOurBit and meet the UN Global Goals! pic.twitter.com/tJ5HgRRT9V
— Annie Korb (@anniekorb_ITC) May 5, 2023