NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 121 122 123 124 125 … 193 Next »
LED status monitor

 
  • 0 Vote(s) - 0 Average
LED status monitor
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#11
2005-04-29, 02:51 PM (This post was last modified: 2005-08-19, 08:35 AM by betlit.)
well, i'm also not that deep into electronics, too.

the simplest method is hooking up a standard LED with a 220 ohm resistor to D0, D1, D2,...D7 (+5V). as ground, you can take any pin from G0-G7.

i made a little image (ok, the image of the port is stolen from a website...) to show which pins on the parallel port are used to wire up the LEDS.

of course you can hook up a more complex circuits too. a standard parallel port gives you 5V and up to 15 mA current. this should be sufficient for most circuits.

i will add this diagram to the zip-file.

[edit]attached image removed. see this post for the latest version of the "circuit" http://forums.gbpvr.com/showpost.php?p=4...stcount=39

daniel
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
valkokir
Offline

Member

Posts: 78
Threads: 4
Joined: Mar 2005
#12
2005-04-29, 03:10 PM
Cool thanks,

I just found info on how all this works (I like to learn something while I'm at it)

http://www.epanorama.net/circuits/parallel_output.html


Also considered the possibility of using the keyboard leds to show status, however, most of us use wireless RF keyboards for HTPC use and the keyboard status lights are on the receiver...
valkokir
Offline

Member

Posts: 78
Threads: 4
Joined: Mar 2005
#13
2005-05-02, 01:25 PM
Works great guys, thanks. I do wonder about the resistor on the setup as 470 ohms seems a bit high. The led is sort of dim. assuming the led is 1.9 volts the supply is 5volts and it is a 15mA led... (5-1.9)/.015=206ohms...

It's bright enough to see, just doesn't match the rest of the LEDs on my system.

I made a harness to run from the back of the system into the case and up to the unused COM led on my case. Swapped in a red LED for the record function and works great. Of course I did a nice job shrink tubing and insulatin geverything so it would be too hard to change out the resistor to make it worth it.

Thanks again
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#14
2005-05-02, 02:28 PM (This post was last modified: 2005-05-02, 02:34 PM by betlit.)
i'm pleased to hear that :-)

uhm.. yeah... a 470 Ohm resistor is common when operating with 9-12 volt...
i forgot to consider that we're operating with 5V here.
this is my fault, sorry.

i changed the circuit.jpg and replaced 470 Ohm with 220 Ohm. better this way? *g*

daniel
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
smeghead
Offline

Senior Member

Posts: 300
Threads: 23
Joined: Jan 2005
#15
2005-05-02, 07:41 PM
Sub,

This seems like a brilliant idea but one of its limitations as specified in the readme that is part of the software download is:

limitations:
if you watch live-tv and hit the recording-button on the remote, or by
browsing the mini-tv-guide, going to the current (running) show and
selecting (quick-)recording, diode2 will _NOT_ become active, because
these recordings get the status 'ready' instead of 'in progress'.
probably, because you are acutally watching them.

Is this fixable - it's a wife acceptance factor thing!

Cheers
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#16
2005-05-02, 09:05 PM (This post was last modified: 2005-05-02, 10:05 PM by betlit.)
i'm about to fix this by checking every record manually (like in the shutdown-plugin v2). kinda like:

loop until all recordings are checked or the LED is allready active
is Recording(i).startTime >= now and Recording(i).endTime <= now then
set led active
end loop;

this means: the service consumes a _little_ more resources. at the moment i allready loop over all scheduled recordings and check their status.
i just change the if inside the loop.

i'm busy at the moment (ok... i just want to watch a tv show (of course with GBPVR)). i will change and upload this about 1am (GMT+1 *g*)

edit: ok. it's done and the post with the zip-file is updated.

have fun

daniel
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
jimh
Offline

Member

Posts: 77
Threads: 9
Joined: Jan 2005
#17
2005-05-02, 10:45 PM
Betlit:

Great work - any chance of posting Radioshack part numbers for the LED's and resistors? RS sells 1/4 watt and 1/2 watt resistors - novices like me wouldn't know which rating is needed for this project. Also, RS sells blinking and non-blinking LED's with various ratings - again, any help on identifying the appropriate parts would be greatly appreciated!

Thanks,

Jim
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#18
2005-05-03, 08:45 AM (This post was last modified: 2005-05-03, 10:24 AM by betlit.)


the red LED i would buy at radioshack has a voltage drop of 1.7V. the parallel port gives you 5V, 15 mA)

R*I=U --> U/I=R

for the red LED (as valkokir allready mentioned) this means:
(5V-1.7V)/0.015A ) = 220 Ohm

the green LED has has a maximum voltage of 2.8V (minimum 2.1V):

(5V-2.75V)/0.015A = 150 Ohm

as we know both (the current and the voltage) we can calculate the power:

I*U=P

0.015A * 5V = 0.075 W = 75 mW

so a 1/4W (250mW) resistor would be more than enough.

the parts:

red LED: 276-307
green LED: 276-304
resistor 150 ohm: 271-1109 (package of 5)
resistor 220 ohm: 271-1313 (package of 5)

if you want to use the blinking LED (cat # 276-036) you would have to find a resitor between 160 and 180 ohm (radioshack does not offer such resistors but you can e.g. use a 150 ohm and a 20 ohm resistor (serial!))

this are just examples, of course... with these formulas, you can easily calculate the resistors for any LED.
i will add the calcs and part-numbers to the readme.

i did not expect that more than one person is interested in this (i made it on 'special' request). if some more people will use this, maybe this little thingie will make it to the utilities-section of the GBPVR-wiki? *g*

have fun

betlit
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
alex060670
Offline

Member

Posts: 52
Threads: 13
Joined: Feb 2005
#19
2005-05-11, 07:04 AM
@ betlit:

Thank you for the support. I tried the program yesterday (I actually couldn't find the corrrect jack, so I couldn't try the hardware part ;-)...

What I noticed was the incredible high amount of CPU usage when the service has been started -> 14% (!) of my Celeron M 360 (1400MHz).

Is that normal?

Greetings, Alex
[SIZE="1"]AOpen i855GMEm-LFS, Celeron M 360, 512 MB DDR-333, 1xSamsung 160GB IDE HDD (System+Archive), 1xSeagate 500 GB IDE HDD (Data), LiteOn SOHW-1653SX extern DVD drive, 2xHauppauge PVR150, Sigma XCard, fanless 350 W power supply, WinXP Pro SP2, ParaLED Plugin & self-built LED status monitor (sexy :p )[/SIZE]
alex060670
Offline

Member

Posts: 52
Threads: 13
Joined: Feb 2005
#20
2005-05-18, 08:51 AM
Hi,

I finally found an old 25-pin-jack, mounted the two LEDs on it, put it onto my PC. Works.

But:

1.) The running service still consumes 14% of cpu capacity. Would it be significant less usage if the "live-tv and hit the recording-button on the remote"-thing would NOT light up the red LED?

2.) It seems the service recognizes the machine waking up from hibernate but not gbpvr frontend to be started by wake.cmd (which happens to be about 10 seconds later)

3.) WITH THE NEW SERVICE RUNNING MY PC DOES NOT GO DOWN TO HIBERNATE ANY MORE!

Am I doing anything wrong?
Greetings, Alex
[SIZE="1"]AOpen i855GMEm-LFS, Celeron M 360, 512 MB DDR-333, 1xSamsung 160GB IDE HDD (System+Archive), 1xSeagate 500 GB IDE HDD (Data), LiteOn SOHW-1653SX extern DVD drive, 2xHauppauge PVR150, Sigma XCard, fanless 350 W power supply, WinXP Pro SP2, ParaLED Plugin & self-built LED status monitor (sexy :p )[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 2 3 4 5 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording status displayed when finished coreymichael 6 1,358 2023-08-31, 05:32 PM
Last Post: sub
  Device Status on Web App jcole998 8 2,713 2020-09-22, 01:21 PM
Last Post: jcole998
  v5 Web client status page naisiwel 1 1,279 2020-09-16, 01:08 PM
Last Post: jcole998
  Setting Device Status CDinger 8 3,593 2019-12-29, 04:37 PM
Last Post: CDinger
  Watched Status XBMC PVR and XBMC -X-NEWA. NYPlayer 1 2,229 2014-11-18, 11:47 PM
Last Post: mvallevand
  Dim 2nd Monitor Feature z06racer66 0 1,457 2014-05-14, 12:33 AM
Last Post: z06racer66
  Enhanced status window request (again) Spark 0 1,623 2014-01-17, 04:48 AM
Last Post: Spark
  the Small recording Status icon on taskbar Zeno110 1 1,646 2010-01-29, 04:16 AM
Last Post: Zeno110
  Multiple Monitor anshanaji 3 1,958 2009-03-04, 03:51 PM
Last Post: nkh
  Show Provider ID, transponder and FTA status in channelscan result screen nwagenaar 1 1,807 2009-02-21, 10:34 PM
Last Post: Bathman

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode