Coder Social home page Coder Social logo

eimos's Introduction

EiMOS : Electrical Impedance to Mahjong Output Scores

A Library for legacy scoring system of Japanese mahjong tables. Formerly known as mahjongAsst. Legacy mahjong scorers implement special score sticks containing electrical elements. My enquiries clarified that the elements are R / L / C passive components. This library measures parallel resistances/capacitances of stack-piled score sticks, and convert the values into actual scores of 4 mahjong players

EiMOS is in NO WAY RELATED to EIMOS, a military vehicle brand of Spanish defence company EXPAL. Library EiMOS isn't intended for military uses.

Features

-Realtime score tracking for all 4 people

-Outputs error message when the sticks are in wrong places

-Manage display mode(NORMAL, DIFF, PM) with push buttons for each player

-Manage honbas with a push button

Supported Models

Resistors

AMOS MONSTER, NINJA, etc

Capacitors

CENTURY TENPAL GOLD

CENTURY TENPAL SILVER

Custom

You make your own system, becuase everything is just a passive element value.

Example Diagram

Example

MCU : Raspberry Pi Pico(RP2040)

Model : AMOS MONSTER (in fact resistors equivalent to the model)

eimos's People

Contributors

chitokim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

eimos's Issues

Enable External ADC

mahjongAsst measures RLC values by ADC readings.
Naturally, its accuracy, especially for resistance measurements, depends heavily upon performance of the internal ADC.
For example, I recently tried AMOS_MONSTER thing on ESP32, but the results were terrible.
So mahjongAsst should offer an option to use an external ADC.
ADS1X15 library looks cool.
https://github.com/RobTillaart/ADS1X15

Dissect GPL Parts

I want to re-license this project into a more permissive license, like BSD License.
Codes for capacitance measurements are basically a derivative of library "arduino-capacitor".
And by inheritance mahjongAsst became GPLv3.
Maybe refer to another capacitance measurement library with BSD, MIT thing,
and remove the existing codes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.