Giter Site home page Giter Site logo

Comments (1)

joushx avatar joushx commented on September 23, 2024

You have to write a value to 4120 to enable output on 4130. Depending on what you write to 4210, you get different outputs:

I also looked into this one and implemented it into the GUI (that I did not document very good): https://github.com/joushx/python-sonicare/blob/main/examples/gui/sensor/sensor.py#L46. Now I added instructions to the README.

Bildschirmfoto vom 2021-07-02 15-49-45

2: unknown values. They change sometimes, but I cannot find when or how, or any meaning

This one looks like a temperature value in degrees Celsius for me.

1: pressure data: 5th and 6th byte output a signed integer, positive if you press on the brush (the normal force when you brush your teeth), negative it you pull the brush up. 7th byte has a value of '2' if you exceed the recommended pressure. Only streams this when the brushing is active.

I know that there is the pressure and some kind of alarm, but I think I somehow broke it in the code...

8: grip strength: 5th byte indicated how strong you hold the body. Around 100 if you don't touch it, around 160 is you squeeze it. Other bytes seem to be some kind of moving average, and other related values I cannot identify. These values regardless of brushing active of inactive.

That is very interesting! I think my brush cannot measure that. Feel free to integrate it into the GUI if you want.

from python-sonicare.

Related Issues (2)

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.