SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

Just for fun 8-) (Part 3)…

Inspired from the SNAC Accessory Converter and the IEC Support of the C64 Core I created together with dtimber this little Adapter PCB.
The Adapter converts the MiSTer FPGA User Port (Serial IO/SNAC) into a Commodore IEC/CBM (Serial) Bus Port.
Use the Adapter to connect a real Commodore Floppy 1541 or compatible devices (SD2IEC/PI1541) to your MiSTer.
Use it with compatible Cores like the C64 Core.

There is a PCB for Levelshifter & Voltage Regulator breakout boards and a tested Full-SMD PCB available.
Case by dtimber.

More Details here: https://github.com/venice1200/MiSTer_SNAC2IEC

Tested Hardware
Boards: Analog Board 6.1, Digital Board 1.2
IEC Devices: SD2IEC, PI1541, CBM 1541, CBM1541-II (Stock DOS & JiffyDOS), CBM 1571
Restrictions: Only one genuine Commodore device can be used at a time

PCB_Top_small.jpg
PCB_Top_SMD_small.jpg
Complete_with_Levelshifter_small.jpg
Case_Front_Side_small.jpg
Case_Back_Side_small.jpg
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (for CBM Cores)

Unread post by venice »

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

FPGA64
Top Contributor
Posts: 937
Joined: Mon Mar 01, 2021 3:10 pm
Has thanked: 49 times
Been thanked: 374 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by FPGA64 »

Very cool Thanks to both of you
User avatar
NML32
Posts: 298
Joined: Sun May 24, 2020 6:57 pm
Has thanked: 301 times
Been thanked: 51 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by NML32 »

Thank you!! Very nice looking.
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by LamerDeluxe »

Awesome! I suppose this would work with the 1520 plotter as well, as it also uses the IEC connection.
I love how the housing looks similar to a tiny Commodore power brick.

EDIT: I've heard talk about one of the MiSTer hardware sellers planning to sell adapters like this, months ago, but didn't hear anything since.
User avatar
rickdangerous
Posts: 319
Joined: Sun May 24, 2020 7:35 pm
Location: Lisbon, Portugal
Has thanked: 36 times
Been thanked: 81 times
Contact:

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by rickdangerous »

LamerDeluxe wrote: Thu Apr 07, 2022 7:35 am Awesome! I suppose this would work with the 1520 plotter as well, as it also uses the IEC connection.
I love how the housing looks similar to a tiny Commodore power brick.

EDIT: I've heard talk about one of the MiSTer hardware sellers planning to sell adapters like this, months ago, but didn't hear anything since.
Yes and its working, but just work with a single IEC device only. For multiple IEC device operation we would need to make changes in the core as we need 2 extra fpga lines. Anyway one single IEC device should be ok for most users.

MiSTer and FPGA Gaming European Shop
Classic MiSTer, MultiSystem, JAMMIX iTX and Official Addons.
https://ultimatemister.com powered by RetroShop.pt

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

I had two devices connected.
First the pi1541 and behind the sd2iec.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
rickdangerous
Posts: 319
Joined: Sun May 24, 2020 7:35 pm
Location: Lisbon, Portugal
Has thanked: 36 times
Been thanked: 81 times
Contact:

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by rickdangerous »

Good to hear, will test this design. Thx for your work.

MiSTer and FPGA Gaming European Shop
Classic MiSTer, MultiSystem, JAMMIX iTX and Official Addons.
https://ultimatemister.com powered by RetroShop.pt

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

The only Pin on the IEC Connector which is actualy not connected is Pin 1 (SERIAL SRQ) and is described as "not used" by the C64.
https://www.c64-wiki.com/wiki/Serial_Port

But the C128 use it with the 1571/1581, so the PCB needs a re-design for the C128 if needed.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by LamerDeluxe »

Cool, so daisy-chaining works as well then, good to hear!
User avatar
rickdangerous
Posts: 319
Joined: Sun May 24, 2020 7:35 pm
Location: Lisbon, Portugal
Has thanked: 36 times
Been thanked: 81 times
Contact:

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by rickdangerous »

Have just ordered some boards and will test.

MiSTer and FPGA Gaming European Shop
Classic MiSTer, MultiSystem, JAMMIX iTX and Official Addons.
https://ultimatemister.com powered by RetroShop.pt

raparici
Posts: 8
Joined: Mon May 25, 2020 6:53 pm
Has thanked: 2 times
Been thanked: 3 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by raparici »

venice wrote: Thu Apr 07, 2022 10:18 am I had two devices connected.
First the pi1541 and behind the sd2iec.
It would be interesting to see daisy chaining with real commodore devices. Pi1541 does include a buffer to the design in order to cope with real commodore devices, otherwise a level shifter alone can only drive one device.
User avatar
rickdangerous
Posts: 319
Joined: Sun May 24, 2020 7:35 pm
Location: Lisbon, Portugal
Has thanked: 36 times
Been thanked: 81 times
Contact:

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by rickdangerous »

raparici wrote: Fri Apr 08, 2022 8:48 am
venice wrote: Thu Apr 07, 2022 10:18 am I had two devices connected.
First the pi1541 and behind the sd2iec.
It would be interesting to see daisy chaining with real commodore devices. Pi1541 does include a buffer to the design in order to cope with real commodore devices, otherwise a level shifter alone can only drive one device.
Yes, I'm ordering the pcb to test and compare with our design, seems similar. I think one IEC (real) device would be enough for most users but would be interesting to daisy chain devices. Have several and can confirm it soon.

MiSTer and FPGA Gaming European Shop
Classic MiSTer, MultiSystem, JAMMIX iTX and Official Addons.
https://ultimatemister.com powered by RetroShop.pt

User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

venice wrote: Thu Apr 07, 2022 2:56 pm The only Pin on the IEC Connector which is actualy not connected is Pin 1 (SERIAL SRQ) and is described as "not used" by the C64.
https://www.c64-wiki.com/wiki/Serial_Port

But the C128 use it with the 1571/1581, so the PCB needs a re-design for the C128 if needed.
Would be possible to share the BOM file for the full SMD version? I dont seem to find it on the Github. Thanks!

Edit:
Nevermind. I got it! Thanks for sharing anyways!
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

Daniel8b wrote: Fri Apr 08, 2022 9:15 am ..share the BOM file for the full SMD version? I dont seem to find it on the Github. Thanks!

Edit:
Nevermind. I got it! Thanks for sharing anyways!
Please post it and I will add it ;)

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

venice wrote: Fri Apr 08, 2022 1:39 pm Please post it and I will add it ;)
Got it done in my head actually, but if Im not wrong should be something like this:

R1-R4: 0 ohm 0805 resistors (optional)
R5-R12: 10k 0805 resistors
C1-C3: 100nf 0805 capacitors
Q1-Q4: N-Channel SOT23 MOSFET transistors (BSS138 or similar)
U1: 3.3v LM1117 SOT223 regulator
J1: USB3 type A connector
J2: 6 pin DIN connector
J3: DC barrel connector (5.5/2.1 mm should be fine for most PSUs)

I dont have KiCAD installed so you might want to doublecheck my list ;)
User avatar
d.ti
Posts: 26
Joined: Tue May 26, 2020 3:35 pm
Has thanked: 7 times
Been thanked: 12 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by d.ti »

C1 - C3 shall be 22 uF. Please pay attention to buy a 1117 regulator which is stable with MLCCs caps (mentioned within datasheet).
Find my projects on Github: https://github.com/dtimber/
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

Daniel8b wrote: Fri Apr 08, 2022 2:48 pm
I dont have KiCAD installed so you might want to doublecheck my list ;)
Many Thx

Just as a note, the Full-SMD PCB is (currently) untested.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

venice wrote: Fri Apr 08, 2022 4:22 pm Many Thx

Just as a note, the Full-SMD PCB is (currently) untested.
I'll test it out and post my findings here. I have a couple of 1541s and some IEC2SD around...

Cheers!
User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

Ok! I can confirm the SMD PBC is working fine. I will now test it with two devices to see how it goes.

Greets!
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

Please drop some pictures of your build!

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

Here is one:
You do not have the required permissions to view the files attached to this post.
User avatar
NML32
Posts: 298
Joined: Sun May 24, 2020 6:57 pm
Has thanked: 301 times
Been thanked: 51 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by NML32 »

@Daniel8b that looks very nice.
I'm looking forward to your test results daisy-chaining multiple iec devices.
User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

NML32 wrote: Fri Apr 22, 2022 4:04 pm @Daniel8b that looks very nice.
I'm looking forward to your test results daisy-chaining multiple iec devices.
I did a quick test with two 1541 (one 1541 and one 1541 II) and so far I was not able to get them running at the same time... Probably is too much for the level shifter to drive. But hey, one drive is already great to check out all those old disks!
User avatar
NML32
Posts: 298
Joined: Sun May 24, 2020 6:57 pm
Has thanked: 301 times
Been thanked: 51 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by NML32 »

Daniel8b wrote: Fri Apr 22, 2022 4:42 pm
NML32 wrote: Fri Apr 22, 2022 4:04 pm @Daniel8b that looks very nice.
I'm looking forward to your test results daisy-chaining multiple iec devices.
I did a quick test with two 1541 (one 1541 and one 1541 II) and so far I was not able to get them running at the same time... Probably is too much for the level shifter to drive. But hey, one drive is already great to check out all those old disks!
Agreed, one is better than none. :D
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

Daniel8b wrote: Fri Apr 22, 2022 4:42 pm
NML32 wrote: Fri Apr 22, 2022 4:04 pm @Daniel8b that looks very nice.
I'm looking forward to your test results daisy-chaining multiple iec devices.
I did a quick test with two 1541 (one 1541 and one 1541 II) and so far I was not able to get them running at the same time... Probably is too much for the level shifter to drive. But hey, one drive is already great to check out all those old disks!
Was one of the drives working?
Silly question, did you use different ID‘s for the drives?

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

triangle
Posts: 14
Joined: Sun May 24, 2020 11:10 pm
Has thanked: 10 times
Been thanked: 2 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by triangle »

Hey Venice! This is awesome, are you taking commissions to build these? Been thinking about trying to get things off my childhood disks + playing with print shop.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by venice »

triangle wrote: Mon May 02, 2022 4:04 am Hey Venice! This is awesome, are you taking commissions to build these?
No, but we got a request from two well known sellers :mrgreen: we will see.

Depending on your location, it may be that someone has a board left for DIY. Ask around.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
Daniel8b
Posts: 24
Joined: Tue Feb 08, 2022 10:03 am
Been thanked: 14 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by Daniel8b »

venice wrote: Sun Apr 24, 2022 7:43 am Was one of the drives working?
Silly question, did you use different ID‘s for the drives?
Yes, I tried different IDs for each drive.

There was a combination (I belive having the older 1541 first on the daisy chain, but Im not sure now) that resulted in one drive working.
User avatar
kathleen
Top Contributor
Posts: 421
Joined: Fri Jun 26, 2020 4:23 am
Location: Belgium
Has thanked: 243 times
Been thanked: 138 times

Re: SNAC2IEC Adapter PCB (Connect Commodore Floppy to MiSTer)

Unread post by kathleen »

I received my SNAC2IEC built this week-end, this is really an amazing device. I've tested it with a real floppy and it works like a charm, next step will be to test with the SD2IEC device and also by using 2 devices to see if this works or not. But I'm already happy to see my real floppy drive connected to the Mister and got it working like on real hardware.
20220521_145413.jpg
20220521_145803.jpg
You do not have the required permissions to view the files attached to this post.

かすりん

Post Reply