The Church Media Community
Equipping You to Communicate Effectively
support CMN & share a
library of 19K+ images, videos, etc
Go Pro!
 
Go Back   The Church Media Community > Computers > Linux
Forgot Password?
                          Register

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #13 (permalink)  
Old Monday, February 6th, 2012, 02:05 PM
New Church Media Member

 
 Join Date: Mar 2008 
 Last Online: Monday, April 23rd, 2012 
You could also try using Python. If I remember correctly, it has a serial library.
Reply With Quote Start a New Topic From This Comment
  #14 (permalink)  
Old Friday, February 24th, 2012, 07:10 PM
Church Media Expert

 
 Join Date: Jan 2012 
 Last Online: Saturday, May 11th, 2013 
Quote:
Originally Posted by jpetersen View Post
Hi y'all,

Our church just got a NEC NP-P350W projector for the sanctuary. I set it up. Love it. Works great. The only problem is that the remote stinks. From where I sit in the first pew, it doesn't work. I'd like to control it with the included serial port control codes. I want a program that I can use from a Ubuntu terminal that will works like this.
Running it with a command like this

root(a)jeremy:~# projector on

will send the on command O2H 00H OOH OOH OOH 02H over serial port ttyUSB0 (which is were my usb to serial converter is located).

Likewise, I would like this to send the off command O2H 01H 00H 00H 00H 03H to the projector:

root(a)jeremy:~# projector off

Ideally, I'd like the code to be expandable to whatever other commands I would like to incorporate like freeze, picture mute on, picture mute off, etc.

My issue is that I have no idea how to write it. I'd like it to be a shell script, but anything will work.

Can anyone give me some (specific, beginner friendly) advice on how I should go about writing it? (a brief explanation as well would be nice )

Thanks a bunch,

Jeremy

ps why do I get an error saying that I can't post urls when I try and print root(at sign)jeremy? That is my user at my computer domain...
Before figuring a way around using the remote, try a few things.

1) If you have a volt meter, pull the battery from the remote, check the voltage, I've seen brand new gadgets come with a 3V battery that couldn't produce a volt and a half, let alone the 3V needed. If the battery isn't putting out the required voltage, get a new battery. It's not uncommon, a battery that lasts 2 years, sits in the factory for six months, the unit is built, the battery is packaged with it, the unit sits at the plant for 5 months, goes into a container for a 4 month long sea voyage, sits in the distributors warehouse for six months, then gets trucked to a retailer to sit on the shelf for another 4 months, you now have a battery that is good for 2 years that is 25 months old... If the battery isn't putting out enough voltage, invest in a new battery.

2) Check the manual for the angle and distance the remote is good for, some are better then others.

3) If the battery is good and the angle and distance are okay, then maybe you got a defective unit that needs repair.
Reply With Quote Start a New Topic From This Comment
Reply

  The Church Media Community > Computers > Linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:



Add to Google


Register Now for FREE!
Our records show you have not yet registered to our community. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


All times are GMT -6. The time now is 06:01 PM.

   
 
© 1995-2008, ChurchMedia™, ChurchMedia LLC

SEO by vBSEO 3.1.0