Hello Attila, you could also try http://priesch.co.at/pyowfs
with it it should be possible to get any entry in the owfs tree ... interesting though that the 8bit value gets calculated differently ... i also fiddled around with the ds2450 some day and found out that anything below 8bit is just a marketing gag ;) however you should be able to enhance the resolution by oversampling, but i never actually used it ... http://en.wikipedia.org/wiki/Oversampling hope this helps ... regards, marcus. -- sent from my n900 -- the commercial-free, do-whatever-you-want, true and free open-source phone :) ----- Ursprüngliche Mitteilung ----- > Thank you Paul, > > yes, I thought this, but seems the 8bit value seems calculated otherwise > (inside the chip) then the 16bit, and its more stable and precise then > converting the 16bit to 8bit... Readout speed is not important, its very > fast to read out. (about 0.05 sec each) > > > > On Wed, Oct 17, 2012 at 1:09 PM, Paul Alfille > <paul.alfi...@gmail.com>wrote: > > > I don't know about the python code, but you could just truncate the > > data. 5V / 256 = ~.02 so drop everything after the first two decimal > > points. > > > > That being said, the 8nit resolution should be faster, which may be > > important to you. > > > > Paul Alfille > > > > On Wed, Oct 17, 2012 at 5:02 AM, Attila <bigm...@gmail.com> wrote: > > > > > Hi All, > > > > > > I'm new with OWFS and Python as well, and working on a project to > > > read some temperature sensors. I found OWPython module very handy, > > > and easy to use - although now I hit a problem, and Google did not > > > provide an answer for me... > > > > > > I use a DS2450 AD converter to read an RTD sensor using the > > > appropriate amplifier circuit. I just realised that 16bit resolution > > > is not true on DS2450 (as it is written on its datasheet as well), > > > and values I read out with 16 bit is very noisy - simply unusable > > > for me (volt_A, etc). I would like to read out the 8bit values > > > instead, which seems much more stable and precise - but have no luck > > > doing it from python. > > > > > > entryList function gives me back this list of entries for DS2450: > > > > > > ['8bit', 'CO2', 'PIO.ALL', 'PIO.A', 'PIO.B', 'PIO.C', 'PIO.D', > > > 'address', 'alarm', 'alias', 'crc8', 'family', 'id', 'locator', > > > 'memory', 'pages', 'power', 'r_address', 'r_id', 'r_locator', > > > 'set_alarm', 'type', 'volt.ALL', 'volt.A', 'volt.B', 'volt.C', > > > 'volt.D', 'volt2.ALL', 'volt2.A', 'volt2.B', 'volt2.C', 'volt2.D'] > > > > > > In owfs, the values are under 8bit/volt.A file - but how can I > > > access it using OWPython? seems Python does not accept names > > > starting with numbers, so I cannot use anything like > > > > > > value = s.8bit.volt_A > > > > > > I'm sure I'm not the only one hitting this, but could not find it > > > documented. Can anyone please help? > > > > > > Thank you very much! > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://p.sf.net/sfu/appdyn_sfd2d_oct > > > _______________________________________________ > > > Owfs-developers mailing list > > > Owfs-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_sfd2d_oct > > _______________________________________________ > > Owfs-developers mailing list > > Owfs-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers