Parallel Port Power Control Plugin (1 Viewer)

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

Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting power settings for "Intel Graphics". I set it to Maximum Performance. I tried many other things so it could be a combination of them, but this was the last thing I did and I haven't had the problem return...
Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting...
I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
Replies
5
Views
2K
maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
Replies
4
Views
1K
I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
Hi all, I'm new to MediaPortal and looking forward to using it. Just one catch and I apologize if it sounds silly - I want to run...
Replies
3
Views
2K
If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
Replies
7
Views
1K
Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
Replies
1
Views
2K
Top Bottom