Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 7 / 8   >   >>
Chesler
User Rank
Rookie
Re: scanner?
Chesler   1/7/2014 11:46:50 AM
NO RATINGS
For what it's worth, here is a link to a Flickr image of what the paper tape looks like:



(Unlike floppy disks in old jokes, you can get useful information putting a paper tape into a photocopier :-) )

Max The Magnificent
User Rank
Blogger
Re: scanner?
Max The Magnificent   1/6/2014 4:52:12 PM
NO RATINGS
@Chesler: The paper tape in question is about 56 cm long, and it seems to be 4 bytes per cm, so 224 characters.

Is that all? I was thinking it might be 50 feet long. In that case, if this were mine I'd translate it by hand.

Chesler
User Rank
Rookie
Re: scanner?
Chesler   1/6/2014 4:31:08 PM
NO RATINGS
Thanks for posting the request, Max.
The paper tape in question is about 56 cm long, and it seems to be 4 bytes per cm, so 224 characters.

Of course I could simply re-write it, and I don't know where I'd get a BASIC interpreter, but if there is too much human in the loop I'm not sure if it's "authentic".  (Ideally I want my printout written with a type ball using a well-used ribbon. :-) )  OCR might feel authentic enough; I suppose I could type in each byte if the tedium doesn't induce errors, and write a quick translator. (Graphics is not my strength, so I can't write the program to read the image.)

David Ashton
User Rank
Blogger
Re: ASR-33 reader / printer are independent
David Ashton   1/6/2014 4:00:34 PM
NO RATINGS
@Betajet..."Max has an ASR-33 (Automatic Send/Receive)"  

Oops...it's fairly early here in Australia and I am not yet fully awake, sorry.....

zeeglen
User Rank
Blogger
Re: scanner?
zeeglen   1/6/2014 3:59:49 PM
NO RATINGS
>Of course in the good old days you could buy banks of photodiodes manufactured expressly for this purpose.

Or glue large-core plastic optical fiber into a "ribbon cable" at one end to match the hole spacing and guide the light to whatever-size photodiodes.


betajet
User Rank
CEO
ASR-33 reader / printer are independent
betajet   1/6/2014 3:23:54 PM
NO RATINGS
IIRC, the ASR-33 paper tape reader and keyboard are independent from the printer and punch, unless you switch to off-line mode and turn on echo.  So just reading the paper tape over the serial line (probably current loop rather than RS-232) should work fine, as long as you can set your serial input to 110 Baud.

Back when I was in high school and undergrad, like proper computer nerds I could read ASCII paper tape pretty well by eye.  But that was a long time ago :-)  But yes, it's pretty easy, especially with BASIC where each line starts with a line number and you know where the spaces are and you keep seeing the same keywords like GOTO over and over.  ASM is even easier, where half the instructions are MOV.  The hard part of doing it manually is that it's easy to screw up your program by mistranslating variable I for J and things like that.

[Pedantic note: Max has an ASR-33 (Automatic Send/Receive), which means it has paper tape reader and punch.  The KSR-33 (Keyboard Send/Receive) does not have paper tape.]

David Ashton
User Rank
Blogger
Paper tape punches
David Ashton   1/6/2014 3:06:23 PM
NO RATINGS
Just as an aside, Air Zimbabwe in the old days used to have some paper tape punches connected to their reservation system.  Most of the outstations were served by Telex (remember that) and messages were output to these punches by the Res system and the tapes were then sent to the relevant station on Telex using a machine like your KSR (in Zimbabwe we used to use Siemens machines.  We only used to use 5-hole tape though - Baudot code, not Ascii.

David Ashton
User Rank
Blogger
Re: scanner?
David Ashton   1/6/2014 3:02:59 PM
NO RATINGS
@Max....

> "you wouldn't need multiple LEDs -- just one light source underneath the tape and then a bunch of photo-diodes on top."

Yeah. there's more than one way to kill a cat.....

> "Re having to file down large photodiodes, you could always stagger them like:"

That would make ofr some interesting programming.  Of course in the good old days you could buy banks of photodiodes manufactured expressly for this purpose.  Maybe Mock has some?

> "You wouldn't need a motor -- you could just pull the tape through by hand."

Yep, the feed hole pulses would tell the MCU when to read the data, no matter how fast or slow the tape was going.

> "So, when do you think you will have this built? LOL"

Oh ye of little faith!  send me some tape and I'll see what I can do.....

Max The Magnificent
User Rank
Blogger
Re: scanner?
Max The Magnificent   1/6/2014 2:56:43 PM
NO RATINGS
@David: Actually, this would make a great project for your PICAXE -- you wouldn't need multiple LEDs -- just one light source underneath the tape and then a bunch of photo-diodes on top.

 

Re having to file down large photodiodes, you could always stagger them like:

0

   1

2

   3

4

   5

6

   7

Such that diodes 0,2,4,6 were reading one row of holes while diodes 1,3,5,7 were reading the adjacent row -- then when you progress the the next row you can assemble the data from the previous row... if you see what I mean.

You wouldn't need a motor -- you could just pull the tape through by hand.

So, when do you think you will have this built? LOL

 

David Ashton
User Rank
Blogger
Re: scanner?
David Ashton   1/6/2014 2:48:39 PM
NO RATINGS
@Max....even if your KSR33 does not carriage return and line feed, it should be able to read the tape and send the codes out on the RS-232 line to a PC which can then record them.  However, depending on the state of your KSR, banging the print carriage against the end of the line might do some damage....I doubt it though, they were pretty rugged beasts.

Alternatively you could get 9 IR leds and 9 IR photodiodes and make your own reader,  You will note that the feed holes are smaller than the data holes, this is so the position detecting photodiode will not sense the hole until it the data holes are well and truly aligned...like this

Data _______/""""""""""\_________

Feed __________/"""\___________

Sorry...tried to post a nice graphic but it would not do it.....

You'd have to get a small MCU to read the 8 data lines when the feed hole is detected, and then send it off in serial form to a PC.  You'd also have to make up a guide to keep the paper tape straight as it passed your detector.

I could whip something like this up with a PICAXE but I don't have any paper tape.   It also strikes me that you may have to find very small LEDs / diodes or file down some 3mm ones to fit......

BTW if the tape is only a few feet long you could read it manually. I have a graphic with the codes but no doubt that would not post here either....

<<   <   Page 7 / 8   >   >>


EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Steve Wozniak Reacts to Latest iPhone
Max Maxfield
1 Comment
Funnily enough, just a few days ago as I pen these words, I was chatting with my wife (Gina the Gorgeous) when she informed me that -- as a kid -- she had never played at making a ...

EDN Staff

11 Summer Vacation Spots for Engineers
EDN Staff
20 comments
This collection of places from technology history, museums, and modern marvels is a roadmap for an engineering adventure that will take you around the world. Here are just a few spots ...

Glen Chenier

Engineers Solve Analog/Digital Problem, Invent Creative Expletives
Glen Chenier
15 comments
- An analog engineer and a digital engineer join forces, use their respective skills, and pull a few bunnies out of a hat to troubleshoot a system with which they are completely ...

Larry Desjardin

Engineers Should Study Finance: 5 Reasons Why
Larry Desjardin
46 comments
I'm a big proponent of engineers learning financial basics. Why? Because engineers are making decisions all the time, in multiple ways. Having a good financial understanding guides these ...

Flash Poll
Top Comments of the Week
Like Us on Facebook
EE Times on Twitter
EE Times Twitter Feed

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)