VOGONS


First post, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++

Hi folks,

The forums seem to have been quiet on the topic of these for a while, only really one thread about it...
A thought: SD card reader via parallel port?
and a few mentions in passing.

I am thinking it might be handy to get handfuls of files between other machines and laptops/portables that are not very expandable, such as my PC-4641 and various other units. I have "better" parallel port storage options, such as CDROMs and Zip type drives, but they are large and "cabley" and need a wall plug quite often. So smaller unit that just plugs into parallel is better. Yes and there's many other ways to use a parallel port, and transfer files, but I have decided that this way is interesting and wish to talk about that in this thread.

So if I was using all later machines with the IEEE standard port I wouldn't bother posting really, since that use case is very simple with port drawn power, use an arduino SD card breakout board and wire it up direct to a 25pin plug, easy. However, since I think the parallel port hardware is partially provided by the SOC in a V40 based machine, it makes me a bit nervous of overtaxing the port and basically shooting it in the heart.

First was thinking about this a week or so back and went on a huge rabbithole diversion about figuring out a way to use the ethernet/SDcard shield on a mega to provide both SD card and ethernet capability. Though for some reason I missed initially that both work through the SPI, so it's a PITA kind of thing to switch back and forth between them. Plus that also was going to get "cabley" and complex, so back to the simple case...

I am gonna need power, so that's where I'm overthinking it, worst idea I think is trying to do it from a CR2032 or two, not enough capacity really, will burn through them quick I believe. Then I'm thinking 9v PP3 but is that really much above that? Yeah so might find a 5V convertor in an old car charger for cellphone and just cobble that to pp3 snaps and away I go maybe. Then I have some buck/boost to connect to lithium rechargeables and make it real sophisticated, but IDK if I'm just wasting them on that, and should just put a trailing USB plug that can go in small powerbank. Then again, low effort is just a 3 cell AA pack and 3 alkalines, should oughta be volts enough.

So anyway, what have y'all done with your SD/parallel adapters, and how much use do you get from your battery solution?

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.

Reply 1 of 5, by Jo22

User metadata
Rank l33t++
Rank
l33t++

Hi, how about using an 7805 linear regulator?
It can be used without external parts, but a small heathsink, a diode and two caps might be recommended. Another diode on input side against accidental reverse polarity is a nice extra (if it was a PSU, I'd add a fuse too).
78xx needs input voltage being a few volts about output voltage (2-3v?).

Edit: Back in 20th century, I would just have used an 4,5v lantern battery. Like the 3LR12.
It was the spritual predecessor to 9v battery (two of them replaced a 9v battery).
https://en.wikipedia.org/wiki/Lantern_battery#4.5V

Edit: Protecting the LPT port is a good idea.
The parallel port is sensitive against shorts and overccurent/surge, I think.
Adding some resistors for current limiting might provide some level of protection, maybe.
If it was an one way road (some pins output only/some others input only), adding diodes for protection might help.
Though some people may argue that diodes can cause fluctuations in voltage somehow.

Last edited by Jo22 on 2025-01-10, 22:42. Edited 2 times in total.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//

Reply 2 of 5, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Be very careful about which SD breakout boards you use. A lot of them simply connect the SD signals directly to the breakout pins without any regard to voltage conversion; connecting them to 5V I/Os can fry the cards.

Reply 3 of 5, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++
Jo22 wrote on 2025-01-10, 20:19:
Hi, how about using an 7805 linear regulator? It can be used without external parts, but a small heathsink, a diode and two caps […]
Show full quote

Hi, how about using an 7805 linear regulator?
It can be used without external parts, but a small heathsink, a diode and two caps might be recommended. Another diode on input side against accidental reverse polarity is a nice extra (if it was a PSU, I'd add a fuse too).
78xx needs input voltage being a few volts about output voltage (2-3v?).

Edit: Back in 20th century, I would just have used an 4,5v lantern battery. Like the 3LR12.
It was the spritual predecessor to 9v battery (two of them replaced a 9v battery).
https://en.wikipedia.org/wiki/Lantern_battery#4.5V

Edit: Protecting the LPT port is a good idea.
The parallel port is sensitive against shorts and overccurent/surge, I think.
Adding some resistors for current limiting might provide some level of protection, maybe.
If it was an one way road (some pins output only/some others input only), adding diodes for protection might help.
Though some people may argue that diodes can cause fluctuations in voltage somehow.

Linear regulators don't seem quite ideal as I understand they tend to float high until you pull a couple of hundred mA from them, and this is gonna be ~50mA... then also with battery use, it's not really ideal having 30% of you energy warming up the 7805. If I were pulling off a robust 12V line, I might say hell with it and give it a power light to pull enough to stabilise, or maybe "use up" some mA with a buffer chip for extra peace of mind but doesn't seem right for batteries.

Those lantern batteries, seemed in a "weird place" when I was young. There was this one thing in the house which used one, and they were either nowhere to be found in the stores, or findable and $10, or suddenly available widely and $2... unstable supply and price... so I was never particularly tempted to use one for a project, despite older sources recommending such. Anyway, 4.5V I know would be fine for TTL supply normally for something standalone, but I want to avoid the problem where if supply is at 4.5 and maybe still sucks off the port lines because they're a bit higher.

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.

Reply 4 of 5, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++
jmarsh wrote on 2025-01-10, 20:22:

Be very careful about which SD breakout boards you use. A lot of them simply connect the SD signals directly to the breakout pins without any regard to voltage conversion; connecting them to 5V I/Os can fry the cards.

Good point. I have the ones I bought when Universal Solder had a sale a while back and they have the proper converter on. Though I wish there was more info available about 5V tolerance on SD and older MMC cards, since I have a stash somewhere of full size ones that came free with cameras etc in the noughts and are all tiny-for-today sizes like 16Mb, 32Mb, and I would totally just wire some of those up soldered to 25pin plugs on the Ivan Drago "If he dies, he dies" principle... if I was sure they'd actually work for a while first... though those aren't at hand at the moment and have only the one plug to work with right now.

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.

Reply 5 of 5, by Jo22

User metadata
Rank l33t++
Rank
l33t++
BitWrangler wrote on 2025-01-10, 23:53:

Linear regulators don't seem quite ideal as I understand they tend to float high until you pull a couple of hundred mA from them, and this is gonna be ~50mA... then also with battery use, it's not really ideal having 30% of you energy warming up the 7805. If I were pulling off a robust 12V line, I might say hell with it and give it a power light to pull enough to stabilise, or maybe "use up" some mA with a buffer chip for extra peace of mind but doesn't seem right for batteries.

Hi, I didn't think about this., my bad. 🙁
Back in the day, I've used the 7805 and 7812 for most projects and didn't think about this detail.

Hm. Does adding a power light help? A normal red LED draws 20 mA, that's not enough.
How about an old incandescent lamp? Bicycle lamps had used 3v or 6v?
The 6v lamp seems to draw 2,4W - that's 0,4A (400mA).
That might be enough as a basic load for the 7805.

Or how about the little 7805 models in TO-92 transistor case (LM78L05-C845)? They're rated 0,1A.
I have little experience with them, though. 🙁

BitWrangler wrote on 2025-01-10, 23:53:

Those lantern batteries, seemed in a "weird place" when I was young. There was this one thing in the house which used one, and they were either nowhere to be found in the stores, or findable and $10, or suddenly available widely and $2... unstable supply and price... so I was never particularly tempted to use one for a project, despite older sources recommending such. Anyway, 4.5V I know would be fine for TTL supply normally for something standalone, but I want to avoid the problem where if supply is at 4.5 and maybe still sucks off the port lines because they're a bit higher.

I understand. I must admit that the battery was slightly out of fashion already in my youth, too.
It was still readily available in petrol stations, though,
because those flat torch lights for cars had used them (signal lamps with red/green filter, too).

They looked like this:
https://www.rohling-express.com/rohlingexpres … henlampe-P.html

That being said, the 4,5v battery was very popular here in Europe in the decades before the 90s, though, so I think the Wikipedia article is right.
In my country, the 4,5v battery was used in school and in electronic construction sets, at least.

Probably because it had lots of current (mAh) but was otherwise safe.
Even if shorted, the 4,5v battery wouldn't catch fire so easily. It would simply discharge.
Doll houses used the battery, too. There was an optional plastic cap for 3LR12 with a switch and a few sockets, meant for miniature plugs.
Over there in former GDR, the coal (carbon) version was very popular and just called "R12" or so I heard.

"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//