Reply by bbhack October 17, 20112011-10-17
On 10/11/2011 10:08 AM, linnix wrote:
> On Oct 10, 9:40 pm, bbhack<bbh...@gmail.com> wrote: >> On 10/10/2011 07:48 PM, linnix wrote: >> >> >> >> >> >>> On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> wrote: >>>> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: >> >>>>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> wrote: >>>>>> I want to put a remote weather station in Central Texas. There is no 3G >>>>>> there. It would be good to reduce components - using an Android phone as >>>>>> the only programmable part of the system, with a USB interface >>>>>> presumably. There is AC. >> >>>>>> Nothing is selected now. I'm not really well versed in the cellular data >>>>>> standards, but I know a little. Thoughts? >> >>>>> you said you have AC so, maybe X10/domotics to a 'receiver'/'host >>>>> computer in a more hospitable location. Then either internet or phone >>>>> or ??? >> >>>> This is for pretty much out in the middle of nowhere. >> >>> How far away are the sensors from your central (for lack of a better >>> term) location? >> >> The sensors and the "station" are in the same place. So there is no >> complicated scheme between the sensors the telemetry node > > If you can collect all data with internal sensors (sound, image, > motion, etc.), then you can do all software and all Java. However, if > you need external sensor inputs, it gets more complicated. > > Most Android phones are USB device (slave), and as such, cannot > initiate external triggers and/or events. So, you would need an > external controller to collect data and "ADB push" into the phone. > Android Debug Bridge (ADB) is a standard protocol in all Android > phones. We are using a PIC24FJ256DA206 to do it. > > You can have a Java App talking to a socket server or just polling > some data location in flash memory. Furthermore, you are likely > limited to user space access, without doing too much damage to the > phone. We have gained temperory root access to a LG VS740, but it > won't survive reboot. Making permanent root access risks bricking the > phone. So, we are not there yet.
I just installed the Android SDK on a 32 bit laptop. To say it is slow is to be understated.
Reply by 1 Lucky Texan October 12, 20112011-10-12
On Oct 12, 10:53=A0am, linnix <m...@linnix.info-for.us> wrote:
> On Oct 12, 8:34=A0am, 1 Lucky Texan <1luckyte...@gmail.com> wrote: > > > > > > > > > > > On Oct 11, 1:26=A0pm, 1 Lucky Texan <1luckyte...@gmail.com> wrote: > > > > On Oct 11, 10:08=A0am, linnix <m...@linnix.info-for.us> wrote: > > > > > On Oct 10, 9:40=A0pm, bbhack <bbh...@gmail.com> wrote: > > > > > > On 10/10/2011 07:48 PM, linnix wrote: > > > > > > > On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> =A0wrote: > > > > > >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: > > > > > > >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> =A0 =A0wrote: > > > > > >>>> I want to put a remote weather station in Central Texas. The=
re is no 3G
> > > > > >>>> there. It would be good to reduce components - using an Andr=
oid phone as
> > > > > >>>> the only programmable part of the system, with a USB interfa=
ce
> > > > > >>>> presumably. There is AC. > > > > > > >>>> Nothing is selected now. I'm not really well versed in the c=
ellular data
> > > > > >>>> standards, but I know a little. Thoughts? > > > > > > >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'=
host
> > > > > >>> computer in a more hospitable location. Then either internet =
or phone
> > > > > >>> or ??? > > > > > > >> This is for pretty much out in the middle of nowhere. > > > > > > > How far away are the sensors from your central (for lack of a b=
etter
> > > > > > term) location? > > > > > > The sensors and the "station" are in the same place. So there is =
no
> > > > > complicated scheme between the sensors the telemetry node > > > > > If you can collect all data with internal sensors (sound, image, > > > > motion, etc.), then you can do all software and all Java. =A0Howeve=
r, if
> > > > you need external sensor inputs, it gets more complicated. > > > > > Most Android phones are USB device (slave), and as such, cannot > > > > initiate external triggers and/or events. =A0So, you would need an > > > > external controller to collect data and "ADB push" into the phone. > > > > Android Debug Bridge (ADB) is a standard protocol in all Android > > > > phones. =A0We are using a PIC24FJ256DA206 to do it. > > > > > You can have a Java App talking to a socket server or just polling > > > > some data location in flash memory. =A0Furthermore, you are likely > > > > limited to user space access, without doing too much damage to the > > > > phone. =A0We have gained temperory root access to a LG VS740, but i=
t
> > > > won't survive reboot. =A0Making permanent root access risks brickin=
g the
> > > > phone. =A0So, we are not there yet. > > > > Well, you could build something discriminate 'stepped' audio > > > frequencies anda few photocells could detect lit areas of the screen. > > > But yeah, not the same as digital I/O or serial out. > > > It also occurs to me, you should be able to emulate a modem with an > > Android phone > > Yes, if you provide the driver.
There's always a catch.....
Reply by linnix October 12, 20112011-10-12
On Oct 12, 8:34=A0am, 1 Lucky Texan <1luckyte...@gmail.com> wrote:
> On Oct 11, 1:26=A0pm, 1 Lucky Texan <1luckyte...@gmail.com> wrote: > > > > > > > On Oct 11, 10:08=A0am, linnix <m...@linnix.info-for.us> wrote: > > > > On Oct 10, 9:40=A0pm, bbhack <bbh...@gmail.com> wrote: > > > > > On 10/10/2011 07:48 PM, linnix wrote: > > > > > > On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> =A0wrote: > > > > >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: > > > > > >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> =A0 =A0wrote: > > > > >>>> I want to put a remote weather station in Central Texas. There=
is no 3G
> > > > >>>> there. It would be good to reduce components - using an Androi=
d phone as
> > > > >>>> the only programmable part of the system, with a USB interface > > > > >>>> presumably. There is AC. > > > > > >>>> Nothing is selected now. I'm not really well versed in the cel=
lular data
> > > > >>>> standards, but I know a little. Thoughts? > > > > > >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'ho=
st
> > > > >>> computer in a more hospitable location. Then either internet or=
phone
> > > > >>> or ??? > > > > > >> This is for pretty much out in the middle of nowhere. > > > > > > How far away are the sensors from your central (for lack of a bet=
ter
> > > > > term) location? > > > > > The sensors and the "station" are in the same place. So there is no > > > > complicated scheme between the sensors the telemetry node > > > > If you can collect all data with internal sensors (sound, image, > > > motion, etc.), then you can do all software and all Java. =A0However,=
if
> > > you need external sensor inputs, it gets more complicated. > > > > Most Android phones are USB device (slave), and as such, cannot > > > initiate external triggers and/or events. =A0So, you would need an > > > external controller to collect data and "ADB push" into the phone. > > > Android Debug Bridge (ADB) is a standard protocol in all Android > > > phones. =A0We are using a PIC24FJ256DA206 to do it. > > > > You can have a Java App talking to a socket server or just polling > > > some data location in flash memory. =A0Furthermore, you are likely > > > limited to user space access, without doing too much damage to the > > > phone. =A0We have gained temperory root access to a LG VS740, but it > > > won't survive reboot. =A0Making permanent root access risks bricking =
the
> > > phone. =A0So, we are not there yet. > > > Well, you could build something discriminate 'stepped' audio > > frequencies anda few photocells could detect lit areas of the screen. > > But yeah, not the same as digital I/O or serial out. > > It also occurs to me, you should be able to emulate a modem with an > Android phone
Only if the OP plans to put a Desktop/Laptop/Tablet there. If so, he could just use the native ADB interface, instead of a modem interface.
Reply by linnix October 12, 20112011-10-12
On Oct 12, 8:34=A0am, 1 Lucky Texan <1luckyte...@gmail.com> wrote:
> On Oct 11, 1:26=A0pm, 1 Lucky Texan <1luckyte...@gmail.com> wrote: > > > > > > > On Oct 11, 10:08=A0am, linnix <m...@linnix.info-for.us> wrote: > > > > On Oct 10, 9:40=A0pm, bbhack <bbh...@gmail.com> wrote: > > > > > On 10/10/2011 07:48 PM, linnix wrote: > > > > > > On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> =A0wrote: > > > > >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: > > > > > >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> =A0 =A0wrote: > > > > >>>> I want to put a remote weather station in Central Texas. There=
is no 3G
> > > > >>>> there. It would be good to reduce components - using an Androi=
d phone as
> > > > >>>> the only programmable part of the system, with a USB interface > > > > >>>> presumably. There is AC. > > > > > >>>> Nothing is selected now. I'm not really well versed in the cel=
lular data
> > > > >>>> standards, but I know a little. Thoughts? > > > > > >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'ho=
st
> > > > >>> computer in a more hospitable location. Then either internet or=
phone
> > > > >>> or ??? > > > > > >> This is for pretty much out in the middle of nowhere. > > > > > > How far away are the sensors from your central (for lack of a bet=
ter
> > > > > term) location? > > > > > The sensors and the "station" are in the same place. So there is no > > > > complicated scheme between the sensors the telemetry node > > > > If you can collect all data with internal sensors (sound, image, > > > motion, etc.), then you can do all software and all Java. =A0However,=
if
> > > you need external sensor inputs, it gets more complicated. > > > > Most Android phones are USB device (slave), and as such, cannot > > > initiate external triggers and/or events. =A0So, you would need an > > > external controller to collect data and "ADB push" into the phone. > > > Android Debug Bridge (ADB) is a standard protocol in all Android > > > phones. =A0We are using a PIC24FJ256DA206 to do it. > > > > You can have a Java App talking to a socket server or just polling > > > some data location in flash memory. =A0Furthermore, you are likely > > > limited to user space access, without doing too much damage to the > > > phone. =A0We have gained temperory root access to a LG VS740, but it > > > won't survive reboot. =A0Making permanent root access risks bricking =
the
> > > phone. =A0So, we are not there yet. > > > Well, you could build something discriminate 'stepped' audio > > frequencies anda few photocells could detect lit areas of the screen. > > But yeah, not the same as digital I/O or serial out. > > It also occurs to me, you should be able to emulate a modem with an > Android phone
Yes, if you provide the driver.
Reply by 1 Lucky Texan October 12, 20112011-10-12
On Oct 11, 1:26=A0pm, 1 Lucky Texan <1luckyte...@gmail.com> wrote:
> On Oct 11, 10:08=A0am, linnix <m...@linnix.info-for.us> wrote: > > > > > > > > > > > On Oct 10, 9:40=A0pm, bbhack <bbh...@gmail.com> wrote: > > > > On 10/10/2011 07:48 PM, linnix wrote: > > > > > On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> =A0wrote: > > > >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: > > > > >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> =A0 =A0wrote: > > > >>>> I want to put a remote weather station in Central Texas. There i=
s no 3G
> > > >>>> there. It would be good to reduce components - using an Android =
phone as
> > > >>>> the only programmable part of the system, with a USB interface > > > >>>> presumably. There is AC. > > > > >>>> Nothing is selected now. I'm not really well versed in the cellu=
lar data
> > > >>>> standards, but I know a little. Thoughts? > > > > >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'host > > > >>> computer in a more hospitable location. Then either internet or p=
hone
> > > >>> or ??? > > > > >> This is for pretty much out in the middle of nowhere. > > > > > How far away are the sensors from your central (for lack of a bette=
r
> > > > term) location? > > > > The sensors and the "station" are in the same place. So there is no > > > complicated scheme between the sensors the telemetry node > > > If you can collect all data with internal sensors (sound, image, > > motion, etc.), then you can do all software and all Java. =A0However, i=
f
> > you need external sensor inputs, it gets more complicated. > > > Most Android phones are USB device (slave), and as such, cannot > > initiate external triggers and/or events. =A0So, you would need an > > external controller to collect data and "ADB push" into the phone. > > Android Debug Bridge (ADB) is a standard protocol in all Android > > phones. =A0We are using a PIC24FJ256DA206 to do it. > > > You can have a Java App talking to a socket server or just polling > > some data location in flash memory. =A0Furthermore, you are likely > > limited to user space access, without doing too much damage to the > > phone. =A0We have gained temperory root access to a LG VS740, but it > > won't survive reboot. =A0Making permanent root access risks bricking th=
e
> > phone. =A0So, we are not there yet. > > Well, you could build something discriminate 'stepped' audio > frequencies anda few photocells could detect lit areas of the screen. > But yeah, not the same as digital I/O or serial out.
It also occurs to me, you should be able to emulate a modem with an Android phone.
Reply by 1 Lucky Texan October 11, 20112011-10-11
On Oct 11, 10:08=A0am, linnix <m...@linnix.info-for.us> wrote:
> On Oct 10, 9:40=A0pm, bbhack <bbh...@gmail.com> wrote: > > > > > > > > > > > On 10/10/2011 07:48 PM, linnix wrote: > > > > On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> =A0wrote: > > >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: > > > >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> =A0 =A0wrote: > > >>>> I want to put a remote weather station in Central Texas. There is =
no 3G
> > >>>> there. It would be good to reduce components - using an Android ph=
one as
> > >>>> the only programmable part of the system, with a USB interface > > >>>> presumably. There is AC. > > > >>>> Nothing is selected now. I'm not really well versed in the cellula=
r data
> > >>>> standards, but I know a little. Thoughts? > > > >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'host > > >>> computer in a more hospitable location. Then either internet or pho=
ne
> > >>> or ??? > > > >> This is for pretty much out in the middle of nowhere. > > > > How far away are the sensors from your central (for lack of a better > > > term) location? > > > The sensors and the "station" are in the same place. So there is no > > complicated scheme between the sensors the telemetry node > > If you can collect all data with internal sensors (sound, image, > motion, etc.), then you can do all software and all Java. =A0However, if > you need external sensor inputs, it gets more complicated. > > Most Android phones are USB device (slave), and as such, cannot > initiate external triggers and/or events. =A0So, you would need an > external controller to collect data and "ADB push" into the phone. > Android Debug Bridge (ADB) is a standard protocol in all Android > phones. =A0We are using a PIC24FJ256DA206 to do it. > > You can have a Java App talking to a socket server or just polling > some data location in flash memory. =A0Furthermore, you are likely > limited to user space access, without doing too much damage to the > phone. =A0We have gained temperory root access to a LG VS740, but it > won't survive reboot. =A0Making permanent root access risks bricking the > phone. =A0So, we are not there yet.
Well, you could build something discriminate 'stepped' audio frequencies anda few photocells could detect lit areas of the screen. But yeah, not the same as digital I/O or serial out.
Reply by linnix October 11, 20112011-10-11
On Oct 10, 9:40=A0pm, bbhack <bbh...@gmail.com> wrote:
> On 10/10/2011 07:48 PM, linnix wrote: > > > > > > > On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> =A0wrote: > >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: > > >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> =A0 =A0wrote: > >>>> I want to put a remote weather station in Central Texas. There is no=
3G
> >>>> there. It would be good to reduce components - using an Android phon=
e as
> >>>> the only programmable part of the system, with a USB interface > >>>> presumably. There is AC. > > >>>> Nothing is selected now. I'm not really well versed in the cellular =
data
> >>>> standards, but I know a little. Thoughts? > > >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'host > >>> computer in a more hospitable location. Then either internet or phone > >>> or ??? > > >> This is for pretty much out in the middle of nowhere. > > > How far away are the sensors from your central (for lack of a better > > term) location? > > The sensors and the "station" are in the same place. So there is no > complicated scheme between the sensors the telemetry node
If you can collect all data with internal sensors (sound, image, motion, etc.), then you can do all software and all Java. However, if you need external sensor inputs, it gets more complicated. Most Android phones are USB device (slave), and as such, cannot initiate external triggers and/or events. So, you would need an external controller to collect data and "ADB push" into the phone. Android Debug Bridge (ADB) is a standard protocol in all Android phones. We are using a PIC24FJ256DA206 to do it. You can have a Java App talking to a socket server or just polling some data location in flash memory. Furthermore, you are likely limited to user space access, without doing too much damage to the phone. We have gained temperory root access to a LG VS740, but it won't survive reboot. Making permanent root access risks bricking the phone. So, we are not there yet.
Reply by bbhack October 11, 20112011-10-11
On 10/11/2011 08:16 AM, Paul Colin Gloster wrote:
> Don Y<nowhere@here.com> sent on October 10th, 2011: > |-----------------------------------------------------------------------------| > |"On 10/10/2011 10:44 AM, bbhack wrote: | > |[..] | > |> Polled operation should be fine, and SMS for communications should suffice.| > | | > |I was wondering if you could actually opt for *voice* output | > |(or, a tone-based scheme if you know the device will always | > |be talking to another "device" -- i.e., non-human). My | > |thinking, here, is that a voice-only plan might save you | > |some money? | > | | > |> AT&T has some pre-paid plans that should work OK. | > |[..]" | > |-----------------------------------------------------------------------------| > > Telephone companies change pricing schemes, but supposedly (perhaps in > Europe and definitely when all telephones were landline telephones) > using a telephone line only for data instead of voice was charged at > a higher rate.
There's a plan, for example, that costs $0.20 / message domestic, slightly higher for Canada or Mexico. It's $0.10 per minute voice, with no other charges. That should work. I have a "dry" DSL line at work, and yes, it's more, but not enough more to cover the POTS service cost, so it made sense to go that way, since there was no need for POTS.
Reply by Paul Colin Gloster October 11, 20112011-10-11
Don Y <nowhere@here.com> sent on October 10th, 2011:
|-----------------------------------------------------------------------------|
|"On 10/10/2011 10:44 AM, bbhack wrote:                                       |
|[..]                                                                         |
|> Polled operation should be fine, and SMS for communications should suffice.|
|                                                                             |
|I was wondering if you could actually opt for *voice* output                 |
|(or, a tone-based scheme if you know the device will always                  |
|be talking to another "device" -- i.e., non-human).  My                      |
|thinking, here, is that a voice-only plan might save you                     |
|some money?                                                                  |
|                                                                             |
|> AT&T has some pre-paid plans that should work OK.                          |
|[..]"                                                                        |
|-----------------------------------------------------------------------------|

Telephone companies change pricing schemes, but supposedly (perhaps in
Europe and definitely when all telephones were landline telephones)
using a telephone line only for data instead of voice was charged at
a higher rate.
Reply by bbhack October 11, 20112011-10-11
On 10/10/2011 07:48 PM, linnix wrote:
> On Oct 10, 4:48 pm, bbhack<bbh...@gmail.com> wrote: >> On 10/10/2011 2:35 PM, 1 Lucky Texan wrote: >> >>> On Oct 10, 9:46 am, bbhack<bbh...@gmail.com> wrote: >>>> I want to put a remote weather station in Central Texas. There is no 3G >>>> there. It would be good to reduce components - using an Android phone as >>>> the only programmable part of the system, with a USB interface >>>> presumably. There is AC. >> >>>> Nothing is selected now. I'm not really well versed in the cellular data >>>> standards, but I know a little. Thoughts? >> >>> you said you have AC so, maybe X10/domotics to a 'receiver'/'host >>> computer in a more hospitable location. Then either internet or phone >>> or ??? >> >> This is for pretty much out in the middle of nowhere. > > How far away are the sensors from your central (for lack of a better > term) location?
The sensors and the "station" are in the same place. So there is no complicated scheme between the sensors the telemetry node.