- All Hands Active! ATMegaZero Workshop with ishotjr Learning Shield Demo code
- Meetup
- ATMegaZero docs
- ATMegaZero shop
- ATMegaZero GitHub repo
First, we will configure our Arduino IDEs to use the ATMegaZero board.
shortcut: just add https://github.com/eddieespinal/atmegazero/raw/master/package_atmegazero_index.json to File->Preferences->Additional Board Manager URLs then Tools->Board->Board Manager and Search ATMegaZero and press Install
Next we will select the board and port:
Tools->Board->ATMegazero and select the ATMegaZero board
Tools->Port and select the ATMegaZero board (COMn or /dev/ttyACMn)
Then open and upload the example Blink sketch:
File->Examples->01.Basics->Blink
press the ➡️ button
Confirm blinking green LED.
Adjust delay() values (milliseconds) and re-flash; observe results.
Physically attach the Learning Shield via the 40-pin stacking header; the two boards should be aligned in the same orientation.
Copy and paste this code into a new sketch (File->New); clicking Raw to get just the code itself will make this easier.
Review the code together to understand the Arduino setup() and loop() functions, variables, pins, digitalRead(), digitalWrite(), tone(), delay() and user functions.
Upload the code.
Confirm all three large LEDs on the Learning Shield are lit and the audio sweep ran at startup.
Guess what we think will happen when we press the button.
Press the button!
Observe results.
Make it your own!
Brainstorm other uses!
❤️