micro:bit Microsoft Make Code (We use Python in here to code our Micro:bits!) REQUIRED:
Heart (Display)
Smiley Button (Input)
Dice (If/Then/Else)
Step Counter (Conditional Loops) - Blocks is the only Tutorial available.
OPTIONAL:
Multi Dice
What other tutorials can ease us into Python?
Make sure you follow all the steps in each tutorial
Each student will make an Arduino Diagram, using Google Drawings and the diagram and explanation on: https://learn.sparkfun.com/tutorials/what-is-an-arduino/whats-on-the-board
Label:
Analog Pins (plural!)
AREF pin
Barrel Jack
Digital Pins (plural!)
GND pins (plural!)
Main Integrated Circuit
Pulse Width Modulation Pins (plural!)
Power L.E.D. Indicator
Reset button
TX RX LEDs
USB
Voltage Regulator
3.3V pin
5V pin
Students will review https://learn.sparkfun.com/tutorials/what-is-an-arduino/whats-on-the-board and be ready to explain what each thing does-- you can use notes!
(groups of students will read their part, prepare a presentation, and report back to the class)
Arduino Blink (Individual Students see if he/she can tweak this code and upload it again so that the LED blinks more quickly than 1000 milliseconds on & 1000 milliseconds off) Joshua's Blink tutorial, both TinkerCad and I.R.L Video
Arduino Fade (To Tweak, change the delay ... on TinkerCad, make it a little faster, but In Real Life, make it SLOW so you can really see the Arduino trying, and failing to look like it's a smooth analog curve.) Ian's How to Fade Tutorial Video
Arduino Button (Individual Students see if he/she can tweak this code so that the button turns the light off! You will be switching the IF/ELSE loop to make the On Button to an Off Button, but DON'T SWITCH ALL THE HIGHs to LOW and ALL THE LOWs to HIGH!!! Silas made a How to Button on TinkerCad Video for you. For Button, I'd suggest putting an LED in pin 13 and Ground, so it's undeniable what's happening (TinkerCad will need a resistor, like Blink did, to keep it from "exploding."
HINTS!
I would use a longer breadboard when possible.
LEDs AND resistors are polarized, so they can be backward. Inspect them before you start wiring.
Resistors' stripes mean something! (How powerful they are!) Pay attention to the stripes on the resistor to see what kind you're getting. We primarily use 220 Ω resistors.
Super Mario (Thanks, M.S., for finding this and C.R. for sharing it!)
Birthday (Thanks, M.S., for finding this and C.R. for sharing it!)
Star Wars Imperial March (Thanks, M.S., for finding this and C.R. for sharing it!)
Fallen Down (with 2 speakers from MS)
Bohemian Rhapsody 1 (Thanks, SB, for finding this!)
Bohemian Rhapsody 2 (Thanks, SB, for finding this!)
Megalovania (Thanks, LS, for finding this!)
Click on this one! (Thanks, TR, for RickRolling me!)
ZW found this link to Aha's Take On Me
IL found the Nokia Ring Tone (The T-Rex in Jurassic Park ate that phone and then rang like it .... cool, right?)
CS played Für Elise for us from this list of tones
AF found the Among Us Theme Song
Do you know the Krusty Krab song from Spongebob? JH found it here!
On their birthday, JY found a quiet version here (Hold the Piezo speaker CLOSE to your ear to hear it!
This is Twinkle Twinkle Little Star (Or Jingle Bells) from SW!
PR composed their OWN song, but also found Eye of the Tiger from the movie Rocky
LS played me the Fortnite Default Dance Music
ZW picked out The Entertainer to code and play
NL found a version of Happy Birthday
The Mandolorian Theme Song (This is the way, LS)
(Thanks, EB, for finding us some) Iron Maiden
Ode to Joy (Thanks, EC for this song and this whole list!)
Harry Potter (Thanks, BK, for finding this!)
AF found the Cantina Band music from Star Wars
KL found the Soviet Anthem
EB found The Shape of You by Ed Sheeren (make sure to delete everywhere where it says REST)
EB also found the Home Alone Theme Song (make sure to delete everywhere where it says REST)
EB also found Memories by Maroon 5 (make sure to delete everywhere where it says REST)
TR found the Tetris Theme Song
RL found We are the Champions by Queen
CM found the Doom Theme Song
AL found the Star Trek: Deep Space 9 Theme Song
TL found Jigglypuff's Song
GH found the Pac-Man Intro song for us and JB found THIS version
SP found something called Keyboard Cat that came with sheet music!
ML found "We Wish You a Merry Christmas - Traditional Christmas song" that can even be loaded and played on TinkerCad Circuits!
JA found the "Other Side" Theme from Minecraft
AN shared Rondo Alla Turca (I believe by Mozart?) with me
The Little Fugue in G Minor is from DN (and can also be played on TinkerCad circuits!)
VIII. RGB LEDs- This uses the 4 leg LED lights NL found a cool tweak on Github that fades through ALL the RGB colors, but to tweak it is to make it go through the stoplight colors.
IX. ForLoopIteration- Perfect for people who love the classic TV show Knight Rider. You can make it go faster if you tweak the timer! Sam's How To For Loop Iteration I.R.L. Video)
Analog Write Mega (You can make it with an Uno NOT a Mega ... I don't have a working Mega)
X. AnalogWriteMega- Perfect for people who are REALLY good at wiring-we have to do it using an Arduino Uno NOT A MEGA LIKE MY FIRST DIAGRAM! Hayden's How To I.R.L. Video The 11th LED doesn't work if it's wired like below ... because it's for a Mega ... here is a video about what to do from back during the Covid Pandemic Teaching times CHECK OUT MY SECOND DIAGRAM!
You want to find the servo sweep example and upload it BEFORE you wire anything!!! THEN you can plug in the servo motor!
Servo Motors:
Servo Black or Brown to Gnd.
Servo Red or Orange (Center wire) to +5V
Servo White or Yellow to Signal (Pin 3 or Pin 9- check the code!)
This is finally the purest example of Mechatronics that we've done so far! Electricity + Code = Mechanical Energy. We are going to use this and some of the other skills to do a culminating Arduino Project.
Arduino Sweep (To download code, File >> examples from library >> Servo >> Sweep)
Arduino Knob (To download code, File >> examples library >> Servo >> Knob)
Servo Sweep
Servo Knob
Culminating Project (try to use as many coding/Arduino, lasercutting, and 3d printing skills as possible to create something cool) Due around May 9th or so)
Brainstorm by googling “Basic Arduino Servo Projects” or “Beginner Arduino Servo Projects”:
https://www.instructables.com/4-Simple-Servo-Project-with-Arduino/
https://www.electronicsforu.com/arduino-projects-ideas#6-alarm-clock-radio-using-arduino
OR could be something as simple as making a stoplight with 3d printer, lasercutter, and tweaked RGB LED!! Or a construction gate! I even had a dancing penguin with servos for legs!