4 ms·
This seems like an inspiring step in the direction of a device that I want, but which as far as I can tell, doesn't exist, but I have one burning question: How
by kragen 5y ago
This seems like an inspiring step in the direction of a device that I want, but which as far as I can tell, doesn't exist, but I have one burning question:
How small is it?
I've been trying to figure out what I need for comfortable portable writing. I have an Aspire One that's pretty much at the lower limit for key spacing for my hands, with 17 mm × 16 mm keys. I'm typing this on a cheap USB external keyboard with keys closer to 18.5 mm wide, and I think slightly tighter spacing would be more comfortable. I might be able to make do with 15 mm or even 14 mm horizontal key spacing, but my fingers would collide. Someone with smaller hands could manage a slightly smaller keyboard, but not that much smaller. Touchtyping becomes impossible and you're reduced to typing with two fingers like a five-year-old.
Unfortunately none of https://artvsentropy.wordpress.com/2022/01/15/writing-on-the-devterm/ https://artvsentropy.wordpress.com/2022/01/15/writing-on-the... https://lunduke.substack.com/p/the-first-risc-v-portable-computer https://lunduke.substack.com/p/the-first-risc-v-portable-com... https://www.clockworkpi.com/product-page/devterm-kit-r01 https://www.clockworkpi.com/product-page/devterm-kit-r01 bothers to give any dimensions at all, even when they spend a lot of time talking about how small it is.
From my point of view, this is more important than the information they did give, and it seems like it was pretty important to them too, so I don't understand why they omitted this information.
What I want is:
1. A computer powerful enough to recompile all its own software,
2. which can run a reasonably convenient programming environment (my bar is pretty low here: at least as good as Emacs with GCC on a VAX with a VT100, or MPW on a Macintosh SE),
3. which fits in my pocket,
4. which doesn't need batteries or plugging in,
5. which I can recover if I corrupt its filesystem, and
6. which is usable in direct sunlight.
This laptop fulfills points #1, #2, and #5. My cellphone fulfills points #2, #3, and #6. My solar calculator fulfills points #3, #4, #5 (trivially), and #6. It looks like this "DevTerm" fulfills points #1, #2, and #5, same as my current laptop but maybe slightly more portable. But I don't think any computing device exists, or ever has existed, that hits all of these points. But I think it's attainable now.
I think the conjunction of points #2 and #3 probably requires the thing to unfold or deploy somehow, unless some kind of Twiddler-like device would allow me to do it one-handed. There just isn't room for both of my hands at once on the surface of things that fit in my pocket (about 100 mm × 120 mm). Conceivably a laser projection keyboard could work.
- unwind 5y ago* which doesn't need batteries or plugging in * So, uh, it has to be solar powered only? That sounds fantastically niche and not like something someone would want to design/build. I think any reasonable "work" performance level would require too large an area of solar cells in order to be practical, especially if it should work indoors.
- kragen 5y agoSolar power does seem like the most reasonable option, although other possibilities include energy harvesting from keyboard interaction, piezoelectric shoe soles like those that drive those LED-flashing shoes, or a pullstring. You need some energy storage, but at low power levels a modern ceramic capacitor is more than adequate in between pullstring pulls or whatever. Many of my earlier notes on the topic are in https://dercuano.github.io/notes/keyboard-powered-computers.html https://dercuano.github.io/notes/keyboard-powered-computers.... and https://dercuano.github.io/topics/energy-harvesting.html https://dercuano.github.io/topics/energy-harvesting.html; more recent ones are in http://canonical.org/~kragen/derctuo http://canonical.org/~kragen/derctuo and http://canonical.org/~kragen/dernocua http://canonical.org/~kragen/dernocua. But last year I learned about two innovations that have been brought to market that dramatically increase the potential abilities of such a device. — ⁂ — It's entirely possible that your definition of 'any reasonable "work" performance level' is orders of magnitude higher than my "reasonably convenient programming environment". The VAX reference point is 1 Dhrystone MIPS, and the Macintosh SE (a 7.8 MHz 68000) was also about 1 Dhrystone MIPS. Current ARM7 Cortex designs deliver about 2 Dhrystone MIPS per MHz, so we're talking about 500kHz of ARM7 instructions here. Without any fancy circuitry at all I was able to squeeze 8 mW out of a 38-mm-square solar panel from a dollar-store garden light, in direct sunlight. Theory predicts it should be capable of 200+ mW (16% efficiency, 1000 W/m²) so hopefully I can get better results out of other panels. The amorphous solar panels normally used on solar calculators, which work well indoors as well as in direct sunlight, are nominally about 10% efficient, which is to say, 10 mW/cm² in direct sunlight or 100 μW/cm² in office lighting. It's easy to imagine dedicating 30 cm² of surface area to solar panels, which would give you 300 mW outdoors or 3 mW indoors. (38 mm square is 14 cm². 30 cm² in medieval units is about 4⅝ square inches, depending on which inch you use.) — ⁂ — So, what kind of computer can you run on a milliwatt or so? Ambiq sells an ultra-low-power Cortex-M4F called Apollo3 Blue with 1MiB Flash plus 384 KiB RAM; the datasheet claims that, when fully active, at 3.3 volts, it uses 68 μA plus 10 μA per MHz running application code, and it runs at up to 48 MHz bursting to 96 MHz. So at, say, 10 MHz (20 VAXen or Macintosh SEs), it should use 170 μA or 550 μW. At 48 MHz (100 VAXen or Mac SEs), 550 μA or 1.8 mW. I haven't tested it yet. SparkFun sells a devboard for US$22 at https://www.sparkfun.com/products/15444 https://www.sparkfun.com/products/15444. Remembering, of course, that benchmarks are always pretty bogus, we can still roughly approximate this 20 DMIPS performance level as being roughly the processing speed of a 386/40, 486/25, or SPARC 2, and the 200 DMIPS peak as being roughly the processing speed of a Pentium Pro, PowerMac 7100, or SPARC 20 — but with enormously less RAM, an enormously lower-latency "disk", and a lower bandwidth budget for the disk. And no MMU, so no fork() and no demand-paged executables. You do get memory protection, hardware floating point, and saturating arithmetic, but no MMX-like SIMD instructions. — ⁂ — If the computer's output isn't going to be just an earphone or something, though, you may need to spend substantial energy on a screen as well. Sharp makes a 400×240 "memory LCD" display (0.1 megapixels) used in, for example, Panic's Playdate handheld game console (https://youtu.be/uziFTK5c29k https://youtu.be/uziFTK5c29k) which seems like it should enable submilliwatt personal computing; the datasheet says it uses 175 μW when being constantly updated with a worst-case update pattern at its maximum of 20 Hz. Adafruit sells a breakout board for the display for US$45: https://www.adafruit.com/product/4694 https://www.adafruit.com/product/4694 A VT100's character cell was 8×10 (https://sudonull.com/post/30508-Recreating-CRT-Fonts https://sudonull.com/post/30508-Recreating-CRT-Fonts), so its 80×25 screen was 640×250, 0.16 megapixels, while the Macintosh SE was 512×342, 0.18 megapixels. Both of them were 1 bit deep: a pixel was either on or off. So two of these LCD screens together gives you more pixels than either of these two reference-point computers. However, the pixels are physically a lot smaller, which may compromise readability. (On the other hand, as you can see from the Playdate videos, you can do a lot of things on this display that a VT100 or Mac SE could never dream of doing because of lack of compute and RAM.) — ⁂ — So, I think it's eminently feasible now, although it probably wasn't feasible ten years ago. But it's going to be a challenge; I can't just compile Linux and fire up Vim. Even if Linux could run on these super-low-power computers, they don't have enough memory to recompile it.