The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

use cases for USB OTG port on calculator?
Message #1 Posted by Eric Smith on 25 Apr 2012, 8:40 p.m.

If you had a USB OTG port on a calculator (with capabilities otherwise similar to a 41CX, 42S, or WP-34s), so that it could be connected not just to USB hosts such as a PC, but also to USB devices, what kind of devices would you want to use it with, and why?

(This question should not be interpreted as a commitment to provide a product with a USB OTG port.)

      
Re: use cases for USB OTG port on calculator?
Message #2 Posted by Paul Dale on 25 Apr 2012, 9:07 p.m.,
in response to message #1 by Eric Smith

My number one choice would be for storage devices to allow transfer of data and programs between machines and to PCs.

Bluetooth dongle would be a nice to have. It would provide another way to transfer files easily enough.

Keyboard, mouse or touch/track pad? Seems like overkill for a calculator with decent in built keyboard. A track pad would allow graphical input but I'm not sure how or what use that would be. All would fall into the category of why not just use a PC instead.

Printers seem popular at the moment and supporting a number of USB printers would be neat but the driver requirements are likely to be excessive.

Network adapter or 802.11 adaptor -- again they seem like a bit of overkill and drivers will be a problem. Removable storage and/or bluetooth would be as good.

Video adapter? Might be useful but overkill, driver issues and why not use a PC instead.

Serial or parallel adaptors would allow control of external devices, so possibly useful to some but not to me.

So I'll say removable storage and then perhaps bluetooth.

Although, with PC connectivity both seem pretty minor.

- Pauli

            
Re: use cases for USB OTG port on calculator?
Message #3 Posted by Walter B on 26 Apr 2012, 7:12 a.m.,
in response to message #2 by Paul Dale

+1 for removable storage :-)

            
Re: use cases for USB OTG port on calculator?
Message #4 Posted by Eric Smith on 26 Apr 2012, 3:12 p.m.,
in response to message #2 by Paul Dale

The storage device is going to be a MicroSD card. Since the USB connector is a USB MicroAB connector, it wouldn't be possible to plug a USB flash drive in without an adapter, so I don't plan on writing any firmware support for USB storage.

Bluetooth and 802.11n require a huge amount of firmware, so I'm not likely to write that either.

Of course, there won't be anything to prevent someone else from writing firmware to support these.

Richard Ottosen and I originally intended to support the 82440A/B IR printers, and earlier prototypes had an IR emitter, but more recently due to the discontinuation of the printer we dropped it from our plan. However, we weren't aware of how much more efficient the IR emitters available today are as compared to those from the mid-1980s. Since Katie posted her results of getting decent range with only 4 mA drive, Richard and I are reconsidering putting the IR emitter back into the DIY5.

      
Re: use cases for USB OTG port on calculator?
Message #5 Posted by Donald Williams on 25 Apr 2012, 11:22 p.m.,
in response to message #1 by Eric Smith

A/D converter with programmable ranges. Then all you need is the appropriate sensor. I do not know of any currently available devices.

            
Re: use cases for USB OTG port on calculator?
Message #6 Posted by rgray on 26 Apr 2012, 3:10 a.m.,
in response to message #5 by Donald Williams

I second an external A-to-D which would greatly expand the uses of the machine and is something I have been waiting for HP to implement. I am also willing to help with hardware/software development of such an option.

                  
Re: use cases for USB OTG port on calculator?
Message #7 Posted by Eric Smith on 26 Apr 2012, 4:17 a.m.,
in response to message #6 by rgray

HP already does make something like that, the HP StreamSmart 400.

It connects to the calculator via a serial cable; for a hypothetical calculator that can use a USB interface to data acquisition and control hardware, it should be possible to offer a more powerful device.

            
Re: use cases for USB OTG port on calculator?
Message #8 Posted by Dave Shaffer (Arizona) on 26 Apr 2012, 2:40 p.m.,
in response to message #5 by Donald Williams

Something like THIS ?

Not programmable, but the price is right: $29. I have their older RS-232 model, and it is quite fun to play with.

