Activity 1: Program 03: using sparkles.
Click on this link to download tpr2_u4_ws_crumble_D2. Then:
- Have a look at activity 03
- Create the circuit (connect the sparkle to the microcontroller: power and output D) and then connect the microcontroller to the computer with the USB cable.
- Make sure the battery is OFF and then connect it to the microcontroller.
- Create the program with Crumble using blocks (commands, instructions) from the different menus.
- When finished, click on the green arrow (play) to upload the program to the microcontroller and run it.
- Does it work? Turn ON the battery.
- Check that the program works and call the teacher. Turn OFF the battery.
- Before uploading a new program to the microcontroller, click on the red button (stop).
- Now create the second program in the activity (Traffic Lights). Here you have some ideas:
- The program has to work all the time: it's a forever loop.
- Set the first LED to red for 3 seconds
- Set both LEDs to red for 1.5 seconds
- Turn OFF the first LED
- Set the second LED to green for 3 seconds
- Turn OFF the second LED
- Call the teacher.
- Upload the pdf activity to PDF Bob and complete the activity. When finished, export your PDF file and upload it to your Classroom/Unit4/Workshop. Don forget the sticky note, name and surnames...