Skip to content

Handheld math practice device with rotary encoder input and timed challenges

License

Notifications You must be signed in to change notification settings

BohanXu-74/Problem-Maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Problem Maker

Problem Maker

Problem Maker is a handheld hardware device designed to help you practice math in a focused, distraction-free way.
Using a rotary encoder, you select the math operation you want to practice, then solve 10 generated problems while the device tracks your time.


Demo Video

Problem Maker Demo

Click the thumbnail to watch a demo of Problem Maker in action!


Features

  • Rotary encoder to select math symbols (➕ ➖ ✖ ➗)
  • Generates 10 math problems per session
  • Built-in timer to measure completion time
  • Display shows questions, answers, and time
  • Handheld enclosure — 3D printed

How It Works

  1. Turn the rotary encoder to choose a math operation.
  2. Press Start to begin a session.
  3. Solve 10 math questions generated by the device.
  4. The timer runs until all problems are completed.
  5. Your total time is displayed at the end.
  6. Reset and try to beat your best time.

Power

  • Powered by 3 AAA batteries

3D Printed Enclosure

The enclosure is fully 3D printed and designed to house the complete electronics.

Files included:

  • STL files for direct printing (hardware/enclosure/*.stl)

🛠 Firmware / Source Code

All source files are in the src/ folder:

  • main.c – main program logic
  • main.ihx – file to upload to STC

⚙️ Build & Upload Instructions (SDCC + STC-ISP / STCGAL)

1. Install SDCC

Download: http://sdcc.sourceforge.net
Make sure sdcc is in your system PATH.

2. Compile the project

Open a terminal in your src/ folder:

bash

sdcc main.c This generates a .ihx file for your STC microcontroller.

3. Flash to MCU

Windows: Use STC-ISP to flash the .ihx file

Linux/macOS: Use stcgal:

stcgal main.ihx

4. Test

Turn the rotary encoder

Select a math operation

Solve 10 questions and check time and percentage

About

Handheld math practice device with rotary encoder input and timed challenges

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published