HP-41 draws sine curve



#20

HP-41 draws sine curve

Enjoy!


#21

nt

#22

Excellent

#23

It says you need the plotter module. The plotter module will probably make it easier, but you can do this without it. The plotter just uses HPGL (HP graphics language) which is plain text, so it's basically like you're printing the text data, and the plotter interprets it. "PU" (plain text characters) for example means "pen up." If you have the 82169A HPIL-to-HPIB (GPIB, or IEEE-488) interface converter, you can use the HPIB version of the plotter too, without needing the HPIL option. Alternately, if you have the HP82164A or FSI164A HPIL-to-RS232 interface converter, you could use the RS-232 version of the plotter without the HPIL option. There are lots of ways to skin a cat.


#24

Yes, I know that, but I wanted to keep the movie short; pointing out all options would have been too confusing.

Anyway, when plotting bar code - I suppose this was one of the main applications - the plotter module turns out _very_ handy. I also tried the HP-IB option with my 9872B plotter (this is a real beast). The only difference is that you have to SELECT the plotter manually (use MANIO, then enter the address of the plotter and SELECT). Finally, an unfullfilled dream is to drive a 7580B plotter with an HP-41 ;-)

Cheers,
Juergen


#25

Nice work Juergen!

I too have been doing similar work, although with the HP48 family and RS232 communication.

[Very nice video production, by the way!]

It is a fascinating 'act' to watch a tiny calculator driving an 'E' size sheet plotter!

Cheers,
TomC

Edited: 21 Mar 2010, 11:32 a.m.

#26

Yup, I have all the stuff including the 7470 Opt. 003, although I expect all the pens dried up years ago.


#27

You can still buy suitable new pens, e.g., on eBay ...


#28

Quote:
You can still buy suitable new pens, e.g., on eBay ...

Thanks, Juergen!
#29

Oh yeah, those were the times ...

#30

Great production Juergen!

Thanks for the Sunday present :)

#31

Very nice to see this in action. It reminds me an article from the December 1982 HP Journal:

Controlling a Graphics Plotter with a Handheld Programmable Calculator,

by Robert M. Miller and Randy A. Coverstone The plotter is the 7470 A. The calculator is the HP-41C.

#32

Hi Jurgen,
many thanks for this beautiful time machine.

Regards

Ignazio

#33

Thank you for posting the video, Juergen. It is neat to see the plot of the sine curve with an HP 41.

:)


P.S. Beautiful choice of background music, too.

Edited: 23 Mar 2010, 10:05 p.m.

#34

really cool. I'm still looking for the 7470A Opt 3 (got a 7475 with HP-IB though). Anyone has one or knows of one, pls let me know...

What is it that makes it so slow? I think if it were driven by a HP-71, it would be faster. But the program sounds pretty simple... IF one wanted to do this in MCODE, how could one speed it up?

Cheers

Peter


#35

Quote:
What is it that makes it so slow?

The 41. I've got the same plotter and have done the same plot. Yes it is slow. However using EMU41 or nonpareil in turbo mode with a PIL-Box or IL-ISA adapter is significantly faster.

#36

so MCODE would make it faster. Is it the PRPLOT program that is so slow or the sin calculation?

Cheers

Peter


#37

It could be PRPLOT, the 41, or the HP-IL adapter. Hard to tell without a PRPLOT replacement.


#38

The 41 is not very quick at any of the major factors here: calculating the SIN, probably doing some division and multiplication to scale it to the drawing size and maybe addition or subtraction for the drawing's offset, putting the text commands out, converting the number result to text, and then operating the IL which it only does at about 150 bytes per second (compared to the 71's 5,000 bytes per second). When I used the 41 for controlling equipment and printing out long lines of test results, synthetic programming sped up some of the printing operations because I could do things like embed escape sequences in quoted text. The 41 might also be inputting status from the plotter before every command, although there apparently is no danger of overrunning the plotter's input buffer!

Edited: 25 Mar 2010, 4:47 p.m.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 2,781 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  Challenge(?): Intersection curve between two cylinders in a specific position Pier Aiello 15 2,004 09-17-2013, 05:58 PM
Last Post: Pier Aiello
  HP Prime : geometry & curve Mic 0 484 09-15-2013, 02:31 PM
Last Post: Mic
  HP 32S-II Vertical Curve Program Ron Cardwell 2 728 05-20-2013, 07:54 AM
Last Post: Thomas Klemm
  Legible version of 29C Curve Fitting program Matt Agajanian 6 1,068 03-21-2012, 07:46 PM
Last Post: Matt Agajanian
  HP 32sII Integration Error of Standard Normal Curve Anthony (USA) 4 810 03-14-2012, 03:18 AM
Last Post: Nick_S
  Algorithm for fitting a logistic curve? Tim Wessman 5 830 11-13-2011, 01:22 AM
Last Post: Wes Loewer
  Experience (Learning) Curve Program for HP-41C/CV/CX Chris Catotti 1 526 09-20-2011, 01:46 PM
Last Post: Frido Bohn
  Advantage Pac Curve Fitting mbrethen 9 1,244 06-26-2011, 08:06 PM
Last Post: mbrethen
  i41CX draws sine curve Egan Ford 4 752 04-13-2010, 02:03 PM
Last Post: Egan Ford

Forum Jump: