Re: [Owfs-developers] RaspberryPI i2c OWFS

2012-05-18 Thread Stuart Poulton
Hi,

Ok, here goes

root@berry:~# time /opt/owfs/bin/owread /uncached/28.5B8A5703/temperature
  21
real0m4.684s
user0m0.010s
sys 0m0.000s

root@berry:~# time /opt/owfs/bin/owread /uncached/28.5B8A5703/temperature
  21
real0m1.623s
user0m0.000s
sys 0m0.010s


The above are DS18B20s on the DS2482-100, and below a DS18b20 on a 1-wire USB 
reader

root@berry:~# time /opt/owfs/bin/owread /uncached/28.52DE9900/temperature
 19.6875
real0m1.586s
user0m0.000s
sys 0m0.000s

I'm now running with 2 off USB, and 2off i2c adaptors all of the same RPi, 
obviously very much idea with nothing more than 1m away from the Pi

root@berry:~# /opt/owfs/bin/owdir 
/81.A6B82100
/28.52DE9900
/81.BA412400
/28.5B8A5703
/28.BF875703
/bus.11
/bus.9
/bus.8
/bus.7
/bus.6
/bus.5
/bus.4
/bus.3
/bus.2
/bus.1
/bus.0
/uncached
/settings
/system
/statistics
/structure
/simultaneous
/alarm










On 17 May 2012, at 22:16, Patryk wrote:

 Dnia 17.05.2012 o 23:05 Stuart Poulton webw...@gmail.com Stuart Poulton  
 webw...@gmail.com napisał(a):
 
 Success, I have OWFS working on a RaspberryPi talking to both an  
 DS2482-100, and DS2482-800.
 
 Full details can be found on my blog: http://go.je/iire
 
 This means that I can now look to finalise details of the Pi-Wire  
 breakout boards described here http://go.je/18v
 
 I'll also be looking to test the DS2483 in the next few days.
 
 
 Great news!
 
 I just received mine Raspi fro RS Components:)
 But I'm not at home son I can't wait to go back.
 Here's a i2c level converted http://www.headfuzz.co.uk/node/46
 
 Could You test how long it takes to read DS18B20 on DS2482-800? With  
 Atmega i2c-usb converter I got ~3 seconds
 
 -- 
 p4trykx
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] RaspberryPI i2c OWFS

2012-05-18 Thread Ivan Lisenkov
Hi Stuart,

Do you power DS2482-100 by 3.3V or 5V?

Also it is better to determinate what bus you are reading e.g.
/uncached/bus.0/28.52DE9900/temperature


Best Regards,

Ivan, PhD



On Fri, May 18, 2012 at 2:39 PM, Stuart Poulton webw...@gmail.com wrote:
 Hi,

 Ok, here goes

 root@berry:~# time /opt/owfs/bin/owread /uncached/28.5B8A5703/temperature
          21
 real    0m4.684s
 user    0m0.010s
 sys     0m0.000s

 root@berry:~# time /opt/owfs/bin/owread /uncached/28.5B8A5703/temperature
          21
 real    0m1.623s
 user    0m0.000s
 sys     0m0.010s


 The above are DS18B20s on the DS2482-100, and below a DS18b20 on a 1-wire USB 
 reader

 root@berry:~# time /opt/owfs/bin/owread /uncached/28.52DE9900/temperature
     19.6875
 real    0m1.586s
 user    0m0.000s
 sys     0m0.000s

 I'm now running with 2 off USB, and 2off i2c adaptors all of the same RPi, 
 obviously very much idea with nothing more than 1m away from the Pi

 root@berry:~# /opt/owfs/bin/owdir
 /81.A6B82100
 /28.52DE9900
 /81.BA412400
 /28.5B8A5703
 /28.BF875703
 /bus.11
 /bus.9
 /bus.8
 /bus.7
 /bus.6
 /bus.5
 /bus.4
 /bus.3
 /bus.2
 /bus.1
 /bus.0
 /uncached
 /settings
 /system
 /statistics
 /structure
 /simultaneous
 /alarm










 On 17 May 2012, at 22:16, Patryk wrote:

 Dnia 17.05.2012 o 23:05 Stuart Poulton webw...@gmail.com Stuart Poulton
 webw...@gmail.com napisał(a):

 Success, I have OWFS working on a RaspberryPi talking to both an
 DS2482-100, and DS2482-800.

 Full details can be found on my blog: http://go.je/iire

 This means that I can now look to finalise details of the Pi-Wire
 breakout boards described here http://go.je/18v

 I'll also be looking to test the DS2483 in the next few days.


 Great news!

 I just received mine Raspi fro RS Components:)
 But I'm not at home son I can't wait to go back.
 Here's a i2c level converted http://www.headfuzz.co.uk/node/46

 Could You test how long it takes to read DS18B20 on DS2482-800? With
 Atmega i2c-usb converter I got ~3 seconds

 --
 p4trykx

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] RaspberryPI i2c OWFS

2012-05-18 Thread Stuart Poulton
Hi,

This is using the 3v3 from the RPi, I've not got the required parts to do level 
conversion but I have a level convertor on order.

Here's the uncached reading again

root@berry:~# time /opt/owfs/bin/owread 
/uncached/bus.1/28.5B8A5703/temperature
 20.5625
real0m1.964s
user0m0.010s
sys 0m0.010s


root@berry:~# time /opt/owfs/bin/owread 
/uncached/bus.11/28.52DE9900/temperature
 19.8125
real0m1.215s
user0m0.010s
sys 0m0.000s


Top is the DS2482-100, bottom the USB

Is there any way to see the 'tree' with owdir ? Similar to the output from 
lsusb -v

Cheers

Stuart

On 18 May 2012, at 11:54, Ivan Lisenkov wrote:

 Hi Stuart,
 
 Do you power DS2482-100 by 3.3V or 5V?
 
 Also it is better to determinate what bus you are reading e.g.
 /uncached/bus.0/28.52DE9900/temperature
 
 
 Best Regards,
 
 Ivan, PhD
 
 
 
 On Fri, May 18, 2012 at 2:39 PM, Stuart Poulton webw...@gmail.com wrote:
 Hi,
 
 Ok, here goes
 
 root@berry:~# time /opt/owfs/bin/owread /uncached/28.5B8A5703/temperature
  21
 real0m4.684s
 user0m0.010s
 sys 0m0.000s
 
 root@berry:~# time /opt/owfs/bin/owread /uncached/28.5B8A5703/temperature
  21
 real0m1.623s
 user0m0.000s
 sys 0m0.010s
 
 
 The above are DS18B20s on the DS2482-100, and below a DS18b20 on a 1-wire 
 USB reader
 
 root@berry:~# time /opt/owfs/bin/owread /uncached/28.52DE9900/temperature
 19.6875
 real0m1.586s
 user0m0.000s
 sys 0m0.000s
 
 I'm now running with 2 off USB, and 2off i2c adaptors all of the same RPi, 
 obviously very much idea with nothing more than 1m away from the Pi
 
 root@berry:~# /opt/owfs/bin/owdir
 /81.A6B82100
 /28.52DE9900
 /81.BA412400
 /28.5B8A5703
 /28.BF875703
 /bus.11
 /bus.9
 /bus.8
 /bus.7
 /bus.6
 /bus.5
 /bus.4
 /bus.3
 /bus.2
 /bus.1
 /bus.0
 /uncached
 /settings
 /system
 /statistics
 /structure
 /simultaneous
 /alarm
 
 
 
 
 
 
 
 
 
 
 On 17 May 2012, at 22:16, Patryk wrote:
 
 Dnia 17.05.2012 o 23:05 Stuart Poulton webw...@gmail.com Stuart Poulton
 webw...@gmail.com napisał(a):
 
 Success, I have OWFS working on a RaspberryPi talking to both an
 DS2482-100, and DS2482-800.
 
 Full details can be found on my blog: http://go.je/iire
 
 This means that I can now look to finalise details of the Pi-Wire
 breakout boards described here http://go.je/18v
 
 I'll also be looking to test the DS2483 in the next few days.
 
 
 Great news!
 
 I just received mine Raspi fro RS Components:)
 But I'm not at home son I can't wait to go back.
 Here's a i2c level converted http://www.headfuzz.co.uk/node/46
 
 Could You test how long it takes to read DS18B20 on DS2482-800? With
 Atmega i2c-usb converter I got ~3 seconds
 
 --
 p4trykx
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list

Re: [Owfs-developers] RaspberryPI i2c OWFS

2012-05-18 Thread Ivan Lisenkov
On Fri, May 18, 2012 at 3:10 PM, Stuart Poulton webw...@gmail.com wrote:
 Hi,

 This is using the 3v3 from the RPi, I've not got the required parts to do 
 level conversion but I have a level convertor on order.

This means, that 1-wire bus is powered by 3.3V, which can slow down
communication on long lines.


 Here's the uncached reading again

 root@berry:~# time /opt/owfs/bin/owread 
 /uncached/bus.1/28.5B8A5703/temperature
     20.5625
 real    0m1.964s
 user    0m0.010s
 sys     0m0.010s


 root@berry:~# time /opt/owfs/bin/owread 
 /uncached/bus.11/28.52DE9900/temperature
     19.8125
 real    0m1.215s
 user    0m0.010s
 sys     0m0.000s


Now time difference is not so high. For sure if you convert to 5 volt
the difference will be negligible.

 Top is the DS2482-100, bottom the USB

 Is there any way to see the 'tree' with owdir ? Similar to the output from 
 lsusb -v

 Cheers

 Stuart

 On 18 May 2012, at 11:54, Ivan Lisenkov wrote:

 Hi Stuart,

 Do you power DS2482-100 by 3.3V or 5V?

 Also it is better to determinate what bus you are reading e.g.
 /uncached/bus.0/28.52DE9900/temperature


 Best Regards,

 Ivan, PhD



 On Fri, May 18, 2012 at 2:39 PM, Stuart Poulton webw...@gmail.com wrote:
 Hi,

 Ok, here goes

 root@berry:~# time /opt/owfs/bin/owread 
 /uncached/28.5B8A5703/temperature
          21
 real    0m4.684s
 user    0m0.010s
 sys     0m0.000s

 root@berry:~# time /opt/owfs/bin/owread 
 /uncached/28.5B8A5703/temperature
          21
 real    0m1.623s
 user    0m0.000s
 sys     0m0.010s


 The above are DS18B20s on the DS2482-100, and below a DS18b20 on a 1-wire 
 USB reader

 root@berry:~# time /opt/owfs/bin/owread 
 /uncached/28.52DE9900/temperature
     19.6875
 real    0m1.586s
 user    0m0.000s
 sys     0m0.000s

 I'm now running with 2 off USB, and 2off i2c adaptors all of the same RPi, 
 obviously very much idea with nothing more than 1m away from the Pi

 root@berry:~# /opt/owfs/bin/owdir
 /81.A6B82100
 /28.52DE9900
 /81.BA412400
 /28.5B8A5703
 /28.BF875703
 /bus.11
 /bus.9
 /bus.8
 /bus.7
 /bus.6
 /bus.5
 /bus.4
 /bus.3
 /bus.2
 /bus.1
 /bus.0
 /uncached
 /settings
 /system
 /statistics
 /structure
 /simultaneous
 /alarm










 On 17 May 2012, at 22:16, Patryk wrote:

 Dnia 17.05.2012 o 23:05 Stuart Poulton webw...@gmail.com Stuart Poulton
 webw...@gmail.com napisał(a):

 Success, I have OWFS working on a RaspberryPi talking to both an
 DS2482-100, and DS2482-800.

 Full details can be found on my blog: http://go.je/iire

 This means that I can now look to finalise details of the Pi-Wire
 breakout boards described here http://go.je/18v

 I'll also be looking to test the DS2483 in the next few days.


 Great news!

 I just received mine Raspi fro RS Components:)
 But I'm not at home son I can't wait to go back.
 Here's a i2c level converted http://www.headfuzz.co.uk/node/46

 Could You test how long it takes to read DS18B20 on DS2482-800? With
 Atmega i2c-usb converter I got ~3 seconds

 --
 p4trykx

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Owfs-developers mailing list
 Owfs-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/owfs-developers


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT 

Re: [Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-18 Thread Guy COLIN
Patryk p4trykx at o2.pl writes:

 I found a workaround for this some time ago.
 
 before writing to the LCD do
 printf 1  /mnt/owfs/29.BABC0800/strobe
 
 and If you want to fiddle with 3 IO
 
 printf 0  /mnt/owfs/29.BABC0800/strobe
 

Thanks for that Patryk,

I will try it as soon as I can access to my system and keep you informed.
Just a few days I hope.
Sounds good
Thks
--
Guy




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-18 Thread Guy COLIN
Patryk p4trykx at o2.pl writes:

 
 before writing to the LCD do
 printf 1  /mnt/owfs/29.BABC0800/strobe
 
 and If you want to fiddle with 3 IO
 
 printf 0  /mnt/owfs/29.BABC0800/strobe
 

Patryk you are The Man. You got it, your workaround is perfectly working.
I don't need anymore. This was several weeks I was struggling with that.
Now I can write to lcd AND use the 3 PIO (3 push buttons in my application)

Thank you very very much




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] Hobby board LCD driver cannot write to lcd and simultaneously read the PIO

2012-05-18 Thread Patryk
Dnia 19.05.2012 o 01:37 Guy COLIN guy.co...@gmail.com Guy COLIN  
guy.co...@gmail.com napisał(a):

 Patryk p4trykx at o2.pl writes:


 before writing to the LCD do
 printf 1  /mnt/owfs/29.BABC0800/strobe

 and If you want to fiddle with 3 IO

 printf 0  /mnt/owfs/29.BABC0800/strobe


 Patryk you are The Man. You got it, your workaround is perfectly working.
 I don't need anymore. This was several weeks I was struggling with that.
 Now I can write to lcd AND use the 3 PIO (3 push buttons in my  
 application)

 Thank you very very much

The strobe is related with RSTZ PIN it pokes LCD that the state of PIOs  
has changed.

If you are more interest in this it on page 5 of datasheet
http://datasheets.maxim-ic.com/en/ds/DS2408.pdf

and here is a part from owfs manual

strobe
read-write, yes-no
  RSTZ Pin Mode Control. Configures RSTZ as either RST input or STRB output:
configured as RST input (default)
configured as STRB output



-- 
p4trykx

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] RaspberryPI i2c OWFS

2012-05-18 Thread Michael Markstaller
Am 18.05.2012 13:35, schrieb Stuart Poulton:
 Sure at the moment it's still very much for testing,

Then I agree ;)
The DS2483 has much more possibilities like the DS2480/2490 which arent 
used in owfs right now like timing on speed, slewrate etc; I'll ge mine 
ready next week and then be with you;
But this chip also needs to be used the right way, interfaced like an 
DS2482 it won't get any better IMHO..

Michael

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers