# data[].attributes.attachment_link.title
What is TrashBot_ Sorting Waste with Artificial Intelligence & Robotics.mp4

# data[].attributes.attachment_link.title
automated waste  sorting machine  RFID.mp4

# data[].attributes.body
Why might this have happened?

Can you think of a solution to problems like this?

How does this negatively impact:

1) The people of South Africa?

2) The environment?

# data[].attributes.body
Watch this video to see some of the real-life delivery vehicles already at work around the world... (You do not need to watch the entire video).

# data[].attributes.attachment_link.title
Delivery Robots! (See Amazon and FedEx's future helpers)_trimmed.mp4

# data[].attributes.body
How Smart Cities Can Help:

Smart cities are places where technology helps make things better. In South Africa, making smart cities could help deal with the electricity problem. Here's how:

1. Smart Street Lights:

Smart street lights can change how bright they are depending on how dark it is, so they use less electricity. We could also program them to turn on only when they sense movement.

2. Smart Traffic Lights:

Smart traffic lights can change how long they stay red or green based on how many cars are on the road, which helps traffic flow better. Smart traffic lights improve overall traffic efficiency, leading to fuel savings and reduced carbon emissions into the atmosphere.

3. Smart Autonomous Delivery Robots:

These are robots that can deliver packages without needing a person to control them. They can move around by themselves, delivering things without adding more cars to the roads.

Why Smart Cities Are Awesome:

Save Electricity: Smart cities use less electricity, which helps when there isn't enough to go around.

Help the Environment: Using less electricity and having fewer cars on the road means less pollution, which is good for nature.

Make Life Easier: Smart cities can make traffic better and make sure we have electricity when we need it.

Create Jobs: Making and running smart city technology can create new jobs for people.

# data[].attributes.headline
Traffic Lights & The Microbit (Watch me)

# data[].attributes.subject
Traffic Lights & The Microbit (Watch me)

# data[].attributes.attachment_link.title
Kitronik traffic light and micro_bit.mp4

# data[].attributes.headline
Fix the broken traffic light (Tinkercad)

# data[].attributes.subject
Fix the broken traffic light (Tinkercad)

# data[].attributes.attachment_link.title
Circuit design CODING WORKSHOP - Microbit traffic light - Simple | Tinkercad

# data[].attributes.attachment_link.description
Circuit design CODING WORKSHOP - Microbit traffic light - Simple

# data[].attributes.body
When you start the simulation, turn the brightness down (this will simulate the sun setting/it getting dark). Notice what happens to the red lights on the Microbit...

# data[].attributes.body
Fix the code and turn on the lights!

# data[].attributes.attachment_link.title
Circuit design CODING WORKSHOP - Auto Street Lights - Darkness trigger ONLY | Tinkercad

# data[].attributes.attachment_link.description
Circuit design CODING WORKSHOP - Auto Street Lights - Darkness trigger ONLY

# data[].attributes.body
Fix and download the code onto a Microbit to get the traffic lights working again!

# data[].attributes.attachment_link.title
CODING WORKSHOP - Traffic Light - Simple

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.

# data[].attributes.body
Pupils will need to program the Sphero (smart delivery vehicle) so that it will drive to 3 locations on the map (along the road) - try to find the best route possible... Sphero must start from a specific location (The Post Office), travel at a certain speed (+-20), stop at each location, state what it is dropping off (Speak Function) (turn red while stopped), and turn green and stay green while moving.

Below you will find the location and what package needs to be delivered to that location.

Post office (Starting Location)

Joe's Garage - New Torque Wrench (tool)

Bank - Money Deposit Slips

Supermarket - A new cash register

Post Office (Return here when done)

# data[].attributes.headline
Smart Street Lights - Darkness Trigger - Microbit

# data[].attributes.subject
Smart Street Lights - Darkness Trigger - Microbit

# data[].attributes.body
Open this link and fix the code so that the Street Lights Will Start Working Again. These lights will turn on when it is dark outside. Download the code onto the Microbit, add the lights and wires and test it out!

# data[].attributes.attachment_link.title
CODING WORKSHOP - Automatic street lights - Darkness Trigger - Answers

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.

# data[].attributes.headline
TINKERCAD - Smart Street Lights with Sensor

# data[].attributes.subject
TINKERCAD - Smart Street Lights with Sensor

# data[].attributes.body
Challenge yourself with this activity where you need to create Smart Street Lights that will only turn on if it is dark enough AND they sense movement!

# data[].attributes.attachment_link.title
Circuit design CODING WORKSHOP - Sensor - Auto Street Lights - After Dark | Tinkercad

# data[].attributes.attachment_link.description
Circuit design CODING WORKSHOP - Sensor - Auto Street Lights - After Dark

# data[].attributes.attachment_link.title
Smart City_ How Amsterdam Revolutionizes Energy.mp4

# data[].attributes.body
Some things to remember:

Speed is 20

Always use a "Stop" & "Delay for 1s" after a roll block

Sphero needs to be Green while rolling

Sphero needs to be Red while dropping off a package

Sphero needs to "Speak" the item that it is delivering

# data[].attributes.body
Weather Station: Set up a weather station using micro:bits to collect data such as temperature, humidity, and air pressure. Students can code the micro:bits to display this information on LED screens or send it to a central dashboard.

# data[].attributes.body
Green Spaces Management: Integrate sensors to monitor the health of plants and green spaces in the city. Students can code the micro:bits to water plants when the soil moisture is low or adjust lighting conditions based on the amount of sunlight.

# data[].attributes.body
Waste Management System: Create a waste management system using that uses sensors to monitor and identify trash in bins. These bins will then automatically sort the trash into different categories for recycling.

Use the Lego to code a robot to differentiate between different coloured pieces of trash - sort them. (eg: Red Lego = Plastic vs Green Lego = cardboard)

# data[].attributes.body
Use the Microbit to create an earthquake sensor and send signals or sounds when movement above a certain threshold is detected.

# data[].attributes.attachment_link.description
Use the temperature sensor in the micro:bit's processor to make your own digital thermometer.

# data[].attributes.attachment_link.description
Make the batteries last longer by having the outdoor micro:bit turn its radio off when it's not in use and sending temperature readings less often.

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

What is it?

Use data logging with your BBC micro:bit V2 to gather accelerometer readings to help design a personalised fitness tracker.

What you need

a micro:bit V2

a computer and micro USB cable for coding the micro:bit and viewing your data

micro:bit battery pack

our data logging guide may be useful

Gather data

Transfer the code below to your micro:bit, then disconnect it from your computer.

Connect a battery pack and attach the micro:bit to your shoe or leg.

Previous data is deleted when you transfer new code to your micro:bit, but you can also delete old data by pressing buttons A and B together.

Press button A to start logging data. A tick appears on the display. It is now recording accelerometer data ten times every second.

Start walking and count how many steps you take - try ten to start with.

In the very unlikely event the micro:bit log becomes full, all the lights on the LED display will light up.

Press button B to stop logging. You should see an X appear to show it's stopped.

Analyse your data

Disconnect the battery pack and plug the micro:bit into a computer.

The micro:bit appears like a USB drive called MICROBIT. Look in there and open the MY_DATA file to see a table of your data and a visual preview in your web browser:

Data from the accelerometer has been recorded in three dimensions:

Click on visual preview to see the data as a graph. Examine it and see if you can spot where the user took ten steps:

Use your data

Studying this data you can see that almost every time a step was taken, the reading in the Z axis went above 500.

So with this data set, we might use the number 500 as the threshold to use in the Sensitive step counter project, modifying the 'acceleration (mg) strength' block to read 'acceleration (mg) z > 500'.

This means that you've collected data that's unique to the way you walk, and used it to make a personalised digital product that works better for you.

Step 2: Code it

Step 3: Improve it

You could use the movement data logger to compare different parachutes and how they affect the acceleration of a micro:bit as it falls.

Copy and paste the data into a spreadsheet to analyse it in different ways, for example using statistical tools.

Use a spreadsheet to visualise the data in other ways and make a presentation about your project.

# data[].attributes.attachment_link.description
Use data logging with your BBC micro:bit V2 to gather accelerometer readings to help design a personalised fitness tracker. a micro:bit V2 a computer and micro USB cable for coding the micro:bit and viewing your data micro:bit battery pack our data logging guide may be useful Transfer the code below to your micro:bit, then disconnect it from your computer.

# data[].attributes.attachment_link.description
Download one of the Units to get Building Instructions

# data[].attributes.body
This Microbit is connected to a temperature and humidity sensor. Push button A to get a reading of the Temperature and push button B for the humifity.

# data[].attributes.attachment_link.title
Micro_bit Automatic Plant Watering System.mp4

# data[].attributes.attachment_link.title
Micro_bit - Natural Disaster Project - DIY Seismic Sensor.mp4

# data[].attributes.attachment_link.title
Micro_bit - Natural Disaster Project - The Receiver.mp4

# data[].attributes.attachment_link.readable_text
Aw snap! Google Earth isn't supported on your browser. You may need to update your browser or use a different browser. Please see our system requirements for more information. Chrome is a great choice and you can download it here.

Or if you're feeling adventurous, you can try Earth anyway by choosing an option below.

Learn more about Google Earth.

# data[].attributes.attachment_link.description
Aw snap! Google Earth isn't supported on your browser. You may need to update your browser or use a different browser. Please see our system requirements for more information. Chrome is a great choice and you can download it here. Or if you're feeling adventurous, you can try Earth anyway by choosing an option below.

# data[].attributes.attachment_link.description
Create a wireless data logger with MakeCode