Skip to content

Buzzer is a coordination game based on Micropython pico w, the aim of which is to provide a series of self-printed buzzers to train personal reaction skills in a fun way.

Notifications You must be signed in to change notification settings

PascalDeters/buzzer

Repository files navigation

Buzzer - The coordination game

Buzzer is a coordination game based on Micropython pico w, the aim of which is to provide a series of self-printed buzzers to train personal reaction skills in a fun way.

image circuit-diagram image circuit-diagram image circuit-diagram

Installation

Project Structure

  • Main - Start of the project
  • Config - The class representation of the config file
  • ConfigManager - Helper Class thats manage the loading, saving, or deleting the config file
  • Logger - Helper Class to log messages to the console
  • MicroWebserver - Basic Webserver
  • BuzzerClient - This file contains two types of a buzzer client. The BuzzerHttpClient class will get executed by the buzzer client and the BuzzerServerClient will get exectuted by the server itself to guarantee a loop.
  • BuzzerGame - This file contains a Harware-Wrapper class that encapsulates the control of the hardware and the managing and rules of the game itself.
  • ClientHandler - A handler that manages all buzzer clients. Concrete actions are adding, removing, handling timeouts, and adding commands.
  • ConfigBasedBootstrap - Aggregates all bootstrap functionality after the initial configuration is set.
  • NonConfigBasedBootstrap - Aggregates all bootstrap functionality before the initial configuration is set.
  • WifiManager - Aggregates all wifi functionality.

General procedure

  1. When the pico starts for the first time it will open a WLAN Access Point (pico_buzzer) with the password ( 1234567890 )
  2. After connecting the WLAN the user can access the configuration of the pico via http://192.168.4.1/ to add all relevant information
  3. The goal of the configuration page is to:
    • prepare the connect to the host a new WLAN
    • configure whether the buzzer is the server or the client
    • setup the ip address of the server and the name of the client for the further network communication
  4. After entering all configuration the pico must be restarted to either boot as a server or a client
  5. When the server or client boot it will connect or host a WLAN
  6. The server will host a webserver that can be accessed by http://192.168.4.1/
  7. The user can start or stop a new game with the mini website that is provided by the server
  8. The clients will connect to the server via the webserver as well to get their commands from the server

Circuit diagram

image circuit-diagram

Used Components

3D Design

here you can find the 3D Files at printables

About

Buzzer is a coordination game based on Micropython pico w, the aim of which is to provide a series of self-printed buzzers to train personal reaction skills in a fun way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published