Giter Site home page Giter Site logo

ATtiny85 about onewirehub HOT 10 CLOSED

orgua avatar orgua commented on June 1, 2024
ATtiny85

from onewirehub.

Comments (10)

orgua avatar orgua commented on June 1, 2024

You could try the latest release 0.9.0 from today. attinysupport is partly tested and should be improved now. had no chance to test my new code till now.

from onewirehub.

palsbo avatar palsbo commented on June 1, 2024

Hi - Thank you.
I have tried the new version, and it is much better.

I do have som problems using OWFS. Some fields are not recognized ome
times. I suspect it is a timing issue, as it is not consistent.
Attached image show an example (r-locator).
Best regards
Erik

------ Original Message ------
From: "inʒo" [email protected]
To: "orgua/OneWireHub" [email protected]
Cc: "palsbo" [email protected]
Sent: 20-03-2016 20:43:11
Subject: Re: [OneWireHub] ATtiny85 (#3)

You could try the latest release 0.9.0 from today. attinysupport is
partly tested and should be improved now. had no chance to test my new
code till now.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

from onewirehub.

orgua avatar orgua commented on June 1, 2024

image upload seems not to have worked

from onewirehub.

palsbo avatar palsbo commented on June 1, 2024

Sorry - try again:
clipboard01

from onewirehub.

palsbo avatar palsbo commented on June 1, 2024

I just tested with a DS9490 usb-stick. Here the ow-slave will not show at all.

from onewirehub.

palsbo avatar palsbo commented on June 1, 2024

After changing ONEWIRE_TIME_READ_STD in OneWireHub.h from 30 to 20, things seems to works much better on ATtiny85. Even with DS9490. Not finished testing yet!

from onewirehub.

orgua avatar orgua commented on June 1, 2024

Yes, this could help as a dirty fix and can even be reduced to 15 µs. switching between the functions() adds a large amount of additional overhead. 80 clock cycles make up 10 µs on your platform. i will reduce this overhead-footprint in future commits.
We can't just switch to ASM, because it wouldn't be platform-independent anymore.
For the next 3-4 weeks i won't have hardware to test new code, so there will be no commits from my side. Feel free to research this topic in the meantime.
I collected more timing-related information from various datasheets in an older version of the onewirehub.h :
https://github.com/orgua/OneWireHub/blob/3e67d91e2ee7c040fbeb315949272b38393196c5/src/OneWireHub.h

from onewirehub.

orgua avatar orgua commented on June 1, 2024

is there something new on your side? i am beginning to continue my work on the lib

from onewirehub.

orgua avatar orgua commented on June 1, 2024

closing because thread is inactive.

from onewirehub.

palsbo avatar palsbo commented on June 1, 2024

Sorry for the big delay - there was a reason!
In the meantime there are new version and I cannot get it to work with ATTiny85 (and DS9490)
I tried to look into the timing, but nothing helped.
Try DS2431 with PB2 as ow-input pin. 8Mhz clock
Any suggestions?

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.