(English)
Let's aim for moderate drinking with M5Stack!
“Sake Meter” is a device that allows you to easily input and check the amount of alcohol in your body for parties and other occasions.
Select the type of alcoholic beverage with the left button and the size of drinking vessel with the right button in advance, and press the center button when drinking to record the amount of alcohol consumed.
The amount of alcohol displayed on the screen decreases over time, so it can also be used as a guideline for determining whether it is safe to drive a car. (Caution: Do not use as a substitute for an alcohol tester)
This software uses a large number of images to achieve a rich user interface, but during development, I struggled with the poor memory of the M5Stack Basic. I have reduced the CPU speed as much as possible to reduce power consumption, but I recommend connecting to an external power source such as a mobile battery during use.
(Japanese)
M5Stackで適度な飲酒を目指しましょう!
「酒メーター」は宴会などに向けた、体内アルコール量を簡単に入力・チェックできるデバイスです。
あらかじめ左ボタンでアルコール飲料の種類、右ボタンで酒器のサイズを選んでおき、飲酒時に中央ボタンを押すとアルコール摂取量が記録されます。
画面に表示されるアルコール量は時間経過で減少するため、自動車の運転が可能な目安としても使えます。(注意: アルコールチェッカーの代わりとして使わないでください)
画像を大量に使いリッチなユーザインタフェースを実現していますが、ソフトウェアの開発中はM5Stack Basicの貧弱なメモリに苦労しました。可能な範囲でCPU速度を下げて電力消費量を削減していますが、使用中はモバイルバッテリーなどの外部電源に接続することをお勧めします。








Comments