Comments (2)
And increasing ONEWIRE_TIME_MSG_HIGH_TIMEOUT to 35ms helper (which I thought is only meaningful if onewirehub is the receiving side).
from onewirehub.
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)
- error:first bit of byte timeout HOT 1
- Issue on ESP32. Missing bit because interrupts executed
- Why DS2506_EEPROM.ino can't emulate more than 574 bytes of data? HOT 1
- Build issues on PlatformIO (for Arduino Uno)
- Stability / timing issue HOT 1
- Non-Volatile Memory / Save Page Data to EPROM
- Would it be possible to adapt this project with ATtiny85 for 1-wire + I2C? HOT 1
- ESPHome , Home Assistant HOT 1
- Need solution for ESPHome HOT 1
- Support for Raspberry RP2040 HOT 4
- Supported and tested Hardware: Attiny84 - Global variables use 574 bytes (112%) of dynamic memory HOT 17
- samd51 m4
- Instability when connected with several real slaves HOT 2
- Support for ATtiny816 / 1-series ATtiny HOT 2
- Not Run Correctly on STACK-M5 ATOM-U (ESP32) HOT 4
- DS2431 wrong answer (0x55) at Copy Scratchpad Command HOT 1
- DS2430 is not included in keywords.txt.
- DS2502 write command CRC seems incorrect
- Failed communication with master device - works with BUS PIRATE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onewirehub.