Jump to content



Photo
* * * * * 1 votes

Pinscape TV ON/ IR sensor


  • Please log in to reply
73 replies to this topic

#61 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,318 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 12 January 2021 - 11:25 PM

These both modules, transmitter, and receiver, also works fine with the KL25Z board.

 
Just take note that they must to be connected to 5 volts, not 3.3v.
 

https://1drv.ms/u/s!...Hq3FaQ?e=sEKRYv

 

If you've tested them and confirmed they're okay, that's great.  In general, though, BE CAREFUL with anything that has to run on 5V, to make sure that it won't ever feed 5V back into a KL25Z GPIO pin.  The KL25Z can't tolerate 5V on any of the GPIO pins - anything above 3.3V can damage it.



#62 Cadorna

Cadorna

    Enthusiast

  • Members
  • PipPipPip
  • 134 posts

  • Flag: Argentina

  • Favorite Pinball: Too many to choose ...

Posted 12 January 2021 - 11:43 PM

 

These both modules, transmitter, and receiver, also works fine with the KL25Z board.

 
Just take note that they must to be connected to 5 volts, not 3.3v.
 

https://1drv.ms/u/s!...Hq3FaQ?e=sEKRYv

 

If you've tested them and confirmed they're okay, that's great.  In general, though, BE CAREFUL with anything that has to run on 5V, to make sure that it won't ever feed 5V back into a KL25Z GPIO pin.  The KL25Z can't tolerate 5V on any of the GPIO pins - anything above 3.3V can damage it.

 

Yes, I just tested it and works fine. At first, I tested at 3.3 volts but the receiver can't capture the signal, so I switched to 5 volts (because all the Arduino stuffs works with that voltage) and it starts to works like a charm. I´m just tested for a few minutes 'cause I'm still working in the cabinet, but again, yes, they work fine.



#63 bandicoot

bandicoot

    Hobbyist

  • Silver Supporter
  • 40 posts

  • Flag: ---------

  • Favorite Pinball: RiverBoat

Posted 05 April 2021 - 04:28 PM

A long time ago and before use this i need to use my remote for my backglass tv for adjust display 

For make  it short A 46'' TV for Playfiled and a 30'' TV for backglass , before today i need to stand my playfield tv is ready to start for start it with a button hack , next  30'' tv with remote and after luanch my computer

Now it's amazing

Make a batch , add power on 46'' irsend , 30'' ir send and add a timer for launch my frontend and add it to my Windows startup , everything work like a charm

 

PS: i make all the circuit with an old remote control for transmitter and hack a receiver for XBOX remote to receive data :) :)i


Edited by bandicoot, 05 April 2021 - 04:44 PM.


#64 cmt26

cmt26

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts

  • Flag: ---------

  • Favorite Pinball: Stranger Things

Posted 19 June 2021 - 01:50 PM

For the life of me I cannot get this to work. I got the Amazon part, I was able to capture the code for my tv, that part worked. But as far as turning it on, no luck. I click the test button and I see the red light on the transmitter blink, but nothing happen. TV will not turn on or off. I moved it closer to the IR sensor on the tv, no luck. I made PT1 virtual port as I saw one person had that issue, but that didnt work either. Is it possible this TV has something weird going on with it? It is a hisense roku 43 tv.

Im about to give up on it and just use the remote to turn it on. Scratching my head a lot on why this is not working as expected.

Thanks

#65 Cadorna

Cadorna

    Enthusiast

  • Members
  • PipPipPip
  • 134 posts

  • Flag: Argentina

  • Favorite Pinball: Too many to choose ...

Posted 16 August 2021 - 12:03 AM

For the life of me I cannot get this to work. I got the Amazon part, I was able to capture the code for my tv, that part worked. But as far as turning it on, no luck. I click the test button and I see the red light on the transmitter blink, but nothing happen. TV will not turn on or off. I moved it closer to the IR sensor on the tv, no luck. I made PT1 virtual port as I saw one person had that issue, but that didnt work either. Is it possible this TV has something weird going on with it? It is a hisense roku 43 tv.

Im about to give up on it and just use the remote to turn it on. Scratching my head a lot on why this is not working as expected.

Thanks

 

Did you connect the infrared transmitter to 3.3 or 5 volts? Mine had to connect to 5 volts, otherwise it refused to work.



#66 cmt26

cmt26

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts

  • Flag: ---------

  • Favorite Pinball: Stranger Things

Posted 16 August 2021 - 07:27 AM

Thanks for the suggestion. When I did have them (shipped them back for refund) and did try both. Im back to old school and use the remote to turn on the tv lol. I tried a few different IR blasters, and tried on the 3.3 and 5volt with no luck. Could get the code to be received, but no luck sending. Oh well. Was worth a shot but no dice for me.

#67 vd2021

vd2021

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: United States of America

  • Favorite Pinball: mario

Posted 01 September 2022 - 03:07 AM

Help. New here. I need a "for dummies" how to on exactly how to create the .bat file. I feel lime an idiot for having to ask, but I have a stand alone kz25, have the ir working perfectly from the pins cape set up yet cannot get it to work when I turn on the PC.

#68 fhjui

fhjui

    Enthusiast

  • Members
  • PipPipPip
  • 356 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: especially EM tables

Posted 01 September 2022 - 08:35 PM

Help. New here. I need a "for dummies" how to on exactly how to create the .bat file. I feel lime an idiot for having to ask, but I have a stand alone kz25, have the ir working perfectly from the pins cape set up yet cannot get it to work when I turn on the PC.

...a very brief description of what you have tried and what exactly not works...

ok. I try to help you....

Please at first read the explanation from mjr in his Pinscape build guide:http://mjrnet.org/pi...hp?sid=irRemote and

In this thread here is an exmample from mjr for a batch file:https://www.vpforums...e=3#entry432160

 

to run a file after logon in windows 10 (as a user), a link to that file must be put in the autostart-directory of your user-account.

That file is executed after user-logon.

 

How to create the batch file for autostart:

  • create a batch file using notepad, f.e. in the directory where Pinscapeconfigtool is installed (for example "C:\Pinscape") with the command:
    "C:\Pinscape\PinscapeCmd.exe SendIR=1 quiet" (where 1= numbering of the command from Pinscapetool)
    save the file naming it f.e. as "SwitchTV-on.cmd"
    You must set the file name in quotation marks, otherwise its named "SwitchTV-on.txt" and you have rename ist manually.
  • Select this cmd with the right mouse button and select "Create shortcut"
    Then you have created a link-file to your batch file.
  • press <windows-key + R>, and type shell:startup in the inputbox.
    this opens directly the correct autostart-folder.
  • copy the created link-file into this folder
    (you must not copy the batch file, only a link file works)

Then, after a logon this file is executed automatically


My documentation for installing vpin software with PinUpsystem (Baller installer): https://mega.nz/fold...wAXZlOEMQGbdutQ

Files and PDF-docu in the subdir "Installation vPin-Software with Baller-Installer"


#69 salva1977

salva1977

    Neophyte

  • Members
  • Pip
  • 2 posts
  • Location:Roma

  • Flag: Italy

  • Favorite Pinball: adams family

Posted 11 November 2022 - 11:14 AM

Hello everyone, I've been trying for some time to turn on the TV with the IR command, but something is wrong.

I have used this type of sensors, and configured it on pinscape as described.

 

kl25zpinout_t.png

I created the command to execute on the .BAT file as described:

 

PinscapeCmd Unit=n2

PinscapeCmd SendIR=1

 

Please note that I use a KL 25 card only for this function.
I have another board integrated on a RIG MASTER board.
If I only connect the KL 25 board where the sensors are connected with the USB cable to the PC, the .BAT command works propery, the TV turns on.
The problem occurs when I connect the two boards via USB cable to the PC at the same time. Appears this message error:
 
 
C:\Program Files (x86)\PinscapeConfigTool>PinscapeCmd Unit=n2
The unit number specified by "Unit=n2" isn't present.
The following units are currently present: 1 and 2.
 
C:\Program Files (x86)\PinscapeConfigTool>PinscapeCmd SendIR=1
 
afcff6fabb15298688051e7b0a179fd2.jpg
 

 

 

 

 

 

Thank you in advanced for the suggestions.


Edited by salva1977, 11 November 2022 - 11:25 AM.


#70 digitalarts

digitalarts

    Pinball Fan

  • Members
  • PipPipPipPip
  • 832 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Judge Dredd (have the real one); all virtual EM's

Posted 11 November 2022 - 12:34 PM

Why are you typing "n2" in the batch?
Just type "2" (or "1", belongs which unit has the IR), in one single line

PinscapeCmd.exe Unit=2 SendIR=1

Edited by digitalarts, 11 November 2022 - 12:39 PM.


#71 salva1977

salva1977

    Neophyte

  • Members
  • Pip
  • 2 posts
  • Location:Roma

  • Flag: Italy

  • Favorite Pinball: adams family

Posted 11 November 2022 - 01:47 PM

Damn!!!!!!! I can't believe I missed an evening for such a trivial thing.

 

thank you so much for the help.



#72 coffeeisgood

coffeeisgood

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: 8 ball champ

Posted 19 December 2022 - 03:07 AM

Reading through this thread and the MJR Guide again it sounds like if you don't have one of the Pinscape Expansion boards (seems like many people are using Rigmaster or Cleveland boards) the "power sensing" feature isn't there for you using a KL standalone (or with one of those two vendor expansion boards). Is it right to say that the KL Pinscape firmware does not have the ability to send IR codes during its "startup"? I was a bit confused about the power sensing circuit requirement as I assumed (probably in error) that there is some sort of "startup" set of instructions that get executed when KL is powered on that could trigger it. Unfortunately the batch file IR approach (turning on monitor at login) in some systems can start/worsen display order problem some of us have, so having it triggered when everything is powered on is the best option.



#73 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,318 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 19 December 2022 - 07:48 AM

> Is it right to say that the KL Pinscape firmware does not have the ability to

> send IR codes during its "startup"?

 

Correct, although it's not so much lack of ability as deliberate design, in that sending monitor commands at every software reboot would often be backwards from what you want.  This wouldn't distinguish cases where the KL25Z was rebooted for reasons unrelated to system power status changes (e.g., installing new firmware, or changing settings), and it would also fail to send the commands at system power transitions on systems with soft power control, since the USB port remains powered when the system is off and thus the KL25Z doesn't get hard rebooted at power transitions.

 

> I was a bit confused about the power sensing circuit requirement ...

 

And that's the reason for the external power circuit - it allows the software to reliably sense the system power transitions where you actually want the monitor power commands sent, and to reliably not send them when you don't.


Note that you can always add the power sensing circuit if you're using the Arnoz boards or a standalone KL25Z.  The schematic for the required circuit is in the TV ON section in the build guide, and it's only a few parts.  If software control via the Windows startup won't work for you, your best bet is probably to add the circuit.


Edited by mjr, 19 December 2022 - 07:49 AM.


#74 coffeeisgood

coffeeisgood

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: 8 ball champ

Posted 19 December 2022 - 08:29 PM

Hadn't considered those use-cases (of course). Makes sense, however for me the schematic without a picture is hard to understand - anyone built this and have a picture of how it was wired together?

 

Otherwise I suppose a special purpose Arduino that just runs a "send IR" when powered every time would be cheap (have a couple in the parts bin).

 

Whichever I find to work best I'll share for others that bought an LG C2 which should stay on power and powered off "nicely". This is another option that works well (minus display ordering) https://github.com/J...7/LGTVCompanion