+ Post New Thread
Results 1 to 11 of 11
How do you do....it? Thread, Send hex codes to com port in Technical; hi there, does anyone know how i can send a series of hex codes to a com port? i want ...
  1. #1
    farmerste's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    339
    Thank Post
    100
    Thanked 23 Times in 20 Posts
    Rep Power
    22

    Send hex codes to com port

    hi there, does anyone know how i can send a series of hex codes to a com port?

    i want to send these codes to shut down the projector when the pc powers off, and run it as a shutdown script/batch file etc.

    the codes i want to send are 02h 01h 00h 00h 00h 03h , this according to the manufacturer should make the nec vt470 projector switch off.

    This is for a rear projection smart board, and despite many enquiries smart dont know how to do this, despite their ealier versions of smartboard doing this for you.

    thanks in advance


  2. Thanks to farmerste from:

    matt40k (20th November 2008)

  3. #2

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,407
    Thank Post
    368
    Thanked 639 Times in 521 Posts
    Rep Power
    158
    If you plan to have the com port connected to a Windows PC (serial). You can use Visual Basic 2008 Express to design a program to send the command. Not sure what else can send Hex over com.

  4. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,143
    Thank Post
    863
    Thanked 2,695 Times in 2,285 Posts
    Blog Entries
    9
    Rep Power
    772
    The cheap way would be to create a text file with a hex editor then open the file in notepad and copy the characters into your telnet application. Not a fantastic solution but a good way to test. I would look at making an app to do it more easily.

  5. #4
    Fuzzz's Avatar
    Join Date
    Nov 2008
    Location
    Netherlands
    Posts
    120
    Thank Post
    57
    Thanked 10 Times in 9 Posts
    Rep Power
    13
    Doesn't

    copy com1:

    work?

  6. #5


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    I think you just need to "print 02h" using the serial module of whatever language your using

  7. #6
    farmerste's Avatar
    Join Date
    Mar 2007
    Location
    uk
    Posts
    339
    Thank Post
    100
    Thanked 23 Times in 20 Posts
    Rep Power
    22

    thanks for that

    i'll try those, thanks for the replys, but as far as programming goes, i gave that up years ago, and happier ( much ) that way.
    I'm awaiting a replacement lamp unit, so when i get that running i'll give this a try

    thanks

  8. #7
    bandgeekmafia78's Avatar
    Join Date
    May 2007
    Location
    Salford
    Posts
    382
    Thank Post
    88
    Thanked 22 Times in 14 Posts
    Rep Power
    21
    Quote Originally Posted by farmerste View Post
    does anyone know how i can send a series of hex codes to a com port?
    Would it not be easier to send a series of emails to staff, asking them to turn off the projector after each lesson?

  9. #8

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Quote Originally Posted by bandgeekmafia78 View Post
    Would it not be easier to send a series of emails to staff, asking them to turn off the projector after each lesson?
    As some/Most teachers are lazy, forgetful, and have little regard for technology; this would probably not work.

  10. Thanks to webman from:

    farmerste (27th November 2008)

  11. #9
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    469
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    Quite a lot of intresting and useful info here:
    Google Answers: Sending CTRL character in a Windows batch file

    Cheers
    Jona

  12. #10
    User3204's Avatar
    Join Date
    Aug 2006
    Location
    Wirral
    Posts
    769
    Thank Post
    55
    Thanked 66 Times in 62 Posts
    Rep Power
    34
    There's always they expensive option > SP Controls Inc. , well, I say that, I'm still waiting for a quote from my supplier. They do different versions, all have a wall plate, and a timer/clock in so they switch off a) after Xmin/hours of non-use, or b) at a specified time GMT/BST.

    Oh, yes, what do you think, a price for retrofitting 75 projectors...

  13. #11

    Join Date
    May 2008
    Location
    Irlanda del Norte
    Posts
    36
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    13
    Some projectors (including many Hitachi's) have an auto-off timer that you can set.
    The proviso is that the timer starts when there is no signal going to the projector:- if the computer is left on all night at the logon screen then the projector will display it all night too.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 19th February 2008, 10:13 PM
  2. Replies: 0
    Last Post: 10th December 2007, 04:48 PM
  3. exam-codes
    By callumtuckey in forum General Chat
    Replies: 14
    Last Post: 24th August 2007, 09:52 AM
  4. Text WEP key for hex input
    By NetworkGeezer in forum Wireless Networks
    Replies: 2
    Last Post: 16th March 2006, 07:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •