Comments (5)
I didn't do any contributions myself yet (but i really want to if i find some time) but since i played around a bit with moppy already i can answer your questions.
-
i) yes
ii) also yes -
Moppy will force all the way to starting position during initialization, it knows how many steps from there to reach the end. It always remembers the position and will reverse direction to not hit either end or starting position.
from moppy2.
Thank you pyraei, most helpful.
So it will send movement signal enough times until it is with no doubt at the start position, this is not harmful for the motor/hardware?
I was just reading the guide again and realised I don't really understand step 1.
"Connect the appropriate even-numbered drive select pin to its corresponding odd-numbered ground pin."
How do I determine the appropriate drive select pin? Is it determined based on which Arduino output it is connected to? From what I have read so far there is A and B. And what if you have more than two drives?
Thanks again,
Nick
from moppy2.
yes, and pretty sure it's not harmful, yes.
just as before, it doesn't even matter which ground pin you use.
Further it doesn't matter if A or B just make sure either 12 or 14 are connected to a ground pin, this is needed to make the hardware work.
This is really just from the way the floppy drives were meant to be used, old PCs supported 2 drives and the cables would have 3 ends, 1 going into the Mainboard, one to drive A and one to drive B (that one would have some cables twisted to change the drive select pin, easy to see when you google for it)
Moppy only cares for the arduino output pins being used (2&3 first floppy drive, 4&5 second floppy drive, etc...)
from moppy2.
Just to add a little to @pyraei 's excellent info:
- i) Still yes.
ii) Almost certainly yes. 😉 I don't remember coming across any floppy drives where the ground pins weren't all connected on the floppy-drive side, but it's always possible that some might be separate or not connected for some reason. I tend to try to use one of the ground pins opposite the pins that I'm using for Step or Direction control. - The floppy drive interface doesn't provide any information about the head's current position so, as @pyraei said, the "correct" way to reset the head back to the starting position is just to step it that direction as many times as there are tracks. Some drives have a small sensor at that position so that the stepper motor won't try to move the head any further back, others are just built to tolerate it.
Sometimes (especially for higher frequency notes) the actual drive position and the position Moppy is tracking will diverge though. If this results in the head going too far back it's basically like resetting the drive and things sync back up. If the head goes too far forward, you get a nasty clicking/grinding sound. The drives appear to have been designed to accept this sort of treatment, so it doesn't really hurt the drive, it just doesn't sound nice. If it's happening a lot, the notes you're playing on that drive might be too high.
Regarding A vs B (with some historical background you probably don't care about but there's a tl;dr at the end): Old computers often had an "A" floppy drive and a "B" floppy drive, but they shared the same ribbon cable. Because there was only one cable between the two drives, the computer would use the Drive Select
pin to activate the proper drive. However, you'll have noticed that since they share a cable, this requires that the drives actually "know" whether or not they are drive A or drive B. Sometimes there's a small jumper on the drive to allow you to choose, but I've also seen drives without that just assume that they are drive A (or drive B).
Tl;dr: Some drives only activate when you ground select-A, some only when you ground select-B. The Arduino/Moppy doesn't care as long as the drive itself is selected somehow.
from moppy2.
Awesome, thanks guys! Can't wait to get started!
from moppy2.
Related Issues (20)
- Windows Java Runtime Error HOT 2
- MoppyGUI wont connect to arduino HOT 2
- Floppy drive doesn't play music or startup tone HOT 13
- Compilation error: 'TIMER_RESOLUTION' was not declared in this scope HOT 7
- Nothing happens HOT 1
- code not compilation HOT 4
- Notes per channels HOT 1
- MoppyControlGUI.bat crashes HOT 10
- Default Sub-Address Script is Wrong
- Флоппи HOT 1
- ControlGUI sends mdi data to serial, board serial led indicates data comes but the floppy motor doesn't move HOT 10
- Startup Sound should default to true HOT 1
- ESP32 support HOT 2
- Issue with MoppyControlGUI HOT 9
- Using without GUI ? HOT 8
- Error when uploading to Arduino R3 HOT 32
- .Bat file not openning correctly HOT 1
- Checking COM port in Network Bridges list causes error - Failed to open serialPort HOT 5
- How to connect fdd to esp8266 HOT 2
- MoppyControlGUI not starting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moppy2.