The following warnings occurred:
Warning [2] Undefined array key 4378 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4383 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4385 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4386 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4390 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4392 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4393 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4394 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4405 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4412 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4419 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4392 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4385 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4394 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4405 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 4419 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





OUTPUT LOGIC LEVEL IN HP48 ???



#12

Hello HP-48 users,

I wonder if it is possible to output logic "1" for 2 seconds via RS232 port for activate electrical device.

Thank you in advance. Best regards, Tal email: td@chem.ch.huji.ac.il



#13

You might get happier with building a small single-chip microprocessor solution, which decodes several commands.

In addition you wouldn't have to worry about dealing with low level 48 internals and the external device would be controllable with any serial input.

I could help you with building such a device (seems like an easy task).

AFAIK the 48s UART is made in Hardware and I don't see much possibilities keeping the voltage at a certain state for 2 seconds.


#14

Reinhard,

Hey! Don't post an educated reply while I'm typing my semi-educated reply.

Joe


#15

I don't think your reply is semi-educated. In fact I was too lazy pointing the facts out like you did (It was late in the evening and I had to sleep somehow :-).

Tal, what exactly do you want to do with the device ?

The concept seems intersting and I thought abt. building such a device over years. (My planning was more complicated, with analogue and digital input circuitry). The main problem seems to be the protection of the interface (CMOS protection diodes are rather easy to kill with, say 220 VAC).

When you only want to toggle a single line, a single-chip processor alone could be the solution (together with a resonator and some circuitry to separate the calculator and the device electrically).

I'm sure you wouldn't want to fry the HP48 in case of failure, so you should seperate the circuits.


#16

Hello Reinhard,

As you are living in germany I'd like to mention that CONRAD Electronics sell a cheap microcontroller system. The system is called C-Control and exists in two sizes. I'm using the smaller M-Unit (48x41mm) which consists of a MOTOROLA 68HC05 and 8kBytes EEPROM (price DM 50.-). The board provides 16 digital I/Os, 8 analog inputs and 2 D/A outputs (PWM). Power consumption is very low at 6mA. Additionally you need a RS232 board and the BASIC compiler (another DM 50.-). I'm using the system for a Datalogger in my radiocontrolled model. The Data can be readout with my HP48/49. With this system it's really easy to implement any measurement and control project with your HP48/49.

Cheers Daniel

#17

Tal,

My guess is that you can't. I figure myself as a man of "mini-talents" so my reply is a (educated?) guess.

The 232 is designed to communicate, not supply operating voltage and current to electic devices. (An earlier post said "... open a flap door") So, the voltage and current used by the interface is too low to operate other devices. Plus, how much can 3 AAA's supply? A data collection/control device was available for the old HP71's which probably would accomplish what you want.

An age old reason to not do this is to isolate the device under control from the source of the control instructions. In other words, if a direct connection is made and the electric device shorts, so does the 232.

You should look for a small, lab-type device designed for the 48. I've seen the TI unit for the TI-80's which look like what you want, but for a TI.

Good luck,

Joe

PS: How'd I get so smart? Six years of high school! Most people only get four.

#18

Back in the days of steam radio, it used to be done this way...

If the UART understands how to send a "break", then you can get 200ms of the logic level you're after. Now, the trick of getting 2secs of it is to make it send another break while the first is still happening.

I have no ides if the UART in the HP48 can send a break, or if the HP48 can force it to send one. If it can, I have no idea if it can send another before the first one completes.

Oh, and if you're interfacing to something that has "bitey" voltages, please use an optocoupler.


#19

An easy way may be to use 1/6 of a 40106 (from memory - is that a hex schmitt trigger?) wired up as a pulse extender. This will allow you to send any character out of the RS232 port, and have it converted into a single pulse. This pulse can be used to clock a flip-flop that is wired to change state on each clock pulse. The remaining inverters can be used to buffer the input signal, and to drive the diode in an optocoupler from the output.

Send one character to turn it on, another to turn it off (after the requisite delay).

Alternatively, and even easier if you don't want control of the ON time is to give the pulse extender a time factor of 2s, so it turns on immediatly the start bit of the character comes along, and turns off 2s after the stop bit.

requires 1/6 hex schmitt trigger, 1 diode, 1 cap, 1 resistor.

C and R chosen so that 1/2RC = 2 (where R in ohms, C in Farads.

e.g. 10uF, 390K.

Connect diode anode to TD, cathode to input of 1/6 40106. Cathode also to one end of R (other end to 0v) C in parallel with R.

#20

If you would like to send commands to a simple (CMOS logic, for instance) device, there are some options apart from the serial port.

1) Piezo buzzer. The tone commands of the -48 series allow the user to define frequency and duration, so you could send a rather large variety of tones. Such tones could be seen as pulse trains, you define the frequency and the number of pulses come from the duration multiplied by the frequency

In example, a 400 Hz tone, 0.5 seconds will output 200 pulses.

Such pulses could be coupled to external devices via a small condenser microphone (I do not like it because the many distortion or noise factors going around). It would be better to connect the piezo buzzzer leads to the outside. I have done this successfully from an HP41 around 1980 (see my article "Calculator Memories from Argentina" in this Museum). Alas, the -41 was "openable", and the -48 is not (or is it?)

Steve suggestion on using an optocoupler is a very good and recommnended idea on almost every case.

2) Infrared Port: You may just output some info via the IR port (ie: printing commands), pick up the IR signal with a phototransistor near the IR LED, and go from there on. It would be difficult to decode the information sent, but it is very simple to detect "some" IR activity on this port.

As long as you can do with a simple code (ie: one signal, ON; two signals, OFF), you may get what you need with some simple CMOS logic, and one or two simple timers. And you will not have to open the calculator or to risk electrical connections that may affect it.

You may think of it as a "rather sohisticated optocoupler".

#21

I thought Neat Instruments (I will try to find it back) allready had a device which communicated through the IR-port. It was not a difficult thing. I forgot the name of the guy who made it.

Menno


#22

There is a company selling IR boxes for measurement, simulation and logic analysis. Site info at:

http://www.Digitalis.de/

http://www.Digitalis.de/hp/irmess48.html#deutsch

Site is only in German though, some main characteristics: cost: 99DM (approx. $46) 4 analog inputs, 0..5 V, 8 Bit 8 digital inputs, 0..5 V 4 digital outputs, Open Drain 2 PWM Ausgänge, Open Drain

They also have other interesting items for sale (I did not buy anything from them yet, have no idea of service etc., I am not affiliated in any way to this company)


Possibly Related Threads…
Thread Author Replies Views Last Post
  Four-Level RPN and the Real World Matt Agajanian 14 5,983 12-13-2013, 03:57 PM
Last Post: Manolo Sobrino
  WP-34S: Battery Level - some questions Marcel Samek 5 2,012 09-15-2013, 06:24 PM
Last Post: Marcel Samek
  RPN logic question Victor Quiros 52 10,983 03-12-2013, 02:59 PM
Last Post: Victor Quiros
  HP-65 logic board repair - help required Alberto Fenini 1 1,183 02-17-2013, 06:39 PM
Last Post: John Robinson
  HP42s input output of programs and files aurelio 17 4,436 09-01-2012, 10:18 PM
Last Post: Raymond Del Tondo
  Single Level X^2 for HP-35...Any ideas Matt Agajanian 0 986 08-11-2012, 10:01 PM
Last Post: Matt Agajanian
  OT-Novus 3-level RPN. What were they thinking? Matt Agajanian 15 4,004 07-01-2012, 11:53 AM
Last Post: Marcus von Cube, Germany
  wp 34s: enable 8-level stack? [Solved] Eduardo Duenez 6 1,765 04-28-2012, 03:52 PM
Last Post: Walter B
  HP-50G Equation Editing Logic Matt Agajanian 4 1,379 04-20-2012, 11:21 PM
Last Post: Matt Agajanian
  HP 50g pivot output from command "rref" peacecalc 0 764 04-07-2012, 02:38 PM
Last Post: peacecalc

Forum Jump: