Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

剩余多少纸的思路 #1

Open
4tj opened this issue Apr 26, 2016 · 2 comments
Open

剩余多少纸的思路 #1

4tj opened this issue Apr 26, 2016 · 2 comments

Comments

@4tj
Copy link

4tj commented Apr 26, 2016

加个传感器来获取抽纸这一事件,一般纸抽大概都是200张的。所以能估算个百分比剩余纸量。

传感器用超声测距的可行?

@emptyhua
Copy link
Owner

测距是可行的,但是有个问题,抽纸包的表面在使用过程中并不是平整的,里面的纸张随着使用间距增大,厚度变的蓬松。所以我觉得可以加置一个带弹簧的压板,让纸包在使用过程中测出来的厚度相对准确的。当然,我个人目前还没有这个需求:)

@hydejoe
Copy link

hydejoe commented Sep 19, 2017

或许可以尝试声音传感器+光敏电阻,以声音幅度在一定时间内超过一定阀值几判断为“抽纸事件”,显示屏幕显示“已抽x张”;换抽纸包时会导致盒内亮度增大,光敏电阻阻值低于一定数值一段时间,“已抽”数据归零。

外部噪声、抽纸手速、单次抽出多张会产生误差。感觉比弹簧可行度要高

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants