5 ms·
Quasi-related: I've always wanted an ultra-low-power dumb terminal using eInk paper displays - something you could hit days of runtime with using a small batte
by paulmd 11y ago
Quasi-related:
I've always wanted an ultra-low-power dumb terminal using eInk paper displays - something you could hit days of runtime with using a small battery pack. eInk uses no power when they're not updating - so idling or long-running operations would hardly use any power.
So far the easiest approach I've found is using a hacked Kindle with an attached keyboard. You can run a terminal client on it and ssh into another system, which I think is a sensible access mode.
Ideally, something like the AVR PicoPower microcontrollers would be fantastic - they run on ultra-low-voltage, eat 1 mA/MIPS, and idle down to basically nothing (<1ma active and a few dozen microamps during sleep). ssh is probably out of the question but I could toss a VT100 stack on it. Unfortunately the eInk display is the hard part there - most eInk parts have very poor documentation.
- creshal 11y agoI'd really love to have one or five of those for maintenance work. There's a lot of devices that I don't really need to have a keyboard and video connected to for 99.99% of their life time, but I still need an LC display and KVM switch connected to for about 10 minutes per decade. It's such a waste.
- Syrup-tan 11y agoEuhh, I'm not sure I understand your use-case, but e-ink displays aren't especially "cheap", or such. They take a noticeable amount of time to update the display, so doing things like typing, or viewing output from top(1) would be less than ideal. (This seems to get better with firmware, and being "smart" about which places of the screen get updated, generally) The appeal, at least to me, is that they can display information with little energy cost. For example you could have it monitor the system's health and have it update every half an hour, showing graphs and such, and it would be able to do that for a very long time with a smallish battery.
- grahamburger 11y agoI feel like I'm missing something - why do you need it to run on battery if it's consistently monitoring a specific machine? Isn't their power pretty much anywhere you'd need something like this?
- paulmd 11y agoI edited my use-case after he replied - I think he would be A-OK with something that could be reliably powered from a USB port. I don't speak for him, but I think we've chatted on this topic before.
- seanp2k2 11y agoYou can power a "Full HD" monitor off USB. These have been around for a while, but it's really fun to see someone set up with dual screens at a coffee shop running on batteries: https://www.asus.com/us/Monitors/MB168BPlus/ https://www.asus.com/us/Monitors/MB168BPlus/
- DanBC 11y agoThe Kobo line seem nicely hackable. They have a horrible bit of forcing the user to connect an account online during first power-up. This can be avoided with a bit of SQL. This site talks about "activating" without the desktop app (and other bits of tinkering):http://uscoffings.net/clc/tech/embedded/kobo-touch/ http://uscoffings.net/clc/tech/embedded/kobo-touch/ >Connect the Kobo via USB, and mount its onboard storage on your desktop machine. > Ensure you have an SQLite3 database browser installed, or some way to execute SQL. For example, sudo apt-get install sqlitebrowser > Open /mnt/onboard/.kobo/KoboReader.sqlite. > Execute this SQL: insert into USER values("foo", "foo", "foo", "foo", "foo"); > Save, unmount, and disconnect. Here's a bit about enabling Telnet (and cross compiling for Arm7): https://github.com/drj11/kobonotes https://github.com/drj11/kobonotes Here's someone who turned their Kobo into a GPS for their glider. http://hackaday.com/2014/05/28/e-reader-becomes-sailplane-and-paraglider-computer/ http://hackaday.com/2014/05/28/e-reader-becomes-sailplane-an...
- creshal 11y agoIt's still a bit of a mess, and doesn't come with a decent keyboard, and the screens are tiny. I'd rather have something in a notebook formfactor – 12" eInk, full keyboard, and just a serial port on it. (Maybe also USB, for charging and slaved to a serial-to-uart adapter.)
- nickpeterson 11y agoKind of random, but you made me think of it. I always wanted to do an entire site in PDF, with all the links opening other pdfs on the same server. That or postscript...
- Cieplak 11y agoFunny you bring that up, I was just reading about this: When Steve Jobs left Apple and started NeXT, he pitched Adobe on the idea of using PS as the display system for his new workstation computers. The result was Display PostScript, or DPS. DPS added basic functionality to improve performance by changing many string lookups into 32 bit integers, adding support for direct output with every command, and adding functions to allow the GUI to inspect the diagram. Additionally, a set of "bindings" was provided to allow PS code to be called directly from the C programming language. NeXT used these bindings in their NeXTStep system to provide an object oriented graphics system. Although DPS was written in conjunction with NeXT, Adobe sold it commercially and it was a common feature of most Unix workstations in the 1990s. https://en.wikipedia.org/wiki/PostScript#History https://en.wikipedia.org/wiki/PostScript#History
- ricksplat 11y agoI remember some fuss being made about this in the early days of OS X, about "looking glass" (the gui system) using display postscript. Anybody know anything about that? If it's still a part of OS X or if it fell by the way side?
- grkvlt 11y agoOSX was alleged (by Apple, even) to use PDF as the display language, but Quartz just has an object model that maps very nicely to PDF, making PDF transformations and export very easy.
- rbanffy 11y agoThere is something interesting (if you can say "interesting" to the idea of writing, say, an e-mail client in PostScript): https://en.wikipedia.org/wiki/NeWS https://en.wikipedia.org/wiki/NeWS
- Bud 11y agoWouldn't the very slow refresh rate of eInk be an issue here?
- paulmd 11y agoI actually found a video of a Kindle being used as a terminal: https://www.youtube.com/watch?v=ymei7UwBgX4 https://www.youtube.com/watch?v=ymei7UwBgX4 Looks like it's running a pretend-terminal website which probably explains the latency (the Kindle does not have a fast processor). Way on the other end - here's a Dasung 13.3" eInk monitor (i.e. you feed it DVI and it handles all the display driving for you). It can be yours for a cool $1000. I'll pass, but it's looking pretty good even for GUI usage. Probably uses more power than a purely embedded solution could, though. https://www.youtube.com/watch?v=vny-JTpt-aU https://www.youtube.com/watch?v=vny-JTpt-aU
- groovy2shoes 11y agoI want one of those monitors so bad. Why does it have to be $1000?! Anyone willing to contribute to my Indiegogo campaign? ;)
- kqr 11y agoI want one too. Suddenly, I know what I'd do if I won the lottery.
- i336_ 11y agoFYI, I've seen virtually zero latency running livereload experiments with the embedded browser in my Kindle, the basic 3rd-gen 2014 model. My method was extremely rudimentary - inotify -> long-polling JS (being fed entire new file) -> innerHTML rewriting, with the Kindle connected over 802.11g - but hitting Save in my editor produced updates on the Kindle's display in around around 20-40ms. I would put a moderate amount of money on the possibility that the latency is coming from the fact that the terminal app in the video is being run on a non-local server, and that keystrokes have to go up to the cloud-hosted app and then come back down to get onto the Kindle's display. If the whole thing were local (with the terminal app hosted on target system, ideally) I expect updates could happen in <100ms. Also, the CPU is a 1GHz i.MX6 (@ 996MHz), next to 400MHz LPDDR2 (@ 396MHz). It performs quite well in my experience; it's the OS that's terrible. :P (The best OS I've yet seen was the one on my Ericsson MC218, which let me drag windows around the display faster than the LCD crystals could physically keep up. Solid windows, not outlines. On an ARM7TDMI running at 36MHz.)
- aperrien 11y agoAs an aside, do you have an idea where to buy e-ink displays? I'd love to experiment with some. If fact if I could I'd love to get one of the poster sized ones!
- bjackman 11y agoSparkfun sell small ones in kits.
- tmm 11y agoVisionect (https://www.visionect.com/ https://www.visionect.com/) sells e-ink dev kits up to 32 inches, but they aren't exactly priced for experimentation (nor do they include any sort of case/bezel). On the other hand, their displays do come with Ethernet, Wi-Fi and cellular connectivity built in.
- trollingineeer 11y agoWhy would you want to do this? Just plug it in!
- aexaey 11y ago1mA/MIPS is a pretty generous power budget, with ESP8266 easily fitting the bill (56mA @80MHz + wifi rx; 10 uA in deep sleep [1]). Talking of which - here is Jeroen Domburg's project where he used exactly this chip to make a wireless battery-powered e-ink display: [0] http://spritesmods.com/?art=einkdisplay http://spritesmods.com/?art=einkdisplay [1] http://bbs.espressif.com/viewtopic.php?t=133 http://bbs.espressif.com/viewtopic.php?t=133
- paulmd 11y agoI'd forgotten all about the ESP8266 but this project is about 95% of what I'm aiming for. The rest should be relatively trivial programming work, so thanks! Can't speak for the other guy (who wants a portable monitor+keyboard system), but what I'm mostly looking for is a terminal that I could carry around/outside the house (i.e. potentially high-glare conditions) and program while connected to wifi, while not recharging for as long as possible, so this is perfect. Maybe I can embed some stuff like vim or emacs on the device itself to help reduce utilization of the wifi. Is there any sort of "smart" protocol that could handle buffering files while editing on a remote host? I can probably do it, but I'd rather not reinvent the wheel, caching can be non-trivial. Secondary use-case: RTTY or PSK31 or other amateur-radio textmode terminal, that could idle for as long as possible on a portable (QRP) battery pack. When you're schlepping the gear around, every ounce counts. Something that can talk serial is probably good enough, wifi is redundant there.
- apetresc 11y agoRegarding your query about a remote login protocol that's smart about buffering, etc, I think you're looking for mosh: https://mosh.mit.edu/ https://mosh.mit.edu/
- lucaspiller 11y agoI regularly use Vim over high latency connections (50ms+) for extended periods, and it's really not that big a deal.
- jacobush 11y ago
- tuananh 11y agobut every change on screen require redraw the whole thing right? stuff on terminal change a lot more often than reading a book.
- semi-extrinsic 11y agoI've always thought that eInk+terminal would be the perfect use case for vt100 mode. This is built into xterm etc. and emulates phosphorus displays, where adding new elements to the display is fast but calling a full redraw is slow. Just like eInk.
- kqr 11y agoYou can change stuff without flushing the current contents, but previous contents may leave a weak trace when you do so. It's why Kindles have a setting to flush the screen every three pages or something; a decent compromise between ghosting and refresh rate.
- mbrock 11y agoDo you know if it's possible to do this to a Kindle without hardware hacks? Thinking specifically on connecting a keyboard. There are also some e-ink Android tablets, but I forgot if I found any that seemed good. I also have a strong desire to ssh by e-ink, latency be damned.