Parallel Port Power Control Plugin (2 Viewers)

ohdarklord

Portal Pro
December 31, 2005
198
1
Scotland
Home Country
Scotland Scotland
I was going to code this if i ever got round to setting up the hole parrellel port and relay thing.


i look forward to trying this out.
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Yeah I'd reccommend getting solidstate relays if yuor going to do it, bit more expensive, but it makes it so easy. I picked mine up 2nd hand at NZ$5 each!
 

Witwicki

New Member
January 1, 2007
2
0
This is great!

First I would like to thank you for such a great idea :)

I have now started to build my relay box using opto-isolators and 10amp relays, i'm hoping to use the 12v from the computer PSU to drive the relays :)

as for the plugin i did have some problems at first getting it to work.

1) the first DLL I downloaded didn't work (i'm glad that MP has log files)
2) could we have an option of which LPT port to use?
3) not a problem with the plug in but a problem with windows. It seams parport.sys sets all the data pins to high on load, this mean that all my devices will power up when windows loads then I will need to toggle them off in MP

Thanks for the good work
Adam Witwicki

:D
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Hi, and thanks for the feed back.

Q.1: dll not working? what is the problem there? is it working now? what do your logs say. perhaps there is a bug I need to fix?

Q.2: Yes I can add and option for lpt port. I knew I should have done that! but I thought I'd just wait for some one to ask for ! ;-)

Q.3 Yes I find that as well. For me it's not really a problem since I run my media PC 24/7. However I do have a windows start-up item that resets all pins back to zero at boot.

Hope this helps. Let me know how you get on with your setup.

Cheers,
Rhys
 

Witwicki

New Member
January 1, 2007
2
0
Hi,

I downloaded the wrong dll from the net, i found the dll already in MP in the end and its working now, could you not include this?

I only have one port atm, but I may have more :) (it was a pain working out the address of my port :) )

A program on start up will help in the meantime, it can act as a POST of the relays and it also makes sure your plugin shows the correct state when it loads.

I have only tested your plugin with a multi meter on the port, it going to take me about a week to knock up the first channel, but I can really see the potential :)

Thanks
Adam
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
Updated. Added support for port selection and a couple of other bits and pieces. Note tho that the version in the plug-ins download section won't work with SVN. If you need a copy of the dll compiled for SVN just let me know :)
 

BluXtriad

New Member
January 13, 2007
2
0
Home Country
Thats some brilliant work there, I just have a few questions.
1. It it possible to use this pluggin with a serial based relay controller.
2. If it is possible to use serial will it possible to use a usb serial converter since my laptop lacks any ports.
3. If the relay pcb is parallel based, is it possible to use a parallel to serial converter.
4. I noticed a 8 port relay available at jaycar will this work with the plugin and is it possible to make it control up to 8 devices. http://www.jaycar.com.au/productView.asp?ID=KV3590&CATID=25&keywords=&SPECIAL=&form=CAT&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=&SUBCATID=432
Also i Have found one at Altronics but this is a two part sollution. http://www.altronics.com.au/index.asp?area=item&id=K2850
http://www.altronics.com.au/index.asp?area=item&id=K2852

I thankyou for your time for reading this post, could you please pm your reply to me as well so I dont miss out on your answer please.
 

Users who are viewing this thread

Similar threads

This solves the problem. Thank you. I completely overlooked that.
This solves the problem. Thank you. I completely overlooked that.
I'm trying to register Mediaportal as new application in trakt. When I'm ordering a new user code the window shown only "USERCODE"...
Replies
2
Views
325
restarting is supported but depends on the reason why it failed. As an external tool try JDownloader.org - Official Homepage
restarting is supported but depends on the reason why it failed. As an external tool try JDownloader.org - Official Homepage
Earlier this year I changed my internet service provider from a landline (where I was consistently overcharged), to a mains-powered...
Replies
1
Views
874
I need to try MadVR, I hope my Intel NAC can manage it.
I need to try MadVR, I hope my Intel NAC can manage it.
Remember PAL DVDs of US movies and TV Shows, and how they were converted to 25 fps thus introducing a "smurf lite" pitch on the...
Replies
2
Views
616
You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
Replies
5
Views
2K
  • Sticky
We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core: Fix FrameGrabbing for EVR [MP1-5222] - TV Server: Fix ISO-8859-10/14 DVB text encodings [MP1-5224] - Fix Card "CancelTune" request Since Pre-Release : New: Since Pre-Release : Improvement / Rework...
We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
Replies
0
Views
1K
Top Bottom