Design Con 2015
Breaking News
Comments
Oldest First | Newest First | Threaded View
Page 1 / 8   >   >>
antedeluvian
User Rank
Blogger
scanner?
antedeluvian   1/6/2014 1:52:01 PM
NO RATINGS
I came across a post that describes how to read vinyl records using a scanner. Surely is must be easier to create some software to read paper tape on the scanner (or something else). I did a Google search and found how to read a punch card  with a camera. There is an Arduino Punch Card Reader

Any volunteers?

Max The Magnificent
User Rank
Blogger
Re: scanner?
Max The Magnificent   1/6/2014 2:18:42 PM
NO RATINGS
@Antedeluvian: I came across a post that describes how to read vinyl records using a scanner.

This is AMAZING!!!

Max The Magnificent
User Rank
Blogger
Re: scanner?
Max The Magnificent   1/6/2014 2:19:52 PM
NO RATINGS
@Antedeluvian: Surely is must be easier to create some software to read paper tape on the scanner.

If the program were only a couple of feet long ... maybe ... but what if it's 100s of feet long?

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....

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 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.....

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.

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.]

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.


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.....

Page 1 / 8   >   >>


Most Recent Comments
Top Comments of the Week
Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
<b><a href=Betajet">

The Circle – The Future's Imperfect in the Present Tense
Betajet
5 comments
The Circle, a satirical, dystopian novel published in 2013 by San Francisco-based writer Dave Eggers, is about a large, very powerful technology company that combines aspects of Google, ...

Max Maxfield

Recommended Reads From the Engineer's Bookshelf
Max Maxfield
25 comments
I'm not sure if I read more than most folks or not, but I do I know that I spend quite a lot of time reading. I hate to be idle, so I always have a book or two somewhere about my person -- ...

Martin Rowe

Make This Engineering Museum a Reality
Martin Rowe
Post a comment
Vincent Valentine is a man on a mission. He wants to make the first house to ever have a telephone into a telephone museum. Without help, it may not happen.

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
16 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Special Video Section
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.
Recently formed Architects of Modern Power consortium ...
Specially modified Corvette C7 Stingray responds to ex Indy ...
Avago’s ACPL-K30T is the first solid-state driver qualified ...
NXP launches its line of multi-gate, multifunction, ...
Doug Bailey, VP of marketing at Power Integrations, gives a ...
See how to ease software bring-up with DesignWare IP ...
DesignWare IP Prototyping Kits enable fast software ...
This video explores the LT3086, a new member of our LDO+ ...
In today’s modern electronic systems, the need for power ...