Open RedsLuc27 opened 10 months ago
Hi there,
MoppyClassic isn't really being maintained or supported anymore, so my first suggestion would be to go install the Arduino code from Moppy2. One of the advantages of the new code is it will play a little startup tone on the drive to confirm the Arduino and floppy are correctly connected, which is a very helpful troubleshooting step.
Is there a specific reason you're trying to use MoppyClassic instead?
Hi I dont use moppy 2 because the .bat files start and quit immediatly !
And for the pin dir and step the arduino difusse gnd or 5V ? (My floppy drive only accept GND to pin dir and step I think )
I install moppy2 on the arduino and i press the reset button and it say nothing !
After a new installation of Java Moppy 2.0 (.bat files) is functionnal !
But now is the arduino sketch...
Yeah, have you uploaded the Arduino sketch from Moppy2? That has the startup tone, but also is required to work with the Moppy2 GUI.
On Fri, Jan 12, 2024, 09:52 LucasLePompier @.***> wrote:
But now is the arduino sketch...
— Reply to this email directly, view it on GitHub https://github.com/Sammy1Am/MoppyClassic/issues/207#issuecomment-1889721551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSF6ENJTCOCC63B342YETYOFZ67AVCNFSM6AAAAABBUZ5KR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZG4ZDCNJVGE . You are receiving this because you commented.Message ID: @.***>
But I have uploaded the sketch to the arduino but arduino IDE makes an error...
What's the error?
On Fri, Jan 12, 2024, 10:05 LucasLePompier @.***> wrote:
But I have uploaded the sketc to the arduino but arduino IDE makes an error...
— Reply to this email directly, view it on GitHub https://github.com/Sammy1Am/MoppyClassic/issues/207#issuecomment-1889738481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSF6DO4JOBPJUWO7WB3S3YOF3QLAVCNFSM6AAAAABBUZ5KR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZG4ZTQNBYGE . You are receiving this because you commented.Message ID: @.***>
This is the error !
The problem is solved ! after an new installation of the files !
but now how can i makes the led of the floppy drive lights up when it has an action otherwise is off ?
Hello ? How I can makes the led blinking when the stepper move and led stop on the stepper stop ?
Greetings!
There's a couple options:
The LED on the drive turns on when the DRIVE SELECT
pin is connected to ground. The normal instructions just have you do this all the time, but if you'd like to control that with the Arduino, you'll need to connect that pin from the floppy to the Arudino instead. You'd need to use a pin outside the range of the pins selected for use as instruments in Moppy (D18 is the first available on the Arduino Uno by default, but if you're using less than 8 drives you can adjust this line and it should let you use lower numbers for the LED.
Then you just need to modify the code to toggle on and off the select PIN whenever notes are playing. It'll need to be on all the time you want notes because otherwise the drive is unselected and won't respond to input. Probably easiest to just shove it in FloppyDrives.cpp.
Because the DRIVE SELECT pin determines whether or not the drive will respond to input, if you're looking for something more purely display-oriented, you could just connect separate LEDs for each drive (or disconnect the LEDs on the drive and wire them up separately. Then you could connect the LED to the STEP
pin for the drive and it would automatically turn on whenever a note is playing, so you wouldn't need to make any software changes.
That should give you a good software (1) or hardware (2) option. There's a more complicated 3rd option where you add software-controlled, separate LEDs (like in some of my newer videos). There's some code for this in the experimental branch, but it's been long enough I don't remember exactly how it works.
I use this option : "Because the DRIVE SELECT pin determines whether or not the drive will respond to input, if you're looking for something more purely display-oriented, you could just connect separate LEDs for each drive (or disconnect the LEDs on the drive and wire them up separately. Then you could connect the LED to the STEP pin for the drive and it would automatically turn on whenever a note is playing, so you wouldn't need to make any software changes."
The LED shines even when it is not playing notes and once the music starts it shines when it should! (this english is google translate)
And if he move big steps the led stop shines !
Hello, How can I use a stepper motor for drums? ? And can i use custom board (with atmega328p) for Moppy ?
How can I use a stepper motor for drums? ?
Er, I'm not sure. Most drum setups I've seen have used something more like a relay/solenoid sort of thing for percussion. If you wanted to do that, you could use a shift register and switch to the ShiftRegister instrument by commenting/uncommenting the appropriate lines here. Each position on the shift register will be mapped to a specific MIDI note.
I guess if pressed you could use a stepper motor by attaching several drumsticks to it radially and turning it one-stick-worth each time the note was activated. You'd need a new instrument class to handle that use case though.
And can i use custom board (with atmega328p) for Moppy ?
Yeah, sure. Anything with support for the Arduino framework should be fine (I've used ESP8266s successfully).
Hello, Can i use cd reader for this ?
Yes. Basically anything electronically controlled can be used with this. However, the CD drive interface is not as straightforward as the floppy drive, so you'd most likely need to use a controller to hardwire directly to the stepper motor(s) in the CD drive.
Hello, I have floppy disk arduino uno and ATX power supply. The program on the arduino is working (tested with stepper motor and A4988 driver with Moppy Classic !) and my floppy disk is powered and if I start music by the sample song of the moppy 2.0 (only for the sample song I use moppy 2.0) the floppy drive not working...
I use a TEAC FD 235 HG and the step pin is connected to the pin two of the arduino and dir pin to the pin 3... and if I reverse the pin 2 and 3 and I press reset button on the arduino the stepper motor do 1 step...
Sorry for my English I'm French and Teen !