Comments (8)
it would help if you could give some more information:
- is the at328 running with 16 MHz?
- which arduino-version do you use? the latest >1.6.10 is still untested by me but compiled code should be superior to prev. versions
- do you have timing-issues when debug-output is disabled?
- could you include a link to your current code? maybe i can find a clue. maybe do a pull request with a "do not merge"-mark.
from onewirehub.
thanks for the prompt response
I'm at 16Mhz on arduino 1.5 and yes the outputs are off. I might have isolated the issue yesterday. The problem seems to be related to the reset detection surrounding some arbitrary number of read operations the master can execute following the READ MEMORY 0xF0 command. By that, I mean that it could do 0xF0 on some address, read X bytes, reset the bus, 0xF0 on some other address, read Y bytes. My working trials did not include sequential arbitrary read operations separated by reset commands. I will be out for a few days but I will come back to you on this with some code.
Cheers
from onewirehub.
now i am wondering how you could compile this lib. it uses c++-features that are not supported by default in arduino <1.6.x. you have to enable them manually in a config-file. please try updating it.
by using 1.6.10 instead of 1.6.8 i got around 10% smaller codesize. this could mean that timing constrains are a bit more relaxed now.
the behaviour you have seen should be fixed in my last commits thou :-( ("hub is more robust to odd master-behaviour (lazy timings and subsequent resets)"). I've seen them too with the ds9490.
from onewirehub.
Thanks for the tip! Indeed I used 1.6.10 and got it to work flawlessly!
from onewirehub.
nice to hear! hope to see your pullrequest soon :-)
An included example would be much appreciated!
I would offer my help if you need help with the cleanup.
can i close this issue?
from onewirehub.
Sure you can close it! PR will be in in an hour or so
Cheers
from onewirehub.
i leave this open to remind me of testing it. you mentioned another OW-master. have you tested other sensors of this libs? what kind of system is it?
from onewirehub.
The master I was referring to is a PIC18. It is part of an industrial machine using the DS2431 as storage, so many R/W operations involved. Hence I do not have the opportunity to test more slaves with this master, unfortunately.
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
- DS2502_DELLCHG example sends all data as FFs only 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.