Skip to content

🥊 Smart Fight Ball (Box Ball) game. Based on ESP8266.

License

Notifications You must be signed in to change notification settings

renat2985/bitball.club

Repository files navigation

🇷🇺 Русская версия документации здесь

Smart Fight Ball (Box Ball) Based on ESP8266

This is an advanced version of the classic elastic ball game (Box Ball), designed to improve coordination, reaction speed, and agility. Unlike a standard ball, our device is equipped with smart electronics based on the ESP8266 microcontroller (NodeMCU). It can track the number of hits, measure hit force, and enable online competition via the bitball.club website with other users who have similar devices. Players can also track their progress in real-time.

You can build the device yourself or ask us to do it for you. To order a ready-made device, contact us via Telegram, WhatsApp, Skype, or Discord.

Key Features

  • Hit Tracking: The device uses built-in sensors to accurately record every hit on the ball.
  • Hit Force Calculation: The device analyzes sensor data to measure hit force, adding a competitive edge.
  • Wi-Fi Connectivity: The device connects to Wi-Fi, allowing players to save training results in the cloud and participate in online tournaments.
  • Flexible Training Settings: Users can set training durations and other parameters, tailoring the device to personal goals.
  • Feedback System: Sound or light alerts help signal training completion or motivate users to improve their results.
  • Online Competitions: Players can compete in real-time with others via bitball.club, compare results, and elevate their training.

Benefits

  • Interactivity: Training becomes more engaging and interactive thanks to automatic counting, hit force measurement, and instant feedback.
  • Real-Time Competitions: Users can compete with others globally, making training even more exciting.

Our smart Box Ball is not just an elastic ball—it’s a high-tech training device that lets you set goals, track progress, measure hit force, and reach new heights in coordination and reaction training.

Instructions

Powering On the Device

  • First Signal: The device has successfully powered on.

  • Second Signal (Charge Level Indication):

    • High tone — battery at 100%.
    • Medium tone — battery at 50%.
    • Low tone — battery at 25%. In this mode, sound is disabled to save energy.
  • Third Signal (Operating Mode after 4-15 seconds):

    • High tone — device connected to the router.
    • Low tone — connection to the router failed. The device has created a WiFi hotspot called "BitBall.club".
  • Auto Sleep Mode: If the game has not started within 5 minutes, the device enters sleep mode. The sleep mode signal is a high tone that gradually lowers to a low tone.

How to Start Playing with BitBall

  1. Turn on the BitBall device.

  2. Connect to Wi-Fi:

    • Select the BitBall.club network.

  3. Access the game through a browser:

    • Open a browser and enter the address: http://192.168.4.1.

Tip: If you connect BitBall to your router, you won’t need to reconnect to BitBall.club Wi-Fi each time. Simply visit www.bitball.club, and you’ll enter the game instantly. Plus, you’ll be able to save your training results, compete with others online, and enjoy various other features.

HTTP and Security

Our device uses WebSocket without SSL, which makes it incompatible with HTTPS. As a result, we had to keep the www.bitball.club accessible via HTTP only.

However, this does not affect your security in any way, as the site does not require passwords or any other sensitive information.

Wiring Diagrams

Basic

NodeMCU ESP8266, Wemos ESP8266 On the NodeMCU board, the Flash button performs the same functions as the external button connected to D3. If needed, you can use it instead of the external button.

Advanced

NodeMCU ESP8266, Wemos ESP8266

STL (stl folder)

This backing is essential for the correct operation of the weight sensor; without it, false triggers may occur. It’s important that the internal part of the scale does not come into contact with the forehead or any other surfaces.

Components

From AliExpress.com

Boxing speed ball head mounted (You need a ball with an elastic band)

Flashlight Headband Head Strap 18650 (You need a headband with a mount for a power bank)

Weight Sensors + HX711

Power Bank (for 18650 Battery)

Wemos MINI (Suitable for STL case) or NodeMCU ESP8266

Optional for a more complex model:

Head Straps Headband

Nylon Elastic Band (Width 2.5cm)

Elastic Band Round

ULN2003A

USB Type A Connector Male

Push Button Switch

Active Buzzer Module for Arduino or Active Buzzer 5v (For ULN2003A)

🚀 Web installer (recommended)

Go to the web installer and follow instructions.

🔋 Donation

If you like this project, you can buy me a cup of coffee ☕