![]() Audio amplifier: We’ve built up the driver for the audio amplifier and it can be initialized properly.In particular, the inventory of many components often changes dynamically, forcing us to keep updating our BOM. Part selection: Due to the need to consider parameters, sizes, inventory and many other factors, we had a hard time dealing with part selection.UI Thread: Handle the user interface tasks of the game.Control Thread: Handle the state of the game.Wifi Thread: Handle the tasks related to Wifi connection and message transmission.CLI Task: Command Line Interface between the user and the embedded system.FreeRToS: Schedule the tasks to achieve concurrency.Data Exchange: HiveMQ as the MQTT broker.Text boxes for game sequence movement display in debug mode and game result display.LED boards for game sequence movement display.Buttons for game method & mode selection and game initiation.IO: 4x4 keypad (3954), Adafruit Mini 2-Axis Analog Thumbstick (2765), gesture sensor (APDS-9960), OLED screen (14532), Audio Amplifier (3885).Interfaces: connector headers for OLED and Keypad (both connected to MCU with I2C), Audio amplifier (connected to MCU with DAC).Linear Battery Chargers BQ24075, Boost Converter TPS61032 and Buck Converter TPS62082 are used for 3.3V and 5V power supply. Power supply: The system can be powered by the micro usb interface or by battery.Basic information: 80.00mm x 80.00mm four-layer board.Front-end: Node-Red dashboard supported by IBM cloud.Firmware: Bootloader and FreeRTOS architecture.Hardware: Development boards prototype and final custom PCB board.The game ends when one player inputs the wrong sequence, or when the length of the sequence reaches 20. The player's task is to remember the sequence entered by the other player, reproduce it, and add a new action at the end of the sequence. At the beginning of each round, players can choose one of three game modes (keypad, joystick or gesture sensor) on the cloud dashboard. Players connect to the cloud through terminals to play the game.Įach player has a 4x4 keypad with RGB LEDs for input and movements display. The game involves two players, either human player versus computer or two human players play against each other. This project builds a “Simon Says” Game based on the IoT platform. No matter where you are or what time it is, you can always enjoy the IoT version “Simon says” game as long as battery and connection to the network is available. What if your friends are not available? What if you have such a good memory that no one can beat you? Try the PVE mode of our game to see if you can beat the computer! Let’s see who is good at memorizing sequences! The one who makes the mistake loses the game and the other wins. In the PVP mode, once there’s a mistake in the sequence, the game ends. One should always repeat the sequence by the other player and add a new move to the sequence. “Simon says” game is a simple game that tests one’s memory. What if we still want to gain some joy through the interaction with our friends? Try our IoT version “Simon says” game! So we may not be able to visit our friends and interact with each other physically. Due to the COVID-19 pandemic, people may need to keep social distance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |