I got a few Moteinos and shoved one in a box with a battery. I'd like to 
get a few sensors (1Wire and otherwise) linked up on owexternal ..

http://www.cupidcontrols.com/?p=199

Colin


On 2/11/2014 10:37, Stuart Poulton wrote:
> Colin,
>
> Couple of thoughts, which I may have mentioned previously
>
> 1 - Meshing introduces some restrictions when there are sleeping nodes iirc.
> 2 - The key to getting decent battery life is making sure that
> everything sleeps at every available opportunity. For example, the
> radio, and uC sleep whilst the DS18B20 is doing the conversion.
>
> Certainly gives some food for thought.
>
> Stuart
>
> On 11 Feb 2014, at 15:49, Colin Reese wrote:
>
>> Hi Stuart,
>>
>> I don't want to discount how cool I think this idea is - it's great,
>> and proves this can be done effectively.
>>
>> On the surface, I can get this functionality from the XBee Series 2
>> and an ATMega/ATTiny and have demonstrated this. You can also add
>> 1Wire sensors to the uC - I've had luck bitbanging the DS18B20 across
>> a serial XBee bridge.
>>
>> The final pieces here (for me) are intelligently reading multiple
>> devices across the network, preferably meshing, and then spoonfeeding
>> this to owfs to mount them. I don't have to have the last piece, and
>> until owexternal is ready, I'll probably just write up my serial XBee
>> AT commands to pop the values and metadata into a database. I'm doing
>> that with all the owfs data anyway, so it's just an order of
>> operations and code duplication issue ... not to mention having to
>> work out all the XBee API syntax.
>>
>> OTAMP would be nice though ...
>>
>> Colin
>>
>>
>> On Tue, Feb 11, 2014 at 5:35 AM, Stuart Poulton <webw...@gmail.com
>> <mailto:webw...@gmail.com>> wrote:
>>
>>     Hi Eloy,
>>
>>     Time for a little self promotion. The following blog post
>>
>>     
>> http://labs.homelabs.org.uk/wireless-temperature-sensor-using-ciseco-rfu-328/
>>
>>     Does exactly this, low power battery sensors using a wireless (NOT
>>     WIFI)
>>     layer using off the shelf components, I'm about to send of a PCB order
>>     for custom PCB's.
>>
>>     The base station is indeed a raspberryPi.
>>
>>     Sensors, are atmega328 based, and initial tests suggest 2 years usage
>>     with 2xAA batteries and samples every 60 seconds. One of the added
>>     bonuses here is the RFU units are somewhat more intelligent than
>>     the RFM
>>     series, and work as a transparent serial connections, also supporting
>>     remote firmware upload.
>>
>>     Happy to take questions, and suggestions on the above.
>>
>>
>>     Stuart
>>
>>
>>
>>
>>     On 11/02/14 12:21, Eloy Paris wrote:
>>     > Colin, Stuart,
>>     >
>>     > On 02/10/2014 10:30 PM, Colin Reese wrote:
>>     >
>>     >> Anybody chime in with status on this? I think this will be where I
>>     >> go.
>>     >>
>>     >> On 2/10/2014 06:47, Stuart Poulton wrote:
>>     >>> To be fair, I would have thought this was the ideal application
>>     >>> for
>>     >>>
>>     >>> http://owfs.org/index.php?page=external-sensor-design
>>     >>>
>>     >>> Not sure where Paul is with support etc, if it even exits.
>>     > I believe that what you are trying to achieve (small wireless
>>     sensors
>>     > that are cheap, can run on batteries for month or years, and can
>>     > potentially be integrated with OWFS) is the holy grail of data
>>     > collection in a small environment like our homes. We all have done
>>     > something similar with 1-Wire in one way or the other but 1-Wire
>>     uses
>>     > wires so sometimes we are limited in where we can place our
>>     1-Wire sensors.
>>     >
>>     > I also have been looking at ways to solve this. I've done some work
>>     > using ATmega 328 and RFM12B wireless transceivers and think that
>>     it is a
>>     > good and very cheap option (for new developments I'd look at the
>>     RFM69).
>>     > I think Xbee is too expensive, especially when considering that the
>>     > RFM12B is a very viable option. Raspberry Pi and anything
>>     running Linux
>>     > is overkill and too power hungry for this application, in my
>>     opinion.
>>     >
>>     > I suggest you look at two options you can buy "off the shelf":
>>     >
>>     > 1. Moteino
>>     >
>>     > 2. JeeNodes
>>     >
>>     > These two have the RFM12B integrated with the ATmega on a small
>>     board.
>>     >
>>     > That solves the hardware problem. The issue then becomes a
>>     software issue...
>>     >
>>     > I do not think anyone has been successful in integrating a
>>     non-1-Wire
>>     > device with OWFS via owexternal. I can tell you that I tried but
>>     didn't
>>     > find that it was ready for prime time. I just couldn't get it
>>     work and
>>     > moved on to another way to build a wireless sensor network
>>     (using xPL,
>>     > which shows some promise, but I still think it would have been
>>     nice to
>>     > be able to integrate it with OWFS).
>>     >
>>     > Anyway, here's a discussion from July of 2013 when I was trying
>>     to get
>>     > owexternal work:
>>     >
>>     >
>>     
>> http://owfs-developers.1086194.n5.nabble.com/External-sensor-support-td9779.html
>>     >
>>     > As you can see from the discussion, at the time I probably was
>>     the first
>>     > person to give this a try, and the discussion didn't end in
>>     anything.
>>     >
>>     > Please keep us posted on this as it's a very important topic.
>>     >
>>     > Cheers,
>>     >
>>     > Eloy Paris.-
>>     >
>>     >   >>
>>     >>> On 10/02/14 14:36, Colin Reese wrote:
>>     >>>> Silly me; atmega328 has i2c. I can use the 2483, but need to
>>     get data
>>     >>>> out.
>>     >>>>
>>     >>>> Per the earlier conversation, can I mount the xbee serial
>>     /dev/AMA0 as
>>     >>>> a bus if running in transparent? I believe this us possible, but
>>     >>>> limited to one bus.
>>     >>>>
>>     >>>> This may have been previously discussed, but an API-mode
>>     master to
>>     >>>> expose all remote buses would be great. I guess you'd need
>>     some glue
>>     >>>> to read all remote xbees and respond to owfs with something
>>     it would
>>     >>>> interpret as the multiple buses.
>>     >>>>
>>     >>>> On Feb 10, 2014, at 5:56, Vajk Fekete <vaj...@gmail.com
>>     <mailto:vaj...@gmail.com>
>>     >>>> <mailto:vaj...@gmail.com <mailto:vaj...@gmail.com>>> wrote:
>>     >>>>
>>     >>>>> You do need some 1wire host for the AVR too.
>>     >>>>> If not, that means you plan for bit banging and a passive
>>     interface.
>>     >>>>> Same is possible with openwrt and a cheap router.
>>     >>>>>
>>     >>>>> An other option is the arduino YUN, which is an arduino and
>>     a wifi
>>     >>>>> module. But the wifi module in there is a complete "cheap home
>>     >>>>> router" with the ethernet ports stripped, and runs openwrt
>>     just like
>>     >>>>> the router. And this is reflected in the price too. To me it
>>     sounds
>>     >>>>> weird to have a wifi module that has at least 32Mbytes RAM,
>>     8Mbytes
>>     >>>>> flash, a ~300Mhz CPU, and use it as a communication
>>     subsystem for a
>>     >>>>> uController that is running 16Mhz and maybe has 32Kbyte
>>     flash and
>>     >>>>> 2500bytes RAM.
>>     >>>>>
>>     >>>>> Vajk
>>     >>>>>
>>     >>>>>
>>     >>>>>
>>     >>>>> On Mon, Feb 10, 2014 at 2:40 PM, Colin Law
>>     <clan...@gmail.com <mailto:clan...@gmail.com>
>>     >>>>> <mailto:clan...@gmail.com <mailto:clan...@gmail.com>>> wrote:
>>     >>>>>
>>     >>>>>        On 10 February 2014 13:36, Vajk Fekete
>>     <vaj...@gmail.com <mailto:vaj...@gmail.com>
>>     >>>>>        <mailto:vaj...@gmail.com <mailto:vaj...@gmail.com>>>
>>     wrote:
>>     >>>>>        > There are several options
>>     >>>>>        >  - real usb 1wire host - pretty expensive
>>     >>>>>        >  - usb serial+serial host
>>     >>>>>        >  - use the internally available serial port (the
>>     console of the
>>     >>>>>        machine,
>>     >>>>>
>>     >>>>>        Options 2 and 3 are not going to be significantly
>>     cheaper than the
>>     >>>>>        first are they?
>>     >>>>>
>>     >>>>>        Colin
>>     >>>>>
>>     >>>>>        > like with rpi) and use a serial 1wire host
>>     >>>>>        >  - use some available gpio lines and do bit-banging
>>     >>>>>        >
>>     >>>>>        > I went for the first because this is only a hobby
>>     for me, and
>>     >>>>>        already had
>>     >>>>>        > three 9490s on hand.
>>     >>>>>        >
>>     >>>>>        > Vajk
>>     >>>>>        >
>>     >>>>>        >
>>     >>>>>        > On Mon, Feb 10, 2014 at 1:20 PM, Colin Law
>>     <clan...@gmail.com <mailto:clan...@gmail.com>
>>     >>>>>        <mailto:clan...@gmail.com
>>     <mailto:clan...@gmail.com>>> wrote:
>>     >>>>>        >>
>>     >>>>>        >> On 10 February 2014 12:01, Vajk Fekete
>>     <vaj...@gmail.com <mailto:vaj...@gmail.com>
>>     >>>>>        <mailto:vaj...@gmail.com <mailto:vaj...@gmail.com>>>
>>     wrote:
>>     >>>>>        >> > I do not see what is the reason against the
>>     linux box. I do
>>     >>>>>        not think
>>     >>>>>        >> > you
>>     >>>>>        >> > could get cheaper with an avr and Xbee than a
>>     tplink 703n,
>>     >>>>>        >> >
>>     >>>>>        >> > http://www.ebay.com/bhp/tp-link-tl-wr703n
>>     >>>>>        >>
>>     >>>>>        >> I presume one would need a usb/1wire adaptor with
>>     that.
>>     >>>>>        >>
>>     >>>>>        >> Colin
>>     >>>>>        >>
>>     >>>>>        >> >
>>     >>>>>        >> > Vajk
>>     >>>>>        >> >
>>     >>>>>        >> >
>>     >>>>>        >> > On Sun, Feb 9, 2014 at 10:48 PM, Colin Reese
>>     >>>>>        <colin.re...@gmail.com <mailto:colin.re...@gmail.com>
>>     <mailto:colin.re...@gmail.com <mailto:colin.re...@gmail.com>>>
>>     >>>>>        >> > wrote:
>>     >>>>>        >> >>
>>     >>>>>        >> >> I want to run a microcontroller with a remote
>>     owserver or 1Wire
>>     >>>>>        >> >> devices.
>>     >>>>>        >> >> I don't want/need another linux box. A cheap
>>     AVR and WiFi
>>     >>>>>        unit like an
>>     >>>>>        >> >> XBee WiFi would be ideal. Is there not AVR code
>>     that would
>>     >>>>>        run owserver
>>     >>>>>        >> >> over a WiFi module?
>>     >>>>>        >> >>
>>     >>>>>        >> >> Where can I find docs on owexternal? I've seen
>>     mention of
>>     >>>>>        it but
>>     >>>>>        >> >> nothing
>>     >>>>>        >> >> complete.
>>     >>>>>        >> >>
>>     >>>>>        >> >> Colin
>>     >>>>>        >> >>
>>     >>>>>        >> >>
>>     >>>>>        >> >> On 2/9/2014 13:41, Michael Markstaller wrote:
>>     >>>>>        >> >> >
>>     >>>>>        >> >> >
>>     >>>>>        >> >> > On 09.02.2014 22:13, Colin Reese wrote:
>>     >>>>>        >> >> >> Paul,
>>     >>>>>        >> >> >>
>>     >>>>>        >> >> >> How would you envision implementing a remote
>>     owserver
>>     >>>>>        over a WiFi
>>     >>>>>        >> >> >> module?
>>     >>>>>        >> >> > This is 100% easy and possible since many
>>     years, just
>>     >>>>>        take any
>>     >>>>>        >> >> > openwrt-router and run owserver on it.. Works
>>     pretty fine
>>     >>>>>        24x7.
>>     >>>>>        >> >> >
>>     >>>>>        >> >> > The other way around, low-power I'd more
>>     guess on 6lowpan and
>>     >>>>>        >> >> > ow-external, which is also right in place.
>>     >>>>>        >> >> >
>>     >>>>>        >> >> > Michael
>>     >>>>>        >> >> >
>>     >>>>>        >> >> >
>>     >
>>     >
>>     
>> ------------------------------------------------------------------------------
>>     > Android apps run on BlackBerry 10
>>     > Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>>     > Now with support for Jelly Bean, Bluetooth, Mapview and more.
>>     > Get your Android app in front of a whole new audience.  Start now.
>>     >
>>     
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>>     > _______________________________________________
>>     > Owfs-developers mailing list
>>     > Owfs-developers@lists.sourceforge.net
>>     <mailto:Owfs-developers@lists.sourceforge.net>
>>     > https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>>     
>> ------------------------------------------------------------------------------
>>     Android apps run on BlackBerry 10
>>     Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>>     Now with support for Jelly Bean, Bluetooth, Mapview and more.
>>     Get your Android app in front of a whole new audience.  Start now.
>>     
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>>     _______________________________________________
>>     Owfs-developers mailing list
>>     Owfs-developers@lists.sourceforge.net
>>     <mailto:Owfs-developers@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>> ------------------------------------------------------------------------------
>> Android apps run on BlackBerry 10
>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>> Get your Android app in front of a whole new audience.  Start now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk_______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to