Questions?
To get started....
Plug your battery pack into your Microbit
Use the USB cable to plug your Microbit into your computer
Head to makecode.microbit.org
Click "New Project"
Under "Basic", find the "show string" block and put it in the "On Start" loop
Type in your name
Under "Basic", find the "show LEDs" block and put it in the "forever" loop
Choose an LED design
Click "Download" and "Pair Device" (make sure your Microbit is plugged in to the computer)
Click "Download" again
Temperature Sensor
The temperature sensor is built into your Microbit, so you don't need to add any additional hardware (electrical components)
Create a new program
Find the "Show number" block under "Basic" and put it in the "Forever" loop
Find the "Temperature" block under input and put it in the "Show number" block
Pair your device and download
Photoresistor
Find 3 alligator clips, your photoresistor (red disc with two wires), and your resistor (blue with stripes)
Connect one end of your photoresistor to 3V on your Microbit with an alligator clip and one end to P1.
Connect one end of your resistor to GND on your Microbit and one end to the alligator clip that is attached to P1 and the photoresistor.
Under "LED", find the "Plot bar graph" block and put it in the "Forever" loop.
Under "Advanced" --> "Pins", find the "Analog Read Pin P1" and put it in the first blank of the "Plot bar graph block". Type 500 into the second blank.
Pair your Microbit and click download.
Your Microbit should change the number of lights lit up as you shine more or less light on the red disc of the photoresistor.
Moisture Sensor
Find your moisture sensor. It should have 2 parts: a computer part and a probe part. Use the wires in the sensor bag to connect the 2 parts.
Connect the computer part to the other wires you have in your kit.
Take alligator wires to connect Vcc to 3V, GND to GND, and A0 to Pin 0 on your Microbit.
Under "Basic" find the "Show Number" block.
Under "Advanced" --> "Pins" find the "Analog Read Pin P0" block and put it inside the blank.
Pair your device and download the code. See how the displayed value changes when you put your sensor in a plant and water it.
Putting it All Together
There are lots of ways you can combine all the sensors to make a working device. Try your own, or check out this video to see how I did mine!
More ideas
There's still plenty of things you can do with your Microbit now that you're done with these activities. Check out the projects at the website below OR try learning a new programming language. Python is a language used by scientists and engineers and requires you to type your code instead of using the code blocks. Find more information here.