Giter Site home page Giter Site logo

Comments (2)

arekm avatar arekm commented on August 24, 2024

And increasing ONEWIRE_TIME_MSG_HIGH_TIMEOUT to 35ms helper (which I thought is only meaningful if onewirehub is the receiving side).

from onewirehub.

arekm avatar arekm commented on August 24, 2024

Won't be that easy after all.

So ONEWIRE_TIME_MSG_HIGH_TIMEOUT is now set to 35ms. python script is able to read some data from emulated eprom:

Select option [0-9]: 
8
[...]
 [35] /dev/ttyUSB1 - FT232R USB UART - FT232R USB UART
Select option [0-35]: 35
Reading EEPROM...
8d 44 45 4c 4c 30 30 41 43 31 33 30 31 39 35 30
36 37 43 4e 30 43 44 46 35 37 37 32 34 33 38 36
35 51 32 37 46 32 32 33 33 9d 72 ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff f6 
Done
 [0] Manufacturer  : DELL
 [1] Adapter type  : 00AC
 [2] Watts         : 130
 [3] Volts         : 19.5
 [4] Amps          : 6.7
 [5] Serial number : CN0CDF577243865Q27F2233
 [6] Save changes and exit
 [7] Exit without saving changes
 [8] Read EEPROM data via 1wire
 [9] Write EEPROM data via 1wire
Select option [0-9]: 

On logic analyzer that reading is not even decoded (thing happening too slowly to be recognized as 1-wire?).
python-script-reading-correctly.zip

So connecting emulated charger to a dell laptop. It doesn't recognize the emulated eprom. Logic analyzer shows garbage on bus.
connected-to-dell-laptop.zip

Any clues on what else I could try?

from onewirehub.

Related Issues (20)

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.