Or, if you just use the Pi for sensor readings, get a proper microcontroller, where current is measured in micro (or even nano-)amps...
Or, if you just use the Pi for sensor readings, get a proper microcontroller, where current is measured in micro (or even nano-)amps...
I have a bunch of "nodes" I need to make, each one has a single sensor (temperature, moisture, light, or distance using a sonic sensor) that will send back to a Raspberry Pi base station. I was going to use RasPi's for all of them since it's all I know. Each will be battery powered with a solar panel. Open to any/all suggestions people can give me on how best to attack this!
Also worth knowing that the successor to the ESP8266, the ESP32, is currently in beta testing:
https://hackaday.com/2015/11/06/the-latest-best-wifi-module-...
You can get them for even cheaper directly from Chinese distributors.
Banggood, DealExtreme and AlieExpress are convenient and ship worldwide, but they are not the cheapest, although they are usually already quite cheap compared to most.
[1]:http://www.banggood.com/ESP8266-ESP-12E-Remote-Serial-Port-W...
[1] http://www.link-labs.com/what-is-lora/ [2] http://www.multitech.com/brands/multiconnect-mdot [3] https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Blue... [4] http://www.espruino.com/ESP8266
http://jeelabs.org/tag/lowpower/
And if you want a long-range, low-power wireless connection - use LoRa , There's a driver here:
http://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF...
Until this current wave of boards (CHIP, RPi zero) it was pretty much on its own in the land of dev boards - substantially beefier than Arduino, ESP8266 and Teensy 3.2 but way leaner than the RPi and BBB et al.
I still think it's a nice piece of kit even in the context of these new ARM boards.
Update: found some numbers on current draw - looks like out of the box it sits around 40mA idle, so slightly more than they tweaked the RPi Zero down to. http://www.robertoasquini.com/?p=148
Also, is there an easy way to have an isolated realtime component, eg closed loop controller for motor drive? Could you just set up a hardware timer interrupt that preempts the kernel?
Architecturally it's a 16 bit Von Neumann architecture at up to 16MHz with a remarkably elegant ISA and extensions to let it address more memory. Most interestingly, some devices have 64kB or 128kB of FRAM --- non-volatile RAM which operates at SRAM speeds! And because it's a Von Neumann architecture you can load programs off disk into it, which lets you do some cool stuff. (I ported Alan Cox's Fuzix to one.) Of course, an SD card will use loads more RAM than the CPU itself.
I believe you can run one with no external components whatsoever. Hook it up to 0V and 3.3V and it'll run at 8MHzish on its internal oscillator.
As for external devices: at least G-series need external components to generate reset pulse to reliably boot (it mostly works with reset left floating, but whether it reliably works is function of how quickly the power ramps up, I got burned by this on last project).
http://www.larsen-b.com/Article/315.html
I used it with a AVR Dragon (a rather full-featured, but still relatively inexpensive AVR programmer). You can use it with Arduino boards, of course, when you solder in the 6-pin ISP socket. (e.g. the pin header on the right of https://www.arduino.cc/en/Main/ArduinoBoardUno )
Then you can have a look to smaller microcontroller (if your project allows it), for example the ATTiny family. You can get to ~10/20uA consumption when using deep sleep and only reading sensors once a while.
The simplest programmers (ISP: In System Programmer) are only a few dollars, and they allow you to burn your creations in blank off-the-factory chips without bootloader. I think there's even an Arduino project that turns your arduino into a (very limited) STK500 compatible programmer...
[a quick web search turns up https://www.arduino.cc/en/Tutorial/ArduinoISP ]
For fun, first-time projects, it's a lot easier to have someone write a Python script and go, rather than breadboard a circuit and write in a more obscure, less-abstracted language.
[0] https://learn.sparkfun.com/tutorials/h2ohno/low-power-attiny
I was looking for the most power efficient thing that could run a minimal desktop on battery and fit into my palm.
This is a great article [1] about how Chinese SOC manufacturers and Chinese IP works. I ended up just ripping out the mainboard of phones to get access to the SOC [2].
[1] http://www.bunniestudios.com/blog/?p=4297 [2] http://janos.io/
ps: funny, just an hour ago I was trying to flash an old nexus s with CM*.
That's why projects like Fernvale are potentially very useful, as they would make it easier to repurpose the cheap hardware used for feature phones:
The price of hardware in China is beyond amazing - honestly I could run a laptop off those specs with a slightly larger better screen (assuming I don't need to compile C++ :D)
[1] http://www.banggood.com/Cube-iWork8-Ultimate-32GB-Intel-Cher...
Yes there are absolutely better suited platforms.
So it spends part of the time being highly capable, and part of the time sleeping with no downsides.
The Pi is just not cut out to be a passive battery-powered device.