For the second assignment you will expand on the first assignment by adding more sensors and actuators. Use the WEMOS D1 Mini introduced in Assignment 1 and associated shields to implement a simple classic game in Arduino C++. The focus should be on programming the microprocessor and using the associated peripherals and not the complexity of the game. The game state is shown on the OLED Screen Shield, the game is controlled using any sensor, and if the user wins, an actuator will actuate.
Finding information about components
This wiki contains documentation for most components you will use. Simply search for the components you wish to have some information on in the top left corner (or top right for mobile).
For this assignment you will need the following components:
Assignment 1 Components (Required)
- Wemos D1 Mini Microcontroller
- Wemos OLED Display Shield
Assignment 2 Components (Required)
- Wemos Triple Base
Available Actuators
- Wemos Motor Shield
- DC Motor
- Wemos RGB Shield
- Wemos Buzzer Shield
- Wemos Led Matrix Shield
Available Sensors
- PAJ7620 Hand Gesture Sensor
- Hall Effect Sensor
Borrow for Showcase
- Candy Machine
Requirements
- The game is played on the OLED screen.
- The game is controlled using any sensor, like the PAJ7620 Hand Gesture Sensor.
- The game has a win condition after which any actuator, like the Wemos Motor Shield, or the Wemos Buzzer Shield actuates.