These guys also sell all sorts of stand-alone USB data loggers. I have one of their temperature ones - again, fun to play with. It will log temperature for several days. They normally delog to your PC, but I suppose you could get them to talk to a calculator.

                  
Re: use cases for USB OTG port on calculator?
Message #9 Posted by Eric Smith on 26 Apr 2012, 7:37 p.m.,
in response to message #8 by Dave Shaffer (Arizona)

That is remarkably inexpensive. Granted, there's not that much electronics inside, but still, I'd ordinarily expect to see that sell for a lot more.

I think it should be possible to get that particular product working with a calculator with a serial port, but regrettably I don't presently have time to spend on such an endeavor.

      
Re: use cases for USB OTG port on calculator?
Message #10 Posted by Marcus von Cube, Germany on 26 Apr 2012, 2:35 a.m.,
in response to message #1 by Eric Smith

The primary use case would be device to device communication.

            
Re: use cases for USB OTG port on calculator?
Message #11 Posted by Eric Smith on 26 Apr 2012, 4:12 a.m.,
in response to message #10 by Marcus von Cube, Germany

Because it has been mentioned in the forums before, that was already on my list. What kind of user interface would you envision for this capability?

                  
Re: use cases for USB OTG port on calculator?
Message #12 Posted by Marcus von Cube, Germany on 26 Apr 2012, 2:04 p.m.,
in response to message #11 by Eric Smith

Make all data transfer symmetric as it is done with the WP 34S so it doesn't change when you connect it to a PC or to another device.

      
Re: use cases for USB OTG port on calculator?
Message #13 Posted by Karl-Ludwig Butte on 26 Apr 2012, 2:53 a.m.,
in response to message #1 by Eric Smith

My #1 choice would be an interface converter from USB to HP-IL. With this solution there would be something for everyone and a full range of HP peripherals ready for use. And perhaps -just perhaps- there would be some new IL-devices developed in the future. Yes, I'm dreaming but sometimes dreams come true like the 15C LE. So: Long live HP-IL! (maybe it helps ;-)

Regards

Karl

            
Re: use cases for USB OTG port on calculator?
Message #14 Posted by Eric Smith on 26 Apr 2012, 7:41 p.m.,
in response to message #13 by Karl-Ludwig Butte

It might be possible to use the USB version of the PIL-Box with the sort of calculator I'm envisioning, depending on how much current the PIL-Box draws from the USB. The USB OTG port I'm envisioning may be quite limited with regard to how much power it can provide to the USB device.

However, if external power is somehow supplied to the PIL-Box, then the limitations of the USB OTG power from the calculator can be avoided.

      
Re: use cases for USB OTG port on calculator?
Message #15 Posted by Eric Smith on 26 Apr 2012, 3:23 a.m.,
in response to message #1 by Eric Smith

Thanks for all the input! No pun intended. :-)

      
Re: use cases for USB OTG port on calculator?
Message #16 Posted by Thomas Radtke on 26 Apr 2012, 3:32 a.m.,
in response to message #1 by Eric Smith

Connecting some hardware offering digital and analog (0..10V) I/O would be nice. A calculator like a (faster and USB-powered) 48G would make up for a great and inexpensive instrumentation and control device along with such hardware. I have small scale building control in mind.

            
Re: use cases for USB OTG port on calculator?
Message #17 Posted by Eric Smith on 26 Apr 2012, 4:09 a.m.,
in response to message #16 by Thomas Radtke

For a calculator acting as a USB OTG host to control a device providing analog and digital I/O as you suggest, the calculator has to provide power over the USB port, even if the device is self-powered and doesn't actually need power from the USB port. In that scenario it isn't possible to power the calculator from USB.

The calculator can be powered from USB when it is acting as a USB device, rather than a host.

One way around that would be for the box that provides the analog and digital I/O to be a USB host rather than a USB device. Then the calculator would be in USB device mode, and the box could provide power to the calculator. However, that makes the calculator firmware substantially more complicated, and I don't have any plan to write anything like that. On the other hand, that's exactly what the Android Open Accessory Development Kit (ADK) does, so perhaps it's worth investigating further.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall