PDA

View Full Version : 595 Test



DavidHenry
10-09-2007, 08:40 PM
Here's my first attempt to test out my just built 595 board [board v 2.4.1], Recent parts coop.

Is there something really messed up with this sequence? Every time I run it, something different happens. It sort of goes through the LEDs in sequence, but theres some weird hopping around and other strange behavior too.

Sequence is 64 seconds long, each second should light up 1 channel and go to the next. I used 1000 ms resolution for the file. No SSR boards are built or connected.

David

Dan Ross
10-09-2007, 08:52 PM
Try changing the settings of you lpt port in the bios. I think most have had sucess with it set to EPP.

DavidHenry
10-09-2007, 10:10 PM
Ok changed from ECP to EPP in bios. Device Manager still lists it as an ECP port, but there's no way to change it there. XP Pro SP2 fwiw.

I made a new sequence. 2.5 seconds all odd channels, 2.5 seconds all even channels, set to loop.

If I wait long enough it will actually work for 15-20 seconds. then it seems to go random. All on, some one some off, just plain weird stuff.

Oh yeah, I'm running Vixen 2.0.3.2

Doug-in-the-woods
10-09-2007, 11:05 PM
ou need to reset the bios then reset the computer for changes to take place I think.
Sounds simple but to obivious.
Hope it works

DavidHenry
10-10-2007, 01:19 PM
ou need to reset the bios then reset the computer for changes to take place I think.
Sounds simple but to obivious.
Hope it works

I didn't think it was possible to change bios settings without rebooting. On my PC, , reboot, press F2 for setup, tweak values, save and exit which reboots, and then let the system come up normally.

My biggest problem is that it seems totally random. If some of the channels, or all failed the same way every time it was run I'd know where to start looking.

I suspect the best diagnostict technique would be to scope the LPT input into the 595 board, but I don't have a scope, only several basic multi meters.

scharbon
10-10-2007, 02:22 PM
See this thread, I had pretty much the exact same problems you are describing.

http://www.christmasinshirley.com/forum/viewtopic.php?t=340

The solution was to change to EPP mode.

Notice in the edit of the final entry that I not only had to change the port to EPP, but I also had to change it to "Enabled" from "Auto" I am running a Dell. DOn't know if that is standard configuration for all makes and models, but it was with mine.

The Auto mode only triggers EPP configuration if the item plugged into the parallel port is plug and play and requires EPP mode. These boards are not plug and play but do work much better with EPP. By changing the setting to "Enabled", it forces the parallel port to always communicate in EPP mode.

My description of Auto and Enabled may not be spot on, but the actions and results are. Set to EPP and if you have an option in the BIOS between "Auto, Enabled, Disabled", select Enabled.

Try this first. It is much easier than an OSCOPE and multi-meter :D .

Steve

DavidHenry
10-10-2007, 11:05 PM
Notice in the edit of the final entry that I not only had to change the port to EPP, but I also had to change it to "Enabled" from "Auto" I am running a Dell. DOn't know if that is standard configuration for all makes and models, but it was with mine.

Steve

I've already changed it to EPP in BIOS. Values available are (OFF, AT, Ps/2, EPP, ECP). I've also got a Dell, but couldn't find the Enable vs Auto setting anywhere.

David

scharbon
10-11-2007, 09:40 PM
Its on the same page as you set the parallel port to EPP.

My page looked like the following before I made the correct changes:
Serial Port: [Auto]
Parallel Port: [Auto]
Mode: [ECP]

Audio: [Enabled]
Legacy USB Support [Enabled]


When I finished, it looked like the following (and it worked too :D ):
Serial Port: [Auto]
Parallel Port: [Enabled]
Mode: [EPP]

Audio: [Enabled]
Legacy USB Support [Enabled]

The red items are the ones I changed. Parallel Port can be set to Auto (default), Enabled, and Disabled. You want to make sur eit is set to Enabled for the reasons mentioned above.

Sorry it took me so long to get you an answer. Couldn't check my computer from work.

Steve

DavidHenry
10-15-2007, 10:55 PM
Was out of town over the weekend, but didn't get to test anything. I did assemble 16 SSR boards (no opto's or triacs installed). Did 8 one night and 8 the next. Didn't set off any of the fire alarms in the hotels either :)

I've reviewed my bios settings again, and can find no option to enable or disable. I also just borrowed the wife's computer [not a happy wife] to test it out. I also needed to update the setting to EPP there, but the test had rather similar results. I'm now trying to decide if I should try to build another 595 board and see if it works better or not. My laptop doesn't have parallel (or serial for that matter) ports, so I can't test with it.

David

wjohn
10-15-2007, 11:16 PM
Dave

R u close to anyone else that you could test you hardware with?

If you are in Melb, AUS; I could put you board on my test setup.


John.

DavidHenry
10-15-2007, 11:24 PM
Dave

R u close to anyone else that you could test you hardware with?

If you are in Melb, AUS; I could put you board on my test setup.


John.

Good thought. I dunno, anyone near the Detroit metro area? Somehow, I don't think Australia qualifies as local...

David

Macrosill
10-16-2007, 07:37 AM
David,
How are you powering the 595? What are you using to get the data signals to the 595 from the parallel port? If you changed the parallel port settings in the bios to each setting and none have worked it may be a ground issue. You are using 4 pins from the parallel port, right? Pins 1, 2, 14 and any on from 18-25 right? A missing or loose ground will cause all kinds of erratic behavior.

DavidHenry
10-16-2007, 10:49 AM
I have 6 or 7 feet of Cat 5 cable. RJ45 into the 595 plug, the other end goes to a DB25M I'm using 1,2,14, and I believe 18.
Power is a couple of jumper cords into J1, with the other ends on one of the extra Molex connectors inside the case (red / black pair) that outputs 5 volts. There are advantages to not putting the cover back on your PC.

I'll try to see if there is a voltage difference between the two ground on the molex plug and the db25 connector.

scharbon
10-16-2007, 12:05 PM
Shorten your CAT 5 cable. Try 18". That might be your problem.

Steve

ErnieHorning
10-16-2007, 12:51 PM
There are advantages to not putting the cover back on your PC.I believe the saying goes: “You might be an Engineer if you don’t even know where the cover for your PC is.” :)

scharbon
10-16-2007, 01:03 PM
“You might be an Engineer if you don’t even know where the cover for your PC is.”

Those things have covers? :shock:

Steve

DavidHenry
10-18-2007, 09:27 PM
Started checking out my DB25 to RJ45 cable, and it didn't quite check out. I snipped off the RJ45, and cut all the wires I didn't need and crimped on a new plug, and now it's working.

PS:: I do know where my PC cover is. It only took a few seconds to confirm where it really was...