Jump to content

Photo

SDrive-MAX Connection Issue


64 replies to this topic

#1 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Thu Jul 12, 2018 6:52 PM

So I built an SDrive-MAX Arduino powered device but have a problem when it's wired up as expected, with an 1N4148 diode connected between the Atari DATA IN line and the Arduino TxD pin.  I removed the diode and voila, it works again. I asked about this a few days ago in another thread: 

 

 

 

Cathode (black band) end soldered to the Arduino.

 

Which confirmed what I had done. Anyway, to avoid cluttering up that thread (which is about ATX support being added to the SDrive-MAX firmware), I decided a new thread would be more appropriate, and probably helpful for anyone assembling these going forward.  So ...

 

Anyway, I got my 3D-printed case today (huzzah!) and when I went to rewire the device with the diode installed again, I did it this way:

 

IMG_0179.JPG

 

(After soldering, of course I trimmed off the excess leg and then covered everything with heat shrink). 

 

I then soldered in the leg on the black band-side to the Arduino, and measured the forward bias of the diode (red probe of the multimeter in Pin 3 of the SIO plug, black probe on the pin of the Arduino) and got 0.601 volts, exactly as expected for a silicon diode. Reverse bias was OL measured by reversing the probes, also as expected. I put the device inside the case, booted the computer and  … nada. So I took things apart again and soon as I removed the diode, things are working great again. Huh.

 

So variables: the type of Arduino used - a cheapie little clone Uno with additional vias inboard of the headers; power source: Atari SIO +5V pin. Makes no difference whether I plug it in directly to the computer or at the end of the daisy chain; computer used: 1088XEL, normally with an SIO2PC connection to RespeQt through a Sparkfun FTDI-based serial board, two 1050's connected to the SIO port, and a P:R:Connection at the end. I have zero problems using both the SIO2PC device or the floppy drives, simultaneously or separately. They just work. Of course, the XEL is designed for this and the Sparkfun FTDI board has the right isolation already for simultaneous work. 

 

So does anyone have ideas why installing the recommended diode is interfering with my other SIO storage devices? I have not tested with another computer, though I'm tempted to this weekend to see if this is a quirk of the 1088XEL. 

 

But in happier news, the thing works GREAT. My friend is still dialing in his printer so there are few imperfections but most of those will be easy to take care of this weekend with some very fine sandpaper. I stuck rubber feet on the bottom for stability too, which is highly recommended. 

 

IMG_0184.JPG



#2 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,554 posts
  • Location:10-0-11-00:02

Posted Thu Jul 12, 2018 8:30 PM

not sure about this but did you try the same thing but on the Atari data out, and arduino data in...rxd

it's easy to forget the drives cross over ...   I need to see you sio cord

 

pin 3 pin 5   Atari out is 1050 in    Atari in is 1050 out   all things being equal the same should hold true for the uno...


Edited by _The Doctor__, Thu Jul 12, 2018 8:56 PM.


#3 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Thu Jul 12, 2018 8:37 PM

not sure about this but did you try the same thing but on the Atari data out, and arduino data in...rxd

 

No. I was following the instructions here: 

 

http://www.kbrnet.de...-max/index.html

 

Capture.JPG



#4 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,554 posts
  • Location:10-0-11-00:02

Posted Thu Jul 12, 2018 8:42 PM

the wording 'across' is strange...  inline or connected from-to makes sense... across what is the question..

 

hmmmm sounds like the black ring is connected towards the Atari and all the other drives etc. side of things..... 

 

so uno txd anode diode cathode Atari stuff....... verify with all powers off and a DMM that pin 3 in the atari is connected to black ring side of diode and the anode to uno txd....

 

I think it is indeed saying the cathode identified by the black ring goes to pin 3 of Atari computer SIO Port....

 

please show us the sio cord with shell (hood) off


Edited by _The Doctor__, Thu Jul 12, 2018 9:02 PM.


#5 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Thu Jul 12, 2018 8:54 PM

the wording 'across' is strange...  inline or connected from-to makes sense... across what is the question..

 

hmmmm sounds like the black ring is connected to the Atari side.....   not uno side...

 

so uno txd anode diode cathode Atari....... verify with all off and a DMM that pin 3 in the atari is connected to black ring side of diode before r3 txd....

 

This is an auto-translation of a page that's in German.

 

The text in the table says the black ring goes to the Arduino TxD pin. And in my initial post, I quite forum member 'remowilliams' who has also built one of these. 



#6 AtariGeezer OFFLINE  

AtariGeezer

    River Patroller

  • 2,834 posts
  • Location:Santee, CA

Posted Thu Jul 12, 2018 9:24 PM

How are you powering it? USB wall-wart adapter or connected to a PC?



#7 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Thu Jul 12, 2018 9:42 PM

How are you powering it? USB wall-wart adapter or connected to a PC?


I’m powering it through the Atari SIO bus. Should that make any difference though? I honestly dunno.

The device seems to work fine other than the issue with the diode installed. Without the diode, even powered by the SIO bus, it can load and write files normally, even using high-speed I/O, it can load XEX files, etc. I haven’t tried cassette emulation but it’s on the list. If no one else has any suggestions, I guess at some point this weekend I can disconnect the SIO power line, wire the diode back in and see if powering it from a standard Arduino 9V battery adapter makes a difference.

#8 AtariGeezer OFFLINE  

AtariGeezer

    River Patroller

  • 2,834 posts
  • Location:Santee, CA

Posted Thu Jul 12, 2018 9:48 PM

If it was powered through a USB Port on a PC,  the data lines RX and TX might have interfered with IO.  But that can't be if powered by SIO port.  Just a thought...



#9 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,554 posts
  • Location:10-0-11-00:02

Posted Fri Jul 13, 2018 1:58 AM

yes on regular sdrive and sio2sd the cathode ring is towards the device/chip and the andode is to the sio side....

 

can we see it and the sio cord and it's connector end?



#10 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Fri Jul 13, 2018 4:55 AM

 

can we see it and the sio cord and it's connector end?

 

See the photo and text in my first post above. And as I said in my first post, I verified the diode forward and reverse bias from the SIO pin (pin 3 on the connector) all the way to the pin on the Arduino (i.e., through the diode). 


Edited by DrVenkman, Fri Jul 13, 2018 4:56 AM.


#11 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,554 posts
  • Location:10-0-11-00:02

Posted Fri Jul 13, 2018 5:09 AM

that is not enough to verify, I want to trace out the colors on the cord and make sure it all lines up. to see what's what it's best to see all connections... I've ordered the same as you to check out what could be the issue....  have you verified what level is being put out to the SIO lines?

 

lastly have you tried with anything other than 1088XEL?


Edited by _The Doctor__, Fri Jul 13, 2018 5:24 AM.


#12 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Fri Jul 13, 2018 5:28 AM

that is not enough to verify, I want to trace out the colors on the cord and make sure it all lines up. to see what's what it's best to see all connections... I've ordered the same as you to check out what could be the issue....  have you verified what level is being put out to the SIO lines?

 

lastly have you tried with anything other than 1088XEL?

 

All of this is in the first post. 

I've traced out all the pins and connections, multiple times. As I keep repeating, everything works great without the diode. With the diode, it doesn't work at all. 



#13 BigBen OFFLINE  

BigBen

    Chopper Commander

  • 202 posts
  • Location:Garbsen, Germany

Posted Fri Jul 13, 2018 7:48 AM

An image with all connections is certainly helpful.

Attached Thumbnails

  • SDrive-Max connect.jpg


#14 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Fri Jul 13, 2018 7:57 AM

An image with all connections is certainly helpful.

 

That's exactly how I had it wired up, except that I didn't wire both ground wires, just one (the diode is under the un-shrunken heatshrink tube), black ring end soldered to the via (orientation shown in the first post of this thread).

 

IMG_0182.JPG

 

No sense showing the connector end because it's a vintage cable; the colors were the then defacto "standard" used for many/most vintage SIO cables and before I wired up anything, I spent 15 minutes with a multimeter, pencil and paper and verified continuity from each pin to the correct wires, noting color to be sure.

 

IMG_0148.JPG

 

Again, IT WORKS WITHOUT THE DIODE. I'm trying to isolate what's going on. Is it the diode I'm using? It's a 1N4148, forward bias is right on 0.601 volts, reverse bias is OL. Is it because I'm powering it with the Atari SIO line instead of a wall wart or battery? Is it this particular variant of UNO clone?  I'm stumped.



#15 tomsmart1 OFFLINE  

tomsmart1

    Space Invader

  • 11 posts

Posted Fri Jul 13, 2018 9:03 AM

It will work without the diode if its the only device that is connected to the Atari, but you or more audrino get in trouble if xou connected together with other devices like Diskdrives.

I suggest to use the SIO2SD modifications with a shotky diode like BAT50, that have only a voltage drop of 0.2V. An a powerup Resistor on the audruio side

I will test this in a week because i an now on a vacation trip.

Edited by tomsmart1, Fri Jul 13, 2018 9:06 AM.


#16 JR> OFFLINE  

JR>

    Moonsweeper

  • 303 posts

Posted Fri Jul 13, 2018 1:25 PM

Got mine soldered up today and it worked first time with a 1N914 diode I had laying around.  From what I can see of your board in the above picture it appears to be the same board.  This is running on SIO power from a 600xl.  Thsi is the board I ordered:

https://www.amazon.c...0?ie=UTF8&psc=1

 

Any chance of buying one of those cases?  They look great!



#17 NISMOPC OFFLINE  

NISMOPC

    Moonsweeper

  • 398 posts
  • Location:OHIO

Posted Fri Jul 13, 2018 1:35 PM

Got mine soldered up today and it worked first time with a 1N914 diode I had laying around.  From what I can see of your board in the above picture it appears to be the same board.  This is running on SIO power from a 600xl.  Thsi is the board I ordered:

https://www.amazon.c...0?ie=UTF8&psc=1

 

Any chance of buying one of those cases?  They look great!

 

I was wondering about that! I used the 1N914 for my USB SIO2PC that I made and when I saw this one required the 1N4148, I was slightly confused. My board and screen should be here any day now. I have both diodes, but think I will stick with the 1N914...

 

...even thought the 1N4148 is supposed to be an improved version of the 1N914 and can be used in place of it?!?!



#18 JR> OFFLINE  

JR>

    Moonsweeper

  • 303 posts

Posted Fri Jul 13, 2018 1:45 PM

They are basically identical.  Just what I happened to have laying around.



#19 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,554 posts
  • Location:10-0-11-00:02

Posted Fri Jul 13, 2018 2:34 PM

double check some things- ensure none of the hacked end connections touch anything, not the shield, not each othe, not the ardy, no whiskers etc.... verify that there are no pinched wires in the cord causing continuity/leakage across pairs of them...

 

it couldn't hurt to swap the diode either... even if it tested well.

 

until mine arrive... I would try making connections for power near the power jack etc.. moving to alternate connection points just in case the pcb has a  flakey via issue etc...


Edited by _The Doctor__, Fri Jul 13, 2018 2:35 PM.


#20 xrbrevin OFFLINE  

xrbrevin

    Moonsweeper

  • 272 posts
  • Mr Ziggy loves to extend the 1050 heatsink!
  • Location:UK

Posted Fri Jul 13, 2018 4:08 PM

have you seen this version of the guide?

https://translate.go...wU75v29rzDAsftg

it also was originally in german but maybe if it has been worded differently, it may translate better or help for cross-referencing?

 

thanks for posting about this device doctor venkman, i never knew about it. i got my arduino uno today and hopefully my touchscreen will arrive tomorrow!



#21 AtariGeezer OFFLINE  

AtariGeezer

    River Patroller

  • 2,834 posts
  • Location:Santee, CA

Posted Fri Jul 13, 2018 4:16 PM

For reference,  here are the schematics for the 2 different UNO Boards:

 

arduino-uno-r3-schematic.png

arduino2- CH340G.jpg



#22 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Fri Jul 13, 2018 4:32 PM

For what it's worth, this afternoon I tried reinstalling the diode, removing the +5V line from the Arduino and powering with a 9V battery wart. While testing, I did think to tap the blue "READY" region at the bottom of the screen to see the SIO bus status. So the device is seeing the SIO query from the computer, but nothing else is going on:

 

IMG_0203.JPG

 

Of course, once I remove the diode, things are fine again. I've been PM'ing with 'remowilliams' - he's using the same Arduino board I am and not having issues with a diode installed, though his diode's forward bias is in the 0.5V range. I've gotta wonder if my diodes are just out of spec? I'll order some more this week from a different vendor just in case.

 

So aside from this diode-weirdness with my particular unit, I gotta say this is a pretty great little device. It's cheap, easy to build, easy to flash software to, and works very well. 

 

 



#23 xrbrevin OFFLINE  

xrbrevin

    Moonsweeper

  • 272 posts
  • Mr Ziggy loves to extend the 1050 heatsink!
  • Location:UK

Posted Sat Jul 14, 2018 5:18 AM

is it worth re-flashing the hex files to the uno?



#24 DrVenkman OFFLINE  

DrVenkman

    River Patroller

  • Topic Starter
  • 3,552 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Sat Jul 14, 2018 6:48 AM

is it worth re-flashing the hex files to the uno?

 

I might try that at some point but first, I think I'll wait to see if a diode from an alternate vendor makes a difference (arriving Sunday).

 

I honestly have no idea what's going on here, nor why the board can't transmit through the diode. I might chalk it up to possible damage to a trace on the board from all the rework at that via and pin, except that I had it wired up correctly to begin with and it didn't work. So I'm fairly confident damage to this board is not the root cause here. 



#25 AtariGeezer OFFLINE  

AtariGeezer

    River Patroller

  • 2,834 posts
  • Location:Santee, CA

Posted Sat Jul 14, 2018 12:31 PM

My 2 UNO boards will be here in the next hour,  I'll build up 2 of these today and test my diodes (914's and 4148's)...






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users