Go to advanced search

by rfeyer
Mon Feb 27, 2017 8:54 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

TY once again!
by rfeyer
Mon Feb 27, 2017 5:01 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

Another silly question, same circuit:

As I am using a separate 5V supply to the relay/ C/E of transistor, and RPi supplying GPIO out to the base of the transistor, do I need to return a ground from the circuit back to the RPi to complete the GPIO impulse?
by rfeyer
Mon Feb 27, 2017 2:36 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

TY Burngate,

I tried it on a breadboard with a 560Ohm and it worked. Thanks for everyone's help.
by rfeyer
Sun Feb 26, 2017 6:35 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

So I really have to show my ignorance, but the more I read about Transistor calculations, the more confused I get. taking my initial example, and the revised, and appreciated, schematic by pcmanbob: using 3.3v GPIO output to the transistor base, with the transistor driving a 5V relay: GPIO = 3.3v, t...
by rfeyer
Fri Feb 24, 2017 5:27 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

That is a great explanation. Ty vm
by rfeyer
Fri Feb 24, 2017 4:50 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

TY for the explanation!
I will keep learning,
Rainer
by rfeyer
Fri Feb 24, 2017 12:01 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

pcmanbob, TY tons! That works perfectly! Just for a teaching moment (you teaching me): is there a reason NOT to place the LED at the transistors base side? Would the GPIO fro the RPi be more vulnerable? Also, my diagram was confusing: I had the coil at the Right - at the left side of the diagram, th...
by rfeyer
Thu Feb 23, 2017 11:23 pm
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

Re: RPi driving Relay with LED indicator

TY for replying scotty101
relay LED.jpg
relay LED.jpg (22.49 KiB) Viewed 3236 times
by rfeyer
Thu Feb 23, 2017 11:56 am
Forum: Beginners
Topic: RPi driving Relay with LED indicator
Replies: 17
Views: 3362

RPi driving Relay with LED indicator

Hi all, still trying to wrap my head around Ohm's law. I currently have a 12V circuit operating a single relay with RPi GPIO pin connected to a transistor. I would now like to add a yellow LED to indicate the GPIO is active. Can someone please tell me if my following logic is correct: GPIO has 3.3 V...
by rfeyer
Wed Feb 15, 2017 11:43 pm
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

Re: VLC with Cron - can't figure it out

TY for the clarification - I could not find anything to warrant the -c.
by rfeyer
Tue Feb 14, 2017 11:30 am
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

Re: VLC with Cron - can't figure it out

Lineaxe,
TY - could you possibly expand a little in what you mean, how it helps? I read the man crontab again to check on -c and I don't even see it listed as an option.
I would appreciate if you could explain
Rainer
by rfeyer
Mon Feb 13, 2017 4:06 pm
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

Re: VLC with Cron - can't figure it out

ghans, I started out with mpb/mpc but had problems with it stopping stream randomly I now have the same problem with my layer and vlc. However, your link suggests a USB sound card, and, I will purchase this today and then continue trial and error. Ty for link. Can you recommend a card? I am only str...
by rfeyer
Sun Feb 12, 2017 3:43 pm
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

Re: VLC with Cron - can't figure it out

OK - update: Display now works - getting into RPi over Remote Desktop, entered echo $DISPLAY and found out that the remote display is 10.0 Interestingly, this reacted MUCH faster than the display with the actual HDMI monitor attached, Then I realized that the Audio setting in VLC had to be changed t...
by rfeyer
Sun Feb 12, 2017 2:14 pm
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

Re: VLC with Cron - can't figure it out

I am getting somewhere! I was using Remote Desktop to operate the headless RPi - looking at the DISPLAY variable, I realized that it has to find the right monitor. So, I attached a monitor to the RPI and VLC GUI shows! Audio does not, but at least I am getting somewhere. I will see if I can find out...
by rfeyer
Sun Feb 12, 2017 1:13 pm
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

Re: VLC with Cron - can't figure it out

Hans,
TY for answering - I do not remember that on e- will look in repository - what does it do?

Rainer
by rfeyer
Sat Feb 11, 2017 8:18 pm
Forum: Graphics, sound and multimedia
Topic: VLC with Cron - can't figure it out
Replies: 10
Views: 2654

VLC with Cron - can't figure it out

I have read dozens of posts regarding VLC and cron, but have not found a resolution: I would like to stream a radio station: running vlc http://radio-stationpaddress from terminal runs great From cron, I have tried dozens of variations as found on this and other sites, nothing works. Tried adding DI...
by rfeyer
Tue Feb 07, 2017 11:38 am
Forum: Graphics, sound and multimedia
Topic: mPlayer - unable to get it to recognize X11?
Replies: 3
Views: 1014

Re: mPlayer - unable to get it to recognize X11?

TY for replying,

I installed all above packs - even rebooted and still get error: The GUI requires X11
I would past the config.log but it is extremely long
by rfeyer
Mon Feb 06, 2017 5:45 pm
Forum: Graphics, sound and multimedia
Topic: mPlayer - unable to get it to recognize X11?
Replies: 3
Views: 1014

mPlayer - unable to get it to recognize X11?

Hi all, I am certainly NOT a Linux whizz! I am currently using mPlayer to stream a radio station via RPi. The streaming works, but it occasionally crashes. So, I wanted to be able to use the CSD from my remote computer (RPi is headless) to see if radio is streaming. Having installed mPlayer from rep...
by rfeyer
Mon Feb 06, 2017 12:59 pm
Forum: Beginners
Topic: How to get mPlayer current status
Replies: 2
Views: 1100

Re: How to get mPlayer current status

H. Heydt, TY VM for responding! I did try ps -C mplayer and it did give me a readout if playing or not. Is it possible to get a readout of current volume? I did not understand your bash script, i.e., which part made mplayer display info on screen; my ignorance unfortunately. I have been searching th...
by rfeyer
Sun Feb 05, 2017 4:37 pm
Forum: Beginners
Topic: How to get mPlayer current status
Replies: 2
Views: 1100

How to get mPlayer current status

I am simply streaming a local AM station over RPI. First, I used MPD/MPC, but after a while it freezes. Now I am using two little bash scripts with mPlayer - one to start the stream, one to stop it. /tmp/mplayer-control mplayer -slave -input file=/tmp/mplayer-control http://the-station-link in this ...
by rfeyer
Mon Jan 23, 2017 6:43 pm
Forum: General discussion
Topic: BBC radio player via inernet
Replies: 6
Views: 2234

Re: BBC radio player via inernet

Question: I am researching the use of MPD/ MPC and have been able to play BBC 4 (per above Douglas' link). Can anyone tell me how to get a list of radio station links which can be played over MPD/ MCA? While searching I did find that many use Shoutcast.com, but, looking at the limited number of Engl...
by rfeyer
Sun Nov 27, 2016 11:28 pm
Forum: Beginners
Topic: fstab network share - Permission denied
Replies: 12
Views: 4506

Re: fstab network share - Permission denied

Jimmy N, TY Soo much - that is really good info. I have already been able to mess around with an --exclude file - but the above is still very helpful. I have noticed that I get one step forward, then 2 steps back. Probably because I am trying too many things which I read. In any case, I am now not s...
by rfeyer
Sun Nov 27, 2016 4:36 pm
Forum: Beginners
Topic: fstab network share - Permission denied
Replies: 12
Views: 4506

Re: fstab network share - Permission denied

Excellnet info on jobs -l - TY! As for ctrl-z - I have been doing sooo much reading, trial and error, that I can not remember where I got the idea from - I do know it was included in a persons question (he did use ctrl-z to stop a process) but of course he obviously was as confused as I am. During m...
by rfeyer
Sun Nov 27, 2016 4:00 pm
Forum: Beginners
Topic: fstab network share - Permission denied
Replies: 12
Views: 4506

Re: fstab network share - Permission denied

Found it - while doing research on ctrl-z I now believe I realize the difference between z and c (z sustends, c possibly aborts). That being said, I also found my answer: I made another folder inside /home, gave chmod 0777 command and it did change it to user permission. I tried chmod a+x previously...
by rfeyer
Sun Nov 27, 2016 3:48 pm
Forum: Beginners
Topic: fstab network share - Permission denied
Replies: 12
Views: 4506

Re: fstab network share - Permission denied

So, I guess I am using the wrong terminology - I pressed Ctrl-z and the execution went back tot he user prompt. That being said, I will do research to correct my mistake but would like to continue asking: Can a folder inside /mnt be changed to read/write user permissions, and, am I correct in saying...

Go to advanced search