12 ms·
Lisp-powered laptop with a battery life measured in years
- 0xGod 4y agoYes.
- a9h74j 4y agoI've imagined having an OLED screen which only flashes on momentarily. Could be used for writing without editing.
- deleted 4y ago[deleted]
- Aloha 4y agoI've imagined like an OLED/ePaper hybrid for that application.
- 404mm 4y agoOr e-ink display. Unfortunately those are quite pricey compared to LCD
- shaunsingh 4y agorLCD is probably more effecient, and much more readable under good light, the memory lcd in the picture also has epaper-like retention capabilities.
- sieste 4y agohas anyone ever tried to harvest energy from key presses to prolong battery life? on that one, a little capacitor in the parenthesis keys would probably make that solar panel unnecessary.
- reerdna 4y agoYeah, it is used in https://www.freethegameboy.info https://www.freethegameboy.info for one - not sure if they published numbers on how much energy it produced.
- teruakohatu 4y agoThose switches look like they are the mini generators from ZF Electronics that produce 0.33 mWs of power per activation. ZF Electronics used to be called Cherry Industrial, which was until a few years ago part of the same company as Cherry AG who make the famous keyboard switches.
- justsomehnguy 4y agoYes, specifically ZF AFIG-0007 energy harvesting switch https://dl.acm.org/doi/pdf/10.1145/3411839 https://dl.acm.org/doi/pdf/10.1145/3411839 p. 12 https://eu.mouser.com/ProductDetail/ZF/AFIG-0007 https://eu.mouser.com/ProductDetail/ZF/AFIG-0007
- metadat 4y agoAs a heads up, the second link leads to 404 Not Found error. Edit: Oddly, the product page is viewable if you enter the product ID from the tail end of the URL into the product search field.
- Y_Y 4y agohttps://eu.mouser.com/ProductDetail/ZF/AFIG-0007?qs=KnNyCueLKRVo%252BCLj1DZFyQ%3D%3D https://eu.mouser.com/ProductDetail/ZF/AFIG-0007?qs=KnNyCueL...
- pqb 4y agoWhoa, I have to buy at least 5000 switches. Together with a price tag (~50K EUR) it does not look good for a weekend tinkerer.
- msk-lywenn 4y ago
- joe_the_user 4y agoI think I'd prefer a good solid crank to having to grind a keyboard. I remember manual typewriters - they were a hideous, miserable experience.
- reerdna 4y agoI've considered adding a few small geared stepper motors as a combination input device (scroll wheel, or two for etch-a-sketch cursor control) and energy harvester.
- snozolli 4y agoPedal power, like an old-timey sewing machine.
- digitallyfree 4y agoA hand crank would be really cool on such a device. Rather than scramble for a charger and outlet you could just take a break and crank away.
- leovander 4y agoIf only the Playdate could charge using the crank.
- jessriedel 4y agoPresumably the resistance of a typical laptop keyboard is set to get the correct feel, not like a minimum mechanical resistance to get it to work at all, so there must be energy that is currently dissipated as heat that could be harvested for free, in principle without changing the feel.
- pklausler 4y agoHaving grown up with a non-Selectric typewriter, I'd be okay with a charging crank that mimicked the action of a manual carriage return that I had to shove to the left at the end of each line of code when the editor goes "ding!". But I'm not sure where it could be mounted on a laptop.
- 4y ago
- justsomehnguy 4y agoAt $10 a piece and ~90-key keyboard you can have chargable batteries for years. https://eu.mouser.com/ProductDetail/ZF/AFIG-0007 https://eu.mouser.com/ProductDetail/ZF/AFIG-0007 > on that one, a little capacitor in the parenthesis keys would probably make that solar panel unnecessary. ... ye, you probably can get it with $20 only.
- sparkie 4y agoIt's a slight exaggeration how frequent parens are used in Lisp. The keys tab, space, shift, backspace, hyphen enter are probably used more often, and many alphanumeric keys. Perhaps you could have the whole keyboard floating on a pivot like a see-saw, with one of these switches beneath it at the right and left side of the pivot (say beneath s and ; keys). That way any key press off-center would have a chance of activating one of the two switches, and keys closest to the far left and right would have a greater probability of activating them. The keyboard would have a slight wobble.
- slondr 4y agoThat link is dead for me
- justsomehnguy 4y agohttps://news.ycombinator.com/item?id=35075592 https://news.ycombinator.com/item?id=35075592 You can find the spec at the manufacturer site.
- megaman8 4y agoenergy from key presses: really cool idea. i hope that gets documented somewhere so the patent trolls don't try to patent it or something.
- turtlebits 4y agoHaving a solar panel defeats the metric of "battery life measured in years". More useful would be runtime of the system on battery (which I'm guessing doesn't make a great headline) as well as the output wattage of the built in solar panel.
- wkjagt 4y agoI guess the battery acts more like a buffer for the solar panel, and battery life here literally means “the lifetime of the battery”.
- reerdna 4y ago12000 mAh battery / ~2 mA power consumption when running code and updating the display every second = 250 days. Still pretty good? Haven't had a chance to do much testing of the solar panel yet, but it does charge while running in good light so it's > 1mA.
- Firmwarrior 4y ago2 milliamps? Preposterous Here's the datasheet for your (or a similar) display (PDF) https://media.digikey.com/pdf/Data%20Sheets/Sharp%20PDFs/LS044Q7DH01.pdf https://media.digikey.com/pdf/Data%20Sheets/Sharp%20PDFs/LS0... ..250 µW average power consumption on your display panel.. well, maybe that's not so preposterous after all, great work
- serf 4y ago> Having a solar panel defeats the metric of "battery life measured in years". eh, I don't see why. Solar pocket calculators were still sold with the understanding that their function and lifespan hinged upon the chemistry of the internal battery. it's not like these things can function without some form of capacitance, and getting that to last a long time is tricky.
- pengaru 4y agoIt's impressive to dig a long forgotten solar calculator from the late 70s out of a drawer, and have it still function perfectly. It seems like a monumental failure of the computer industry that we still don't have the equivalent in laptop form. None of my portable computers will come out of a forgotten drawer 50+ years from now and readily turn on.
- reerdna 4y agoHey HN! This is my project. Hope you find it interesting. AMA.
- upghost 4y agoHell yeah that’s some next level lisp hacking! Great work.
- reerdna 4y agoThanks! Have not had the chance to do too much lisp hacking yet though, I still very much consider myself a beginner. Mostly solder and C so far, apart from implementing a crude text editor.
- Rediscover 4y ago> Mostly solder and C... Hey! I used to have those two and assembly on my resume as the only entries under "Programming Languages" ! Very nice project.
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]
- keithwinstein 4y agoThis is awesome! This kind of extreme low-power application was the original reason I wanted Mosh -- I always thought it would be awesome to have a wireless (hand-cranked?) laptop that could run SSH and would only consume energy when (a) a key was pressed [to update the locally generated UI], or (b) it wanted to fire up the radio (on its chosen schedule, e.g. <1 Hz) to retrieve an update from the server of the "ground truth" UI and reconcile that with the local prediction.
- 4y ago
- orthecreedence 4y agoWonderful work! What kind of modifications did you make to ulisp to create potatOS? And how is it working with ulisp? My only real lisp experience is with CL.
- reerdna 4y agoThank you! Not too much really. I "ported" it to the SparkFun arduino core - which mostly involved adding some ifdefs and fixing a few bugs, like this one https://github.com/sparkfun/Arduino_Apollo3/issues/478 https://github.com/sparkfun/Arduino_Apollo3/issues/478 , and added the adafruit sharp memory display library which integrated quite well with the existing graphics support. Then I wrote an interrupt routine to scan the keyboard. I also had to add some error handling patches which someone had shared in the ulisp forum (because you don't want the REPL to crash if you have a typo) Working with uLisp is fun - it's not super fast and it does have a few limitations and gotchas, but it was by far the easiest option for this project as so much was already supported. And the documentation and community is very nice.
- bsaul 4y agoi really believe one of the most fundamental task for human specie now is to create some kind of backup for all the knowledge of human civilisation. A book you can always open and read, but how are you going to ensure wikipedia remains accessible in case of a true collapse ?
- rollcat 4y agoThis is the exact topic of Isaac Asimov's "Foundation". (I've watched the series, now digging into the first book.) Wikipedia provides downloadable data dumps, I guess that's one way to start. You may also want to check out http://collapseos.org/ http://collapseos.org/.
- wilsonnb3 4y ago> A book you can always open and read, but how are you going to ensure wikipedia remains accessible in case of a true collapse ? Print it out
- johnea 4y agoDoes it come with one of those magnefying glasses in front of the screen? You know, like in the moview Brazil?
- tomcam 4y agoYes. And a drab uniform is provided with each machine sold at Best Buy
- initramfs 4y agowhat's wrong with Chinese clothing, circa 1960? ;)
- initramfs 4y agoI wrote a dystopian post on this technology- I also write on a similar project idea: https://iotmote.substack.com/p/remaking-the-nokia-6110-and-psion https://iotmote.substack.com/p/remaking-the-nokia-6110-and-p... https://hackaday.io/project/177716-the-libre-autarkic-laptop https://hackaday.io/project/177716-the-libre-autarkic-laptop
- brenainn 4y agoA great way to resurrect the argument about ideal line length.
- reerdna 4y agoI'm pretty sure 53 characters is slightly less than ideal though :-)
- deleted 4y ago[deleted]
- raydiatian 4y agoA Computer for Leibowitz
- sharkbot 4y agoIt would be interesting have a Forth running on it, as I feel the philosophies are aligned.
- reerdna 4y agoI've never looked into Forth, but I'm sure it would be doable. I have experimented with adding Uxn support, which may be similar to Forth in many ways? https://100r.co/site/uxn.html https://100r.co/site/uxn.html
- entaloneralie 4y agoUxn runs forth, so yes! http://www.call-with-current-continuation.org/uf/uf.html http://www.call-with-current-continuation.org/uf/uf.html
- e12e 4y agoMy first thought was - how does the cpu compare to greenarray ga144 forth computer-on-a-chip (in terms of power/performance) ? https://www.greenarraychips.com/home/documents/greg/GA144.htm https://www.greenarraychips.com/home/documents/greg/GA144.ht... https://www.greenarraychips.com/home/products/index.php https://www.greenarraychips.com/home/products/index.php
- aidenn0 4y agoThe first machine I ran Lisp on was a Pentium II MMX 133MHz. Depending on the IPC of the Cortex-M4, this could be a similarly fast device. Of course the Pentium had at least 16MB of ram (Maybe 32 or even 64MB? That was about when RAM prices dropped like crazy so I'm not sure), compared to this which, at 384k, has only slightly more RAM than the base-model AT.
- steponlego 4y agoTip, when the slide-over email nag screen comes across you can get rid of it with the uBlock Origin element picker. Then "pick" the grey overlay as well, and BAM you won't ever be nagged on that site again.
- anthk 4y agoI've seen this: http://www.ulisp.com/show?383X http://www.ulisp.com/show?383X Could a Z-Machine interpreter (Emacs has one in Elisp, Malyon.el) run fast enough on this? v3 version, nothing fancy. v5 and v8 games would require a bit more power.
- reerdna 4y agoYes. The Apollo3 cpu is probably at least 50-100 times faster than you'd need for that. Maybe even the emacs lisp version could be ported easily.
- anthk 4y agoAh, fine. Here you have: https://github.com/speedenator/malyon/blob/master/malyon.el https://github.com/speedenator/malyon/blob/master/malyon.el
- Tistel 4y agoThe control key is in the right spot for emacs! Bravo on the project. I wish I new hardware better.
- metadat 4y agoHow long could the battery be expected to last without any solar cell energy input? Such information would be super informative to get a feel for how long it will run indoors in a darker space (e.g. on a nightstand in a bedroom which stays 'blacked out' dark all day). Also, would this hardware be sufficient to run a terminal and SSH client? I'm thinking about the overhead of encryption and constantly open TCP socket streaming packets back and forth over Wi-Fi. I don't think this first iteration even has a network stack, is that right? Is having Wi-Fi even on the table as a realistic design target? Edit: Thank you @reerdna for all the helpful information. 40 days of activity on a single charge would still be pretty compelling :). Heck, even a full week or two of constant general purpose use would be amazingly better than than current laptops which last only 2-12 hours of active use (at best).
- reerdna 4y agoPerhaps 200 days? This was already discussed in another thread. But you wouldn't be able to read the screen in darkness, it is reflective and not backlit. I have SSHed into a Microvax II some times, this is 50 times faster. So possible, definitely. No network stack yet, although the chip has bluetooth so it'd be possible to make that work, perhaps with a "gateway" device. But it would likely increase power use by 5X.
- dbtc 4y ago40 days would still be amazing.
- kragen 4y agoThis is great! The combination of an Ambiq Artemis module and Sharp memory-in-pixel displays is exactly my plan for the Zorzpad, which won't have a battery at all (sounds like that's andreer/reerdna/Eriksen's plan eventually). But Eriksen has actually built something, and so far all I have is a pile of electronic parts and design notes and sketches and code prototypes. Hopefully I can learn from whatever mistakes he's made! Eriksen's PotatoP project page: https://hackaday.io/project/184340-potatop https://hackaday.io/project/184340-potatop His GitHub page: https://github.com/andreer/PotatoP/ https://github.com/andreer/PotatoP/ My Zorzpad Git repo, in Spanish: git clone http://canonical.org/~kragen/sw/zorzpad.git http://canonical.org/~kragen/sw/zorzpad.git (There might be some information in there of use to Eriksen, too, for example about Flash. And maybe in Dercuano, Derctuo, and Dernocua.) My previous comment on here about the hardware: https://news.ycombinator.com/item?id=30691361 https://news.ycombinator.com/item?id=30691361 three days after Eriksen's first update on the Hackaday project log. I didn't get the idea from him, but I think I hadn't written about it publicly before that, so he probably didn't get it from me either. How did we end up deciding to do almost exactly the same project a few days apart, when the parts had been available for years? Maybe the Playdate is responsible? As for the battery, my theory is that by not having a battery I can get much higher reliability, because the battery and the charging port are the things that usually limit the life of portable computers. Submilliwatt personal computing is the means to that end. It's really inspiring to see someone achieve what I've been dreaming of!
- reerdna 4y agoThank you! Yes, I've had this in mind for a while, I have some pictures of beginning the first prototyping by dismembering the keyboard back in 2020, although what I was thinking at the time is not recorded. I would not be surprised if it's simply the availability of the good-enough CPU that caused the idea to take root in multiple heads independently. initrd has gathered a lot of resources in https://hackaday.io/project/177716-the-libre-autarkic-laptop https://hackaday.io/project/177716-the-libre-autarkic-laptop and https://github.com/EI2030 https://github.com/EI2030, he sent me a link to your writing a while back and it made me think of using an sd card for storage, which I had previously rejected for taking too much power. But I have since managed to only power it when reading/writing files and it works quite well.
- kepler1 4y agoTo my un-expert eyes and lack of knowledge about Lisp, I have a hard time understanding the difference between this and a TI-86 graphing calculator?
- reerdna 4y agoMore RAM, a higher resolution display, a proper keyboard, solar power and much easier to program (for me at least). But yes, it is essentially the same sort of thing, and much more poorly made at that. :-) I loved my TI-83, wrote games and crude 3D graphics on it high school math class.
- rchaud 4y agoThis is very cool, especially the choice of screen! I've often thought about how the PDAs of yore (and Nokia dumbphones) had monochrome LCD screeens that were perfectly usable for text and had week-long battery life. It's something I'm hoping will make a comeback as more people begin to realize that the "there's an app for that" mentality is leading to the creation of apps that aren't necessarily the right fit for a smartphone anymmore.
- tsm 4y agoI sort of miss that era of PIM, and would love to have a modern PDA with a monochrome LCD, great battery life, fold-out keyboard, and—critically—the ability to easily sync with Gmail and Google Calendar. As far as I can tell the syncing story with 20-year-old Palm Pilots is not great these days.
- kristianp 4y agoSharp Memory in Pixel display LS044Q7DH01. That reflective lcd display looks nice. Mods, I think the hackaday link is far better, it doesnt show a login popup that comes up multiple times. https://hackaday.io/project/184340-potatop https://hackaday.io/project/184340-potatop
- Arbortheus 4y agoSorry if I am being ignorant, but can someone explain to me Hackernews' obsession with Lisp? I don't hear anyone talk about Lisp or use Lisp anywhere except on Hackernews.
- H_Pylori 4y ago[dead]
- physPop 4y agoDon't knock it if you haven't tried it!
- dmytrish 4y agoI have tried it: I wrote multiple Lisp interpreters, including a Scheme in C with garbage collection and basic call/cc. I wrote a simple regex engine in Scheme. I wrote a basic just-in-time transpiler from elisp to Javascript. I dabbled with Common Lisp. I still don't like it: - a quality implementation of any Lisp is _not_ easy, e.g. just look at SBCL or Chez Scheme - minimalistic implementations are a selling point, but I take Lua over any minimalistic Lisp anytime. Chances are that a Lua interpreter library will be smaller. Micropython runs on anything slightly more powerful than Arduino nowadays and gives you objects and async on an effing microcontroller. - developer experience is miserable/ascetic, even compared to Lua (maybe except Clojure). Things we take for granted (dictionaries/hashmaps/object properties) are still missing from Lisps. - structural editing is now available for any language that supports a proper language server (which almost any modern language does). s-exprs failed to become a common data language for anything. It's possible to have a simple and humane syntax at the same time (Zig, Go, Lua) - I've learned to avoid macros and dynamic code generation unless I have a very good reason to use them in any language, otherwise they are a code smell. It was painful for me to watch the video in the article where the author counts parenthesis and gets the job done in spite of the language, not because of it.
- reerdna 4y agoSorry to have caused you pain! I thought this video would get maybe 100 view at most, or I would have put more effort into it (like implemented paren matching in the editor first). I like lisp (and apparently it's good HN bait). But the language is not really the core of this project. It is more about making a truly personal computer. One that doesn't require you to think about charging or software updates. That is always fast and responsive and ready to use as it is never doing something strange in the background. Simple enough for me to feel like I understand how everything works. And writing your own OS for it is easy if you wanted to - you could implement forth, lua, a small C compiler - whatever you wish, and these properties would still be preserved. Useful? Probably not. Fun? At least for me it is.
- PointyFluff 4y ago[dead]
- andai 4y agoHello! I was very happy to see this project, it is close to my heart. I had a similar dream years ago, an ultra-low power e-paper laptop. (I noticed people mention such a desire on HN every time something e-ink related comes up! There are dozens of us!) I also looked into transflective / reflective LCDs as an alternative to e-paper. I haven't built anything though, for various reasons (mostly excuses, if I'm honest! Life is hard, I am busy, but I guess that's true for everyone..). Are there any other similar devices (or projects actively being developed) with a battery life measured in years? My current understanding is that I would need to study electrical engineering to have the skills to build something like this, is that true? I have been making some slow progress towards that (learned C, studying assembly, brushing up on my math, studying calculus etc). But a full EE degree does seem like overkill: I looked at the coursework at a university near me, and it has you learning about optics and quantum physics... so it really seems like most of the work is unrelated to the actual goal of building tiny computers. Is there a way to find or create a curriculum focused specifically on the things you actually want to build? (If not, I expect there will be in a year or two, at the rate AI is developing ;) Or perhaps I'm looking at it backwards, has this tech progressed to the point where it is possible to just start building without really knowing what you are doing, and learn as you go along?
- timfsu 4y agoAs someone with an EE undergrad and masters degree, you really don't need it to hack on electronics, especially if you'll be starting with off-the-shelf parts or a microcontroller kit. Understanding the basics of voltage, current, and the ability to use a multimeter and soldering iron are probably all you need to make some interesting things.
- sitkack 4y agoEchoing this point, an electronics project book, a breadboard and some simple components are all you need to get really really far in combining electronics like this. You can get 90% of the way there with just Ohm's Law. For laying out circuits you can learn about capacitance and inductance, but again, you can literally learn by doing. As in all technical endeavors, debugging is the real skill. The rest you learn along the way. As for the eInk laptop, I have that eDream as well. The hack I wanted was to use an LCD panel across the top for live editing, undo, etc. And then once the line was done, the eink display would wake-up, take the new line of text and write it to the display and then go back to sleep. A couple nice eink options for the discriminating hacker https://www.crowdsupply.com/soldered/inkplate-10 https://www.crowdsupply.com/soldered/inkplate-10 https://www.waveshare.com/ https://www.waveshare.com/
- andai 4y agoI was wondering if such a low power usage device could be charged from button presses, but dismissed the idea as whimsical... and then immediately found another project on the front page that does exactly that! https://news.ycombinator.com/item?id=35077859 https://news.ycombinator.com/item?id=35077859 >We extract energy from (...) button presses of a regular Game Boy, using mechanical off-the-shelf button press harvesters. (...) The energy from the buttons is rectified, boosted, and stored in small capacitors.
- jillesvangurp 4y agoA few small solar panels would probably soak up enough ambient light. I had a calculator in high school that ran on solar. It still works. 35 years later.
- AstixAndBelix 4y agoThe funny thing is that you could run a whole company with just this device. It has enough processing power to manage everyone's payroll, keep track of cashflow, inventory and orders and calculate a myriad of spreadsheet formulas.
- ris58h 4y agoWhy this is not a direct link on a project's page? https://hackaday.io/project/184340-potatop https://hackaday.io/project/184340-potatop
- college_physics 4y agoMethinks the inventor had the right idea with the potato name but they should go all-in and charge the potato with another potato https://www.sciencebuddies.org/science-fair-projects/project-ideas/Energy_p010/energy-power/potato-battery https://www.sciencebuddies.org/science-fair-projects/project...
- DeathArrow 4y agoI understand that most newer ultra low power microcontrollers are fabbed using a 40nm process node. Just imagine what little power consumption there would be if they were fabbed using 5nm nodes.
- DeathArrow 4y ago>Lisp-powered laptop with a battery life measured in years Take that, Lenovo!
- anonzzzies 4y agoIs there any way to make glasses with a big screen floating in front of your eyes with similar tech? So I am not talking AR, I am talking just having a massive TV hanging in front of you where I can program uLisp that has a watch-sized battery in the glasses that goes for days (not asking years; of course weeks or months would be really excellent)? I think the resolution of the panels + lighting to project it are the problem? Is that doable or we are just bound to massive battery even if we need minuscule processing power?
- bruce343434 4y agoThe weight of the glasses is also a problem I think. Having a screen in front of your eyes is very heavy on the nose. People with high strength corrective lenses glasses will know what I'm talking about. Perhaps a rudimentary vector based HUD, with tiny projectors in the legs of the glasses? But that sounds expensive and hard to manufacture.
- anonzzzies 4y agoI have the Nreal Air which has no batteries. I have fairly high correction and yet is't not heavy at all (I have prescription glasses for the Nreal). It is great tech and I easily work for hours on it. But the battery just drains too fast (it uses the phone battery). The weight is no issue at all so far. Edit: Lenovo has them too I see. But because they need high processing for 'most' people, they don't have batteries and have cables. If you don't want to watch tv, play games etc, but just program Lisp and sync via BLE, I wonder if it's possible to make it very low consumption just on the glasses. I know that chipsets, including with BLE can be very low consumption. But I'm not sure if projecting the image at high enough res is possible on that low consumption, so that is my question if someone knows? [0] https://www.theverge.com/2022/9/1/23332907/lenovo-glasses-t1-yoga-smart-display-ifa https://www.theverge.com/2022/9/1/23332907/lenovo-glasses-t1...
- nzach 4y agoMaybe you'll find this interesting: https://www.youtube.com/watch?v=50614QMNQPo https://www.youtube.com/watch?v=50614QMNQPo
- guntherhermann 4y agoThis is an 8 year old demo of a SHARP Memory Display, for those like me who didn't know exactly how it looks: https://www.youtube.com/watch?v=VmronCahqd8 https://www.youtube.com/watch?v=VmronCahqd8 The fast response time is the key, I was expecting it to be like an e-ink display!
- fsiefken 4y agoI totally love this, it's a dream: ultra low power computing everywhere and anywhere. Why can't my smart watch run for months instead of days? I have nothing against Lisp, but it would be more practical if it could run Fuzix and if it had network connectivity
- cm2187 4y agoCan you harvest some energy from the user typing on the keyboard?
- news_now 4y ago[dead]
- tzury 4y agoIs Lisp used nowadays in producton for newly developed business platform?
- xpe 4y agoOptional accessories include a magnifying glass and a commemorative LISP postage stamp.
- no_identd 4y agoMhhhm this makes me hungry for uLisp <> ChrysaLisp Interops