GithubHelp home page GithubHelp logo

Comments (16)

RobSmithDev avatar RobSmithDev commented on May 29, 2024

Hi, tbh Iā€™m not sure, I suspect not directly. I suspect the code would need modifying for a different bit-rate

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

I had some old Arduino Mini pro and a (possibly even older) FTDI in the closet, after flashing it with the ino I can't seem to be able to address it all. I've compiled the ArduinoFloppyReader drawbridge but it doesn't seem to be able to communicate with the Arduino. I'll order a new Arduino and FTDI tomorrow and see what happens.

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

It works right away when I added sudo.... no clue why since I managed to flash without

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

Is it ok to have the 1K ohm resistor between 5v of the arduino and pin 8 with separate power sources or should it be connected to the PSU of the floppy drive?

http://amiga.robsmithdev.co.uk/images/promini_writer_plus.gif

The first attempt is with the 5v not connected to the arduino, second is with it connected. I think the arduino is getting it's power over the IDC 34pin since the Arduino does turn on when only the floppy is hooked up and powered so without the FTDI connected.

patrick@patrick-X470-AORUS-ULTRA-GAMING:~/git/ArduinoFloppyDiskReader/ArduinoFloppyReader/ArduinoFloppyReader$ sudo ./drawbridge /dev/ttyUSB0 OutputFilename.SCP READ
DrawBridge aka Arduino Floppy Disk Reader/Writer V2.8.8, Copyright (C) 2017-2022 Robert Smith
Full sourcecode and documentation at https://amiga.robsmithdev.co.uk
This is free software licenced under the GNU General Public Licence V3

Error opening COM port: Error reading response from the Arduino while running command EnableMotor.  

patrick@patrick-X470-AORUS-ULTRA-GAMING:~/git/ArduinoFloppyDiskReader/ArduinoFloppyReader/ArduinoFloppyReader$ sudo ./drawbridge /dev/ttyUSB0 OutputFilename.SCP READ
DrawBridge aka Arduino Floppy Disk Reader/Writer V2.8.8, Copyright (C) 2017-2022 Robert Smith
Full sourcecode and documentation at https://amiga.robsmithdev.co.uk
This is free software licenced under the GNU General Public Licence V3

Error opening COM port: Last command completed successfully.  

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

Hi, first you always need to power up the Arduino first as (as you suspect) it will power up from the 34-pin connector, and not always in a good way.

Re the resistor. It doesnt matter as long as its pulled to 5v. Probably the Arduino 5V is better.

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

I butchered the wiring and hooked up the pin 8 resistor to an additional lead from the PSU but still the same result.

As soon as I try to read from floppy the PSU shuts off, the PSU I'm using is an older ATX power supply with a short in the 20/24 pin header to keep it on

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

The issue after enable motor usually means the drive is pulling too much power, which has caused the 5V to drop too low and as a result the Arduino has probably performed a brown-out detected reset. I suggest for testing powert the Arduino from a seperate 5V power supply first

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

I am, it's the ATX PSU that shuts off, both with and without the 5V from the FTDI hooked up to the Arduino.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

The ATX power supply shuts off?

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

yeah directly followed by Error opening COM port: Error reading response from the Arduino while running command EnableMotor.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

IF the power supply shuts off it will mean overload or short circuit.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

Looking around, and I don't know which model of BBC drive you have, but some of them can peek at 1.2 amps on the 12v

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

Mitsubishi MF503B(-312M), the DC power requirements show:

+5v   +-5% 0.5A typ 0.7A
+12v +-5% 0.6A typ 1.0A max

https://www.minuszerodegrees.net/manuals/Mitsubishi/Mitsubishi%20-%20MF501B,%20MF503B,%20MF504B%20-%20Specifications%20and%20Application%20Notes.pdf

page 2 near the bottom

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

I suggest you try to get the disk spinning without the arduino for the minute, sounds like theres a issue there somewhere. The Error you get from the software is because the arduino reset its self, probably because of the power issue

from arduinofloppydiskreader.

patvdleer avatar patvdleer commented on May 29, 2024

Different ATX PSU, same issue, I still have a Teac 14733730, that one does spin up but results in: Error opening COM port: Last command completed successfully.

I've been trying a bunch of stuff but everything seems to fail.

Even the diagnostic,

DrawBridge aka Arduino Floppy Disk Reader/Writer V2.8.8, Copyright (C) 2017-2022 Robert Smith
Full sourcecode and documentation at https://amiga.robsmithdev.co.uk
This is free software licenced under the GNU General Public Licence V3

Running diagnostics on COM port: /dev/ttyUSB0
Attempting to open and use /dev/ttyUSB0 without CTS
Testing CTS pin
CTS OK.  Reconnecting with CTS enabled
Board is running firmware version 1.9.25  (modded for DiskChange support)

Fetching latest firmware version...
Firmware is up-to-date
Features Set: 
      o Disk Change Pin Support
      o DrawBridge PLUS
      o HD/DD Detect Enabled
      o Accurate Flux Read Mode
Testing USB->Serial transfer speed (read)
The USB->Serial adapter in use is not suitable.
Arduino UNO: The on-board adapter is not able to sustain large data transfers
Arduino Pro mini: The USB-Serial board is not able to sustain large data transfers
Arduino Nano: The USB-Serial on this board is not fast enough to sustain large data transfers

If you are using any of the devices with a CH340 converter then swap it for an FTDI one.
If you still have problems after switching, connect the Arduino using a shorter cable
and if possible directly (ie: not via a USB hub)
DIAGNOSTICS FAILED: Diagnostics failed.
[ ] DISKCHANGE 	Force DiskChange Detection Support (used if pin 12 is not connected to GND)
[X] PLUS 	Set DrawBridge Plus Mode (when Pin 4 and 8 are swapped for improved accuracy)
[ ] ALLDD 	Force All Disks to be Detected as Double Density (faster if you don't need HD support)
[ ] SLOW 	Use Slower Disk Seeking (for slow head-moving floppy drives - rare)
[ ] INDEX 	Always Index-Align Writing to Disks (not recommended unless you know what you are doing)

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 29, 2024

Not much I can help with if you are having power issues im afraid

from arduinofloppydiskreader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.