Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add more floppy drives? #3

Open
pugnaciousbear opened this issue Jul 27, 2016 · 8 comments
Open

Can't add more floppy drives? #3

pugnaciousbear opened this issue Jul 27, 2016 · 8 comments

Comments

@pugnaciousbear
Copy link

I have 2 drives connected.
My config is
drive 18 17 drive 19 19
This works fine. I then add in the other floppy
drive 20 17 drive 26 19 and this doesn't work. It is plugged in to BCM 20 and 26, and pins 17 and 19 on the floppy. The other drive too is 17 and 19.

@Kingdread
Copy link
Owner

I'm not sure if I understand correctly how your wiring looks like, but please note that it's a single drive entry per drive. You only need to specify the pins that carry the voltage, not the ground pins. You can wire the ground pins to whatever ground pin on the Pi and you don't need to tell floppymusic about it. You can even reuse the same ground for many drives.
As such, your config should probably look like

drive 18 19
drive 20 26

because you only need to specify the output pins, not the ground pins.

@pugnaciousbear
Copy link
Author

I will try this. Thank you.

@pugnaciousbear
Copy link
Author

All I can hear is just -click click click- from the drive :p

@Kingdread
Copy link
Owner

Hm, so the other drive works fine, even if you connect the second one? You could try adding a dropfactor (-d on the command line). If the frequency is too high, some drives may have issues playing. Or are you by any chance compiling with -DFASTIO (not the default)? If yes, remove that and try again.

Other than that, you could try some other floppy music program (like this one), just to verify that the drive works and the issue is related to floppymusic/your configuration. (note that the pin numberings might differ in this script compared to floppymusic)

You can also try different pins or swap the two drives and see if it's the connection or the drive.

@pugnaciousbear
Copy link
Author

pugnaciousbear commented Jul 28, 2016

I tried that - yeah it seems to be my config.
drive 18 19 drive 19 19
this works with the single drive
It is on multiple lines, i just cant format it...

@Kingdread
Copy link
Owner

The drive 19 19 part is most likely wrong - you can't use a single pin twice, and you can't reuse a pin for different drives (unless it's a ground pin which should not be listed in the config). Please make sure to only list the relevant pins (i.e. not the ground pins) in your config, and make sure to not reuse a pin for multiple drives (unless it's a ground pin). A correct config should consist of unique numbers (unfortunately, floppymusic does not check this)

@T3CCH
Copy link

T3CCH commented Dec 12, 2018

Thanks for your hardwork on this. Is it possible to use an i2c gpio explander with this?

@Kingdread
Copy link
Owner

From some quick googling it seems that the expander has to be controlled differently, so unfortunately it's not possible to use the GPIO pins of the expander. However, I do not own such a device myself and cannot test it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants