Re: [Owfs-developers] How to talk to an 1wire device

2015-02-21 Thread Matthias Urlichs
Johan Ström: > Is your 8Mhz operation working perfectly fine? I didn't yet test it on a longer wire, but in the testbed it works fine if you turn off the low-level debugging code. > I've had some issues with > 8Mhz in my code-base, where the pull-low does not respond fast enough > after a 60us

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-21 Thread Paul Alfille
Writing slave code is quite easy, in fact. Most of the infrastructure is built into macros. Take a look at any similar slave e.g. modules/owlib/src/c/ow_2406.c You add entries in the big structure near the top for the new properties, include the name, type, length , read and write functions and p

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-21 Thread Jan Kandziora
Am 21.02.2015 um 08:08 schrieb Matthias Urlichs: > > Or the capacitive sensors I want to use (can the BAE0911 even do > that? an atmega supports them without any additional hardware). > You mean a capacitive keyboard? That's only software, on any µC. The only difference between AVR and any other

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-21 Thread Johan Ström
Hi Matthias! Nice to see continued work on the original (smurfix/)owslave code. I've got some similar code, forked from the taliesin fork originally form your code (according to githubs network view). Your code (today) is definitely smaller than what I've got now. I think I've tried yours way

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-21 Thread Jan Kandziora
Am 21.02.2015 um 08:08 schrieb Matthias Urlichs: > Jan Kandziora writes: > >> I strongly recommend to use Pascal Baerten's BAE0911 device instead of >> developing a slave on your own. > > I already _have_ a slave of my own. (AVR-based; writing code that talks to > 1wire is as simple as it gets wi

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-20 Thread Matthias Urlichs
Jan Kandziora writes: > I strongly recommend to use Pascal Baerten's BAE0911 device instead of > developing a slave on your own. I already _have_ a slave of my own. (AVR-based; writing code that talks to 1wire is as simple as it gets with this codebase.) My main problem with the BAE0911 right no

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-20 Thread Jan Kandziora
Am 20.02.2015 um 21:40 schrieb Matthias Urlichs: > > for home automation I'm (finally) going to implement a couple of > semi-intelligent 1wire slaves. Control the heating system, water the garden, > and other things that can't be done by a central server and dumb 1wire > slaves because the house w

[Owfs-developers] How to talk to an 1wire device

2015-02-20 Thread Matthias Urlichs
Hello, for home automation I'm (finally) going to implement a couple of semi-intelligent 1wire slaves. Control the heating system, water the garden, and other things that can't be done by a central server and dumb 1wire slaves because the house will burn down and the yard'll get flooded. ;-) (Don'