thinking about network diferences....
ownet is device oriented (each device have a id)
spi and i2c don't, but they have a chip select.... it's a problem....
spi and i2c have a /dev/i2c or similar bus acess file (spidev or i2cdev
linux module)
and setting chip select could be executed by a i2c portexpander or a spi
port expander or a arm digital output....
since it's not plug and play like onewire, we should develop two diferent
things... and configure our server, what config file should have...

bus
|-> bus_id
|-> spi or i2c or digital input/output
\-> device file name

device
|-> device_id
|-> device family (mcp4922, i2c eeprom, or another... a read and a write
values function)
|-> some individual initial configuration?
|-> bus_id (may be only for i2c or spi, i didn't worked with GPIO yet...,
for GPIO we could use device file name not bus_id...)
\-> chipselect device_id/variable=value (only for i2c or spi) (when want use
this device set this value to device_id/variable)


when server running a directory with
/bus/device_id/variables
should be populated

for exemple a GPIO
/bus_id01/device_id01/digital_value
/bus_id01/device_id01/input_or_output

for exemple a mcp4922 (2 port DAC 12bit output)
/bus_id02/device_id01/dac1_value
/bus_id02/device_id01/dac2_value

etc etc ....


the main nice feature is ow protocol that could be used with theses
devices... or bash script...
i don't know if it's fast enought (TCP/IP -> owserver) (maybe... a ethernet
is 10gbits... more than spi...), file system isn't a problem since it will
use fuse...


2010/7/28 Pascal Baerten <[email protected]>

> maths: currently BAE0911 has same AE interpreter as original BAE0910,
> however I have plenty room for extending instruction set. First candidates
> are DIV,MUL, strings operations, and more flexible operands.
>
> PIO to connect a temp sensor: this could be feasible with a planned SVC
> opcode (service call to native assembly eeprom page).
>
> i²c and spi: ports will be accessible from both AE and owfs. Writing a
> wrapper to make theses available as local Linux device should be possible
> and would be nice, however, keep in mind that communication speed on 1-wire
> is really slooow (15kbit/s) compared to i²c (400kbit/s) and spi
> (30+mbit/s) used for SD card...
>
> well... still lot of work, but your suggestions are all welcome, even if
> not for direct implementation, I really like to leave room for extension
> during the coding of basic features...
>
> pascal
>
> 2010/7/28 Rob Conway <[email protected]>
>
>  Just looked at the site, wow, this will be fantastic..  The two BAE910
>> units I ahve on my salt water aquarium + 1 for power monitoring have been
>> great since installation.
>>
>> I have two projects where I will now wait, i/ weather station and ii/ an
>> updated aquarium controller where I needed more I/O than the original BAE910
>> could provide.
>> .
>> Will wait until its released before asking too many questions although I
>> would be interested to know if the next software release has capability to
>> provide some more math functions and I would still like the idea of direct
>> connecting a DS18B20 to an I/O pin for temperature control.
>>
>> rob
>>
>>
>>
>>
>>  -----Original Message-----
>> *From:* Pascal Baerten [mailto:[email protected]]
>> *Sent:* Wednesday, July 28, 2010 6:30 AM
>> *To:* OWFS (One-wire file system) discussion and help
>> *Subject:* Re: [Owfs-developers] interfacing into 1wire
>>
>> Hi everyone.
>>
>> Indeed, I'm actively working on a new slave that allows to connect i²c
>> devices and more i/o.
>> I already have some i²c component to test connectivity like port extender,
>> 16bit adc, 10 bit DAC, temperature sensor and eeprom. But potentially any
>> i²c based sensors could be accessed.
>>
>> This should made easier the interfacing to your pressure sensors also.
>>
>> I just got my alpha version of pcb today (see 
>> here<http://www.brain4home.eu/index.php?option=com_content&view=article&id=38>)
>> but regarding the firmware development only 50% is written.
>> Paul already plan to support it in future release.
>>
>> I will provide more info about this bae0911 soon.
>>
>>
>> Pascal
>>
>> 2010/7/27 Paul Alfille <[email protected]>
>>
>>> I think Pascal Baerten was pondering plans for his devices that might be
>>> relevant.
>>>
>>>   On Tue, Jul 27, 2010 at 8:27 AM, Rob Conway <[email protected]>wrote:
>>>
>>>>   I have been putting off buying 1wire barometers and humidity sensors
>>>> due to price.  I have since discovered that I can buy I2C barometers and
>>>> pressure sensors for $10 - $15.00.
>>>>
>>>> I was thinking of using a simple PIC (PICAXE) to interface to the
>>>> sensors and then use a 1wire counter coupled with maybe 3 digital I/O wired
>>>> between the the pic and 1wire.  I could then pulse a input line on the
>>>> PIC to send one measurement to the counter (simply as counts (0-100% or
>>>> 0-1200mbar) and then simply read the delta change in the counter module.  
>>>> As
>>>> I will eventually want a rain gauge I shall need the 1wire counter anyhow.
>>>> Having two channels on the counter I was thinking it maybe easy to use the
>>>> second channel for this.
>>>>
>>>> Anybody else got any other simple idea's to get this type of info into
>>>> rrdtools running on my server.  I could also simply provide an ascii rs232
>>>> signal direct to the port however liked the idea of using the 1wire bus.
>>>>
>>>> rob
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>>> http://ad.doubleclick.net/clk;226879339;13503038;l?
>>>> http://clk.atdmt.com/CRS/go/247765532/direct/01/
>>>> _______________________________________________
>>>> Owfs-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>> http://ad.doubleclick.net/clk;226879339;13503038;l?
>>> http://clk.atdmt.com/CRS/go/247765532/direct/01/
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>
>>
>> --
>> Pascal
>> www.brain4home.eu
>> to subscribe, send a mail to <[email protected]>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>> Version: 9.0.851 / Virus Database: 271.1.1/3030 - Release Date: 07/27/10
>> 04:34:00
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://ad.doubleclick.net/clk;226879339;13503038;l?
>> http://clk.atdmt.com/CRS/go/247765532/direct/01/
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> --
> Pascal
> www.brain4home.eu
> to subscribe, send a mail to <[email protected]>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>


-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to