Comments (16)
Hi, tbh Iām not sure, I suspect not directly. I suspect the code would need modifying for a different bit-rate
from arduinofloppydiskreader.
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.
It works right away when I added sudo
.... no clue why since I managed to flash without
from arduinofloppydiskreader.
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.
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.
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.
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.
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.
The ATX power supply shuts off?
from arduinofloppydiskreader.
yeah directly followed by Error opening COM port: Error reading response from the Arduino while running command EnableMotor.
from arduinofloppydiskreader.
IF the power supply shuts off it will mean overload or short circuit.
from arduinofloppydiskreader.
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.
Mitsubishi MF503B(-312M), the DC power requirements show:
+5v +-5% 0.5A typ 0.7A
+12v +-5% 0.6A typ 1.0A max
page 2 near the bottom
from arduinofloppydiskreader.
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.
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.
Not much I can help with if you are having power issues im afraid
from arduinofloppydiskreader.
Related Issues (20)
- Question-WD1793FDC compatible use? HOT 2
- Inconsistent writing HOT 11
- Using Arduino Duemilanove with on-board USB UART (FT232RL) for read-only? HOT 5
- Reading NEC 765-style (double density, MFM, "360KB") floppies HOT 17
- Writing doesn't work for me HOT 15
- Ported the sketch to work with Arduino Pro Micro (Atmega32U4, 5V, 16Mhz) HOT 4
- Sucessfully read ATARI ST DD Disks (720 MBytes, 820 mBytes, 930 MBytes ) HOT 13
- Created Python scripts to read IBM/DOS/Commodore 1581 via ArduinoReader
- Visual Studio 2019
- Write errors in first sectors HOT 3
- Checksum errors while reading HOT 12
- Porting to RaspberryPi HOT 2
- It does not run under WindowsXP HOT 4
- Writting .d81 files HOT 1
- Broken access on Linux - firmware 1.8 HOT 4
- Linux capsimage segfault
- Baud rate not set correctly on macOS Ventura
- Linux compile does not work OOTB with latest desktop ubuntu
- How to write on a sector
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 arduinofloppydiskreader.