Comments (10)
Also tried testing drives by shorting pins as per guide video , motor moves back-forth indicating no hardware errors in drives
Another think I tried is connecting two drives to pins 1,2,3,4 and only one of the drives work (with old Moppy(classic) INO + GUI 2.0) , the second doesn't move
On board reset however, both drives make the little 'tone'.
from moppy2.
from moppy2.
Using the classic INO on the board with GUI 2.0 was just an experiment, to see if I would get something out of it.
Also, just want to confirm that "pins 1,2,3,4" means 2,3,4,5 (since 0 and 1
are COM pins)
Correct, that was confusing statement from my side.
Pins were 2,3 for floppy1 and 4,5 for floppy2.
The test setup currently is:
Floppy 18-DIR, 20-STEP are on board pins 3, 2
12-SEL1 is grounded with 9-GND
17-GND goes to board GND pin
Floppy is powered by an ATX power supply, all power pins are connected with the original floppy plug of the supply.
Moppy2.0 INO uploaded to the board, no errors. The avrdude while uploading determines the board signature 0x1e950f (probably m328p). As mentioned before, both boards (an Uno and Nano) are clones, non-originals. They use the CH340 driver.
Moppy2.0 GUI opens via .bat
MDI file loaded, correct COM selected (checked via hardware manager), baud rate set to 9600.
When MDI starts, the serial led on board indicates activity but floppy motor doesn't move.
The column at the upper right corner of the GUI doesn't show anything, its grayed.
Please let me know if more details are needed. I can also take pictures of the setup / screenshots of the GUI if necessary.
from moppy2.
Thank you for the additional information, it sounds like things are pretty much set up correctly. A couple notes:
- Arduino clones are fine, no worries there.
- Pin connections seem fine.
- With 2.0 INO, on reset, does the first (pins 2,3) drive play a little 4 note melody (as at 5:00 in this video?)
- If the melody plays, the firmware and wiring are correct.
- If the melody plays but the Arduino doesn't show up in the upper right of the GUI, there's some sort of COMs issue
- The serial LED on the board will flash when data is sent to the board, even if there's no code on the board. So that's only really an indicator that your PC is trying to communicate, but doesn't mean it was successful.
- If the melody doesn't play, something has gone wrong with the INO upload or configuration (or your wiring is wrong, but that seems unlikely at this point)
from moppy2.
With 2.0 INO, on reset, does the first (pins 2,3) drive play a little 4 note melody (as at 5:00 in this video?)
When reset button is pressed the floppy makes a little sound but doesn't move the motor forth and backwards as shown in the video. This behavior is the same with another floppy as well, doesn't seem to be hardware issue with the floppy itself.
Made a video, https://www.youtube.com/watch?v=0Uey9J4fb30
When I'm playing around with the wires, shorting 18-DIR with 17-GND and tapping the 20-STEP the motor moves forward
Then tapping 20-STEP with 17-GND moves it backwards.
So the wiring and drive seem OK.
If the melody plays but the Arduino doesn't show up in the upper right of the GUI, there's some sort of COMs issue
Not sure if what I get on my setup considers as the 'melody', but since the board was hooked to the USB of a docking station, I tried the USB on the laptop itself. COM number changed when cable was switched but the same result, the GUI didn't show the board.
from moppy2.
Managed to get the motor moving with simple piece looking like so
void loop() {
digitalWrite(dir, LOW);
for (int i=0; i<= 5; i++) {
digitalWrite(step,HIGH);
delay(1000);
digitalWrite(step,LOW);
}
delay(3000);
digitalWrite(dir, HIGH);
repeat of the for...
}
where step = 2 ; dir = 3 (the corresponding pins)
the thing movies back and forth with this
so this tights down to the Moppy2.0 code
from moppy2.
The video was very helpful, that is not the startup melody, so it seems that the 2.0 code is not uploaded or working correctly.
However the sound you are getting is probably the code resetting the drive, so there's some kind of Moppy code on there, but it might be the 1.0 code.
Double check that you're definitely using the latest 2.0 code, and then I guess maybe copy and paste the full output from the IDE upload process. Sometimes it will fail to upload but be very subtle about it.
from moppy2.
Got it working.
The code was uploading, the startup melody didn't play because by default in config its defined false.
I left the baud rate 57600 (as by default) instead of setting it 9600 in the GUI, checked the COM checkbox.
Few seconds later on the upper right the device address showed up, I loaded MDI & it started running as if by miracle.
It is also worth mentioning to anyone reading this with similar problems - use the provided sample MDI files! Not all MDI files found on the net play for some reason.
Now is play time, need to hook the 4 more floppies I got and start searching for more to make an orchestra.
Thanks for your help and the work on this repo, really appreciate not having to write this up from scratch myself.
from moppy2.
Glad you got it working!
The startup melody should default to true though:
https://github.com/Sammy1Am/Moppy2/blob/master/Microcontroller/Moppy2-Arduino/src/MoppyConfig.h#L32
Maybe double check you're on the latest version, or let me know where you found it was disabled (maybe I've missed something)
from moppy2.
Oh no! Just downloaded the zip file and it's false there! π What?!
I'll have to fix that.
from moppy2.
Related Issues (20)
- ...Android π HOT 4
- 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
- Startup Sound should default to true HOT 1
- ESP32 support HOT 2
- Issue with MoppyControlGUI HOT 3
- 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 2
- How to connect fdd to esp8266 HOT 1
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.