The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

work in progress
Message #1 Posted by Eric Smith on 17 Mar 2010, 5:26 p.m.

http://www.flickr.com/photos/22368471@N04/4441032895/

      
Re: work in progress
Message #2 Posted by Mark Henderson on 17 Mar 2010, 5:31 p.m.,
in response to message #1 by Eric Smith

Looks interesting, looks like a "big enter key" keyboard - but what is it??

            
Re: work in progress
Message #3 Posted by Johnny Bjoern Rasmussen on 17 Mar 2010, 5:48 p.m.,
in response to message #2 by Mark Henderson

Yeah, Eric. That's like telling half a joke... Come on...

                  
Re: work in progress
Message #4 Posted by Eric Smith on 17 Mar 2010, 7:18 p.m.,
in response to message #3 by Johnny Bjoern Rasmussen

Obviously I'd like it to be some sort of calculator, but it isn't there yet. Right now it's just prototype hardware that doesn't do much more than scan the keyboard, display test messages on the LCD, and test energy consumption in various modes (running at various frequencies, sleeping at various frequencies with and without peripherals enabled, etc.

The processor is an Energy Micro "Gecko" microcontroller, which uses an ARM Cortex-M3 core. This has very low power consumption in both active and sleep modes. There are a few other microcontrollers that get lower uW/MHz, but they generally don't have nearly as much compute performance per clock cycle, so the Gecko might actually have the best power/performance ratio.

I wired this up to verify their power claims, and to determine whether a calculator using it could have a decent battery life on a pair of lithium coin cells. Now that I've answered those questions, I'll move on to the fun part.

                        
Re: work in progress
Message #5 Posted by cyrille de Brébisson on 18 Mar 2010, 9:34 a.m.,
in response to message #4 by Eric Smith

Hello Eric,

Can you post your power consumption in Off mode, Idle mode (LCD on) and in running mode (indicating the frequency?)

thanks, cyrille

                              
Re: work in progress
Message #6 Posted by Eric Smith on 18 Mar 2010, 3:42 p.m.,
in response to message #5 by cyrille de Brébisson

Hi Cyrille!

This is the EFM32G290F128, which has 128KB of flash and 16KB of RAM. All 16KB of RAM is preserved in sleep mode, though it is possible to turn portions of it off to save even more power. I haven't done that.

Off mode (32 kHz osc running, wakeup on timer or key press): 1.6 uA

The LCD I am using is just some random surplus character LCD module, so it doesn't make any sense for me to report power consumption with that. Without the LCD, idle mode is nearly the same as off mode, since the CPU isn't doing anything different other than scanning the whole keyboard rather than just the ON key. There is a version of this CPU with on-chip LCD controller for up to 160 segments, but I'm not using it, so I haven't measured its power consumption.

Running mode, internal RC oscillator, zero wait state flash:

1 MHz:  450 uA
7 MHz:  2.4 mA
11 MHz:  3.4 mA
14 MHz:  4.1 mA

Running mode, internal RC oscillator, one wait state flash:

21 MHz:  4.6 mA
28 MHz:  6.1 mA

Running mode, external crystal, one wait state flash:

32 MHz:  7.2 mA

What currents have you measured for your AT91SAM7L128-based calculators?

Thanks, Eric

Edited: 18 Mar 2010, 7:09 p.m.

                  
[OT] half jokes (was Re: work in progress)
Message #7 Posted by Eric Smith on 17 Mar 2010, 7:52 p.m.,
in response to message #3 by Johnny Bjoern Rasmussen

If you really want a half-joke: "Why does the porridge-bird lay his eggs in the air?"

Or: "What's the difference between a Vulcan and a revolving door?"

                        
Re: [OT] half jokes (was Re: work in progress)
Message #8 Posted by Michael Meyer on 17 Mar 2010, 9:37 p.m.,
in response to message #7 by Eric Smith

Awesome... a Firesign Theatre reference!! "I see you are a sailor..."

      
Velly Interlesting!
Message #9 Posted by Geoff Quickfall on 17 Mar 2010, 6:51 p.m.,
in response to message #1 by Eric Smith

I recognize the layout ;-)

Cheers, Geoff

      
Re: work in progress
Message #10 Posted by Jim Creybohm on 17 Mar 2010, 6:58 p.m.,
in response to message #1 by Eric Smith

Interesting. Looks like a 41 keyboard with a dual line display a la 42? Could this be a 41/42 hybrid?

I am not an electronics guy, so this is just a guess...

      
Re: work in progress
Message #11 Posted by Walter B on 17 Mar 2010, 8:37 p.m.,
in response to message #1 by Eric Smith

Looks very interesting. Seems to become something like a 48, taking the number of keys into account. Are you sure you're striving for a pocketable device? d;-)

Ceterum censeo: Launch a 43S.

            
Re: work in progress
Message #12 Posted by Eric Smith on 18 Mar 2010, 12:37 a.m.,
in response to message #11 by Walter B

I'm not likely to do anything like the 28, 38/39/40, or 48/49/50 families; implementing the software for those would take too long. (Though if someone else wants to write the software...) Like the earlier DIYRPN calculators Richard Ottosen and I have made, this prototype has enough keys to compare with the various pre-Saturn handheld calculators.

                  
Re: work in progress
Message #13 Posted by Marcus von Cube, Germany on 18 Mar 2010, 10:13 a.m.,
in response to message #12 by Eric Smith

Could be a platform for Free42. Does the design care for I/O?

                        
Re: work in progress
Message #14 Posted by Eric Smith on 18 Mar 2010, 3:28 p.m.,
in response to message #13 by Marcus von Cube, Germany

The only likely I/O is a serial port, and an SD or microSD card slot.

There's only 128KB of flash, not enough to fit Free42. I also didn't put enough keys for Free42, though that could be fixed easily. It's also really hard to find a suitable graphic LCD module for Free42, that isn't physically too wide for a handheld calculator.

                  
Re: work in progress
Message #15 Posted by Paul Dale on 18 Mar 2010, 5:54 p.m.,
in response to message #12 by Eric Smith

OpenRPN had a fairly complete RPL implementation which could be used. Otherwise, my 20b firmware would easily fit.

- Pauli

                        
Re: work in progress
Message #16 Posted by Walter B on 19 Mar 2010, 2:50 a.m.,
in response to message #15 by Paul Dale

Quote:
Otherwise, my 20b firmware would easily fit.
As an extra benefit, a "real" 2-line dot matrix LCD combined with that would open new opportunities compared to the 20b/30b.
                        
Re: work in progress
Message #17 Posted by Hugh Evans on 21 Mar 2010, 9:00 p.m.,
in response to message #15 by Paul Dale

All of the code written for OpenRPN is still up on the sourceforge svn. I also still have all the documentation and I would love to help out with a project like this or any of the current repurposing concepts.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall