Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Peter Hollenbeck
I'll work on it but I only have another day at my remote outpost in British Columbia. When I leave the problem goes away. Getting the voltage isn't necessary. It just would be nice to see it from a thousand miles away. Thanks for your input. Peter On Sat, Feb 21, 2015 at 1:42 PM, Jan Kandziora wr

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Jan Kandziora
Am 21.02.2015 um 21:21 schrieb Peter Hollenbeck: > > The higher the value the lower the output. > This usually means there already is a voltage divider (or at least a parallel resistance) in the measurement device and you are superposing another. You could measure it and calculate the outer pair, b

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Peter Hollenbeck
I get it. Thanks. On Sat, Feb 21, 2015 at 12:10 PM, Colin Reese wrote: > I mean that with a divider of 2.2k + 10k, 10V at the midpoint corresponds > to 12.2V across the entirety. Similarly, 4.7k+10k will give you 14.7 / 10 * > 10V = 14.7V range (10V at midpoint is 14.7V across entirety). > > C >

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Peter Hollenbeck
I don't get it and doubt I ever will. I have been wrestling with this for ages.I used to be a halfway decent programmer. Thankfully I didn't try electronics. I read online that equal resistor values will halve the voltage reading, Exactly what I want. Bring it down from 12 to 6 so the MS-TV will h

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Colin Reese
I mean that with a divider of 2.2k + 10k, 10V at the midpoint corresponds to 12.2V across the entirety. Similarly, 4.7k+10k will give you 14.7 / 10 * 10V = 14.7V range (10V at midpoint is 14.7V across entirety). C > On Feb 21, 2015, at 11:53 AM, Peter Hollenbeck wrote: > > Colin, > Sorry a

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Peter Hollenbeck
Colin, Sorry about my feeble attempt at ASCII art. My divider consists of two connected 1K resistors. Battery plus and minus are connected at the ends. MS-TV red wire connected at the center. MS-TV black wire connected at same place as battery minus. I will try your suggestion. What do you mean "a

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Peter Hollenbeck
The MS-TV is here: http://www.ibuttonlink.com/products/ms-tv It uses a DS-2438Z . It has only a red wire and a black wire, no green or blue. Peter On Sat, Feb 21, 2015 at 11:35 AM, Gregg Levine wrote: > Hello! > Makes sense to me. But then I'm not familiar with how your sensors work. > > But wha

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Colin Reese
I unfortunately cannot read your ascii art, which in itself is disappointing. 2k is a bit low for a divider - you'll get standby current of 6mA. You should also try optimizing the split to fit the range you can measure. So you'd want a ratio of R2/Rtotal =measured range/ measurable range. So 2.

Re: [Owfs-developers] Voltage Divider

2015-02-21 Thread Gregg Levine
Hello! Makes sense to me. But then I'm not familiar with how your sensors work. But what's that green wire doing, and also that blue wire doing? - Gregg C Levine gregg.drw...@gmail.com "This signature fought the Time Wars, time and again." On Sat, Feb 21, 2015 at 2:29 PM, Peter Hollenbeck w

[Owfs-developers] Voltage Divider

2015-02-21 Thread Peter Hollenbeck
I am using a LinkUSB and an MS-TV to read voltage from a 12 volt system. The MS-TV is limited to 10 volts so a made a voltage divider. I know next to nothing about electronics. Two weeks ago, with a test 12v power supply I played with various resistor values, from 1K to 1M. The 1K resistors appeare

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] DS2423 strangeness (again)

2015-02-21 Thread Jan Kandziora
Am 21.02.2015 um 04:49 schrieb Gregg Levine: > Hello! > Okay it works as expected with the chosen components to support > debounce. Oh and I used a magnetically triggered mechanical switch to > try it. > > Next question, can you Jan supply me with a copy of your software? As > it happens I'd like