This is an old revision of the document!


Guess the Weight

Guess the Weight is a recreational device that uses a digital scale to create an interactive and fun experience. The game features two distinct modes:

1. Guess the Weight

An object is placed on the scale and weighed. The player must then try to guess the weight by inputting a value as close as possible to the actual measurement.

2. Match the Weight

An object is weighed and its weight is stored. The player is then given several smaller objects of known weights. The goal is to recreate the original weight by placing a combination of these objects on the scale.

Both modes encourage observation, estimation, and logical thinking while offering a fun and hands-on interaction with real-world measurements.

Introduction

A brief overview of our project:

  • The project features two game modes based on weighing an object.
  • The goal is to provide a fun and interactive experience for the user.
  • The initial idea was to create a functional scale.
  • It is useful as it results in a device that can be used for entertainment purposes.

Descriere generală

The “Guess The Weight” system consists of the following main modules:

  • Weight Sensor Module (Load Cell + HX711) – measures the weight of the object placed on the scale.
  • Microcontroller (Arduino Mega 2560) – manages the game logic and communicates with all other components.
  • Display Module (OLED or alternative) – shows instructions, game mode, weight, and messages for the user.
  • 4×3 Keypad – allows the user to interact with the system and input values.
  • Passive Buzzer – provides audio feedback during the game (e.g., success/failure sounds).
  • Power Supply (via USB from a laptop) – powers the entire system through the Arduino board.

Interaction Description:

  • The user selects a game mode using the 4×3 keypad.
  • The system prompts the user with instructions on the OLED display.
  • The user places an object on the load cell.
  • The HX711 module sends the weight data to the Arduino via digital communication.
  • Arduino processes the data and checks if the condition for the current game mode is met.
  • The display and buzzer have different actions depending of the game mode selected.

# Components List

Component Name Link Description
———————————-
Arduino MEGA 2560 [OptimusDigital](https://www.optimusdigital.ro/ro/compatibile-cu-arduino-mega/471-placa-de-dezvoltare-compatibila-cu-arduino-mega-2560-atmega2560-ch340.html) Development board compatible with Arduino MEGA 2560 (ATmega2560 + CH340)
Passive Buzzer [OptimusDigital](https://www.optimusdigital.ro/ro/audio-buzzere/634-buzzer-pasiv-de-5-v.html) 5V Passive Buzzer
OLED Display Module [eMAG](https://www.emag.ro/modul-display-oled-heltec-automation-128x64-interfata-iic-0-96-albastru-galben-zc-01-d/pd/D74PRM3BM/) Heltec Automation, 128×64, IIC interface, 0.96” blue & yellow
Keyboard Module [OptimusDigital](https://www.optimusdigital.ro/ro/altele/5825-modul-tastatura.html) Keyboard module
USB Cable [OptimusDigital](https://www.optimusdigital.ro/ro/cabluri-cabluri-usb/7313-cablu-albastru-usb-am-la-bm-50-cm-pentru-arduino-mega-i-uno.html) Blue USB AM to BM 50cm cable for Arduino MEGA and UNO
Weight Sensor [RoboFun](https://www.robofun.ro/modul-senzor-greutate-1kg-pentru-cantar-electronic.html) 1kg Weight Sensor Module for Electronic Scale
HX711 Module [OptimusDigital](https://www.optimusdigital.ro/en/others/130-hx711-instrumentation-module.html) HX711 Instrumentation Module
Breadboard Kit [OptimusDigital](https://www.optimusdigital.ro/en/kits/2222-breadboard-kit-hq-830-p.html) Breadboard Kit HQ 830 points

Software Design

Descrierea codului aplicaţiei (firmware):

  • mediu de dezvoltare (if any) (e.g. AVR Studio, CodeVisionAVR)
  • librării şi surse 3rd-party (e.g. Procyon AVRlib)
  • algoritmi şi structuri pe care plănuiţi să le implementaţi
  • (etapa 3) surse şi funcţii implementate

Rezultate Obţinute

Care au fost rezultatele obţinute în urma realizării proiectului vostru.

Concluzii

Download

O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectului: surse, scheme, etc. Un fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-).

Fişierele se încarcă pe wiki folosind facilitatea Add Images or other files. Namespace-ul în care se încarcă fişierele este de tipul :pm:prj20??:c? sau :pm:prj20??:c?:nume_student (dacă este cazul). Exemplu: Dumitru Alin, 331CC → :pm:prj2009:cc:dumitru_alin.

Jurnal

Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului.

Bibliografie/Resurse

Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe Resurse Software şi Resurse Hardware.

Export to PDF

pm/prj2025/avaduva/sorin.popescu2306.1747511178.txt.gz · Last modified: 2025/05/17 22:46 by sorin.popescu2306
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0