MicroProject - MicroSD to LPT Printer Port

Discussion about old PC hardware.

MicroProject - MicroSD to LPT Printer Port

Postby matze79 » 2018-9-28 @ 12:29

Hi,

i made a little Adapter allowing connection of a microsd card to the lpt printer port.

due do the fact chinese microsd modules with levelshifter are cheaper then a single mmc slot, i used a ready made module :)

new.jpg

new21.jpg


simple single sided PCB.
schematic.png
(11.71 KiB) Not downloaded yet


For Homemakers:
etch me.pdf
(73.42 KiB) Downloaded 11 times



i used this Adapter:
https://www.ebay.de/itm/5Pcs-microSD-TF ... 2749.l2649

Note that this is not very fast, around floppy drive speed, depending on cpu speed.

And here is Nilquaders Driver, its most stable one i found.
There is also SPPD 1.1 Driver which runs also with some SDHC. i need to swap two Pin's in Code so both drivers can be used.

Swapping MicroSD is not possible without powercycle.

schematic.png
(11.71 KiB) Not downloaded yet


Thanks

Matthias
Attachments
dos_093.zip
Nilquader Driver - for Schneider Euro PC and PC XT/AT (Only SD, no SDHC!)
(2.3 KiB) Downloaded 9 times
https://www.dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1168
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: MicroProject - MicroSD to LPT Printer Port

Postby root42 » 2018-9-28 @ 18:28

What IS this? I am intrigued. But... why? I mean, ok, back in the day we used parallel port Zip drives and the like.
Soldering, retro game reviews and more on YouTube and Bonus videos
Me playing games on my 286 and on my Sega MD2 on Twitch
80386DX@25 MHz, 8 MiB RAM, Tseng ET4000 1 MiB, schlae AdLib, PC MIDI Card + SC55MkII, XT CF Lite, OSSC 1.6
User avatar
root42
Oldbie
 
Posts: 629
Joined: 2018-1-27 @ 13:23

Re: MicroProject - MicroSD to LPT Printer Port

Postby stamasd » 2018-9-28 @ 18:29

That looks like it could be useful in particular situations. Very nice, thanks for sharing!
I/O, I/O,
It's off to disk I go,
With a bit and a byte
And a read and a write,
I/O, I/O
stamasd
Oldbie
 
Posts: 1657
Joined: 2014-8-31 @ 19:59
Location: Connecticut

Re: MicroProject - MicroSD to LPT Printer Port

Postby matze79 » 2018-9-29 @ 11:19

its very handy, very small but slow.

But its much better to install borland C 3.1 from microsd instead of changing several floppys :D
Or if you have a XT Clone with floppy only.. or a XT with 360Kb floppy and you simply want to drop some files easily.

The "Nilquader " Driver needs only ~1,5k RAM and implents SPI in Software on LPT.
https://www.dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1168
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: MicroProject - MicroSD to LPT Printer Port

Postby Jo22 » 2018-9-29 @ 21:10

Very nice! :D say, does it work with normal " full size" SD cards, too ?
"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//
User avatar
Jo22
l33t
 
Posts: 3032
Joined: 2009-12-13 @ 07:06
Location: Europe


Re: MicroProject - MicroSD to LPT Printer Port

Postby matze79 » 2018-9-30 @ 08:44

And now ? this driver will not work with this adapter unless its modified and pin's are matched in sourcecode.
Also it's a outdated version.
https://www.dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1168
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: MicroProject - MicroSD to LPT Printer Port

Postby matze79 » 2018-9-30 @ 08:47

Jo22 wrote:Very nice! :D say, does it work with normal " full size" SD cards, too ?


Yes if you add a normal sized shield, maybe connectors for different SD Shields can be added to the breakout PCB.

But not all cards won't work :)
https://www.dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1168
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: MicroProject - MicroSD to LPT Printer Port

Postby Jo22 » 2018-10-04 @ 01:52

Thanks for the info! :)
"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//
User avatar
Jo22
l33t
 
Posts: 3032
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: MicroProject - MicroSD to LPT Printer Port

Postby mcobit » 2018-10-04 @ 07:22

Also worth noting:
Not every sdcard module has a voltage regulator on board. Even if it might work without: a levelshifter on the datalines would also be recommended if not on the module. SD Cards work on 3.3V
mcobit
Member
 
Posts: 134
Joined: 2017-11-15 @ 18:45

Re: MicroProject - MicroSD to LPT Printer Port

Postby mcobit » 2018-10-04 @ 09:40

Here is my ghetto breadboard version of it :-)

20181004_113750.jpg

20181004_113802.jpg
mcobit
Member
 
Posts: 134
Joined: 2017-11-15 @ 18:45

Re: MicroProject - MicroSD to LPT Printer Port

Postby Jo22 » 2018-10-05 @ 08:57

Ghetto ? Looks fine to me! :)

derSammler wrote:https://www.vogons.org/viewtopic.php?t=58585&p=651308#p651308

Thanks!! :D
"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//
User avatar
Jo22
l33t
 
Posts: 3032
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: MicroProject - MicroSD to LPT Printer Port

Postby matze79 » 2018-10-12 @ 11:58

sdcard_lpt_next.png


added 3 Resistors, fixing issues with my XT Computer, (SDCard not detected) added Select Jumper for Driver.
Simply switching the Pin's inside the sdppd Driver Source did not work, don't know why, and did no further investigation.
Used a 16GB SDHC with 32Gb FAT16 Parition and SDPPD Driver v1.1 :)
Attachments
SDPP11(1).zip
(42.14 KiB) Downloaded 2 times
https://www.dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1168
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: MicroProject - MicroSD to LPT Printer Port

Postby mrau » 2018-10-13 @ 15:19

can You measure performance? how slow is it? i understand that its mostly lpt that causes overhead? some advanced modes for lpt allow use of dma iirc
mrau
Oldbie
 
Posts: 1026
Joined: 2015-11-28 @ 12:43

Re: MicroProject - MicroSD to LPT Printer Port

Postby matze79 » 2018-10-14 @ 07:20

Only 1bit is used, so don't expect wonders.
speed depends on how fast your computer can bit bang spi.

Maybe using some shift registers etc would allow using 4bit's 3-4 times faster.. but also needs to rewrite the driver.
https://www.dosreloaded.de - The German Retro DOS PC Community
https://www.retroianer.de
matze79
Oldbie
 
Posts: 1168
Joined: 2014-12-12 @ 14:25
Location: Germany, Frankonia

Re: MicroProject - MicroSD to LPT Printer Port

Postby .legaCy » 2018-10-14 @ 17:16

matze79 wrote:Only 1bit is used, so don't expect wonders.
speed depends on how fast your computer can bit bang spi.

Maybe using some shift registers etc would allow using 4bit's 3-4 times faster.. but also needs to rewrite the driver.

What about using a microcontroller to convert the SPI to the parallel?
of course the driver would need to be rewritten.
User avatar
.legaCy
Oldbie
 
Posts: 503
Joined: 2016-4-08 @ 23:11
Location: Brazil


Return to General Old Hardware

Who is online

Users browsing this forum: BLEXBot [Bot], dionb, Fox Mulder, hard1k, linkdex [Bot], m1919, Nemo1985 and 11 guests