Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: spike1302 on April 16, 2017, 01:23:44 am

Title: some questions about the handling; HELP
Post by: spike1302 on April 16, 2017, 01:23:44 am
Hello community,
I'm Chris from Germany.

I have a RGB LED stripe. This has a normal IR controller. For this was a suitable remote control with buttons for color switching, flashing, etc. thereby. (44 keys)

Target: Control the LED IR Controller via Notebook and simulate the remote control via C# (with Visual Studio).

Asks:



Thank you very much and sorry for stupid asks. I hope for fast and good answers. Because then I would order the Toy V2 (depending on the questions) :)

Best regards
Title: Re: some questions about the handling; HELP
Post by: Manitu on April 17, 2017, 09:02:08 am
Hi Chris
not exactly sure about your LED stripe product, but I would say the chance is very high that it works (no warranty of course)
you can simulate or replace the remote by recording each remote key first with the IR toy. once you have every code, you can send them later.
the connection to the device will be done via USB, driver you find on this website. windows 7 is no problem, but also windows 10 seems to work (if you plan to upgrade).
there is already a C# library. At the moment, it supports only sending and it requires the command in a hex string format (which can be taken from the perl RecPlay output), as you need to record only once.
viewtopic.php?f=29&t=6485 (http://dangerousprototypes.com/forum/viewtopic.php?f=29&t=6485)
additional, you need an USB cable (type A to mini) and a lot of time :)

Gruss, Manitu
Title: Re: some questions about the handling; HELP
Post by: spike1302 on April 17, 2017, 10:04:05 am
Hi,
Thank you for your help.
That means The c# Library does only sending and not receiving?

You Said i Need the hex. I think thats the hex of the Remote Control
http://woodsgood.ca/projects/2015/02/13 ... -ir-codes/ (http://woodsgood.ca/projects/2015/02/13/rgb-led-strip-controllers-ir-codes/)

Right?

But your comment with Perl recplay sounds interesting.
Can you give me more Details, a docu oder link to the discription?

Do you have an c# example code for sending (with HEX obviously)?

Thank you :)
Title: Re: some questions about the handling; HELP
Post by: Manitu on April 17, 2017, 10:35:12 am
yes, the C# library does only sending. in my use case, I just had to receive the codes once from the remote, which can be done by the perl script.
maybe these codes are already the correct ones, but I would prefer to record them once using the script quickly.
just download the c# library and have a look at it, an example is included.
Title: Re: some questions about the handling; HELP
Post by: spike1302 on April 18, 2017, 12:41:13 pm
Update:
with IrScrutinizer it works: capture the signal and transmit the signal.
Question:
I get the Code
Code: [Select]
0000 0068 0024 0000 0162 00B5 0015 0018 0015 0015 0015 0015 0015 0018 0015 0015 0015 0015 0015 0018 0015 0015 0015 0043 0015 0043 0015 0043 0015 0043 0015 0043 0015 0043 0015 0043 0015 0043 0015 0018 0015 0015 0015 0015 0015 0018 0015 0015 0015 0015 0015 0043 0015 0015 0015 0043 0015 0043 0015 0043 0015 0043 0015 0043 0015 0043 0015 0018 0015 0043 0015 062D 0162 005C 0015 D902

how can I get the right hex code for the c# code (library)?


-----


Hi thanks.

now i have the toy V2 and updated to V222.
fine.

I installed Eventghost and included the plugin.
fine.

But which command should I take? I think I need a Hex Code??


I installed activeperl, but i can't setup the promt of the docu:
Code: [Select]
ppm install Win32-SerialPort 

because I have win7 64bit. And now?


I need a procedure to receive the code/data from my remotecontrol.
Could you help me?
Title: Re: some questions about the handling; HELP
Post by: Manitu on April 18, 2017, 10:24:04 pm
Try the RecPlay perl script that is included in the package from this site, it records in the correct format.