I don't know the answer to your situation specifically, but would love to hear how it goes! I do have some info to offer about the broader topic though.
Using sleep states, the Atmel AVR chips can go extremely low-power. My brother put together a board that collected GPS coordinates for a trip to Africa, and ran for 3 weeks off 4x AA batteries collecting a coordinate every few minutes and writing it to a SD card. I use those same Atmel chips in my DeLorean dashboard project, using the boards from https://www.pjrc.com/teensy/. Power savings have never been my focus, but that board is basically just the main chip plus a crystal and various caps and resistors, so I would assume it can get the same savings in a sleep state.
(Hrm, looks like PJRC doesn't sell the AVR boards anymore, only 32-bit ARM, but still Arduino compatible... wonder how the power savings works on those larger chips? 3.3V probably helps)
Anyway, those boards are entirely powered by the USB of a normal PC, and I would assume can also be powered by a phone. But, what you probably want is a powered USB hub anyway, to charge both phone and board. On a PC I program them to show up as a USB Serial device, and Linux (and Windows) have this driver built-in, but I don't know if it would be on Android by default.
If that works, you just need any language on Android that can write a serial device. I've never tried Perl on Android, but assume it would work fine for the serial device. The harder question is whether Perl could touch any of the APIs for exchanging SMS.
In reply to Re: [OT] Smartphone IO interface: how to control motors and read sensors
by NERDVANA
in thread [OT] Smartphone IO interface: how to control motors and read sensors
by bliako
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |