Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - spike1302

1
USB Infrared Toy / Re: problem with C# library; errors; pls HELP
Hello,
I'm on the next steps and you can find my main problem:

- I downloaded the Tool "IrScrutinizer". It works fine.
- I get a signal from my remote control (button press) in Form: NEC and can this export to bin, Pronto hex, short pronto hex
- with the tool of Manito (convert bin to hex; viewtopic.php?f=29&t=5902#p54761) I have now 3 times the same signal in different code:

example:
bin --> hex
Code: [Select]
01 a7 00 d3 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 1a 00 4f 00 1a 00 1a 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 4f 00 1a 00 1a 00 1a 00 4f 00 1a 07 48 01 a7 00 6a 00 1a 11 9d

Pronto hex
Code: [Select]
0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0699 015B 0057 0016 0EA3

short pronto hex
Code: [Select]
900A 006C 0000 0001 00FF 40BF

The C# Library of Manito works fine.


Main Problems and need HELP:
1.) the hex (from bin) is tooo long and the program is haning with execute:
Code: [Select]
var[] powerOnCmd = new byte[] { 0x01, 0xa7, 0x00, [......] };    
port.Write(powerOnCmd, 0, powerOnCmd.Length);

2.) the same like pronto hex, I guess. But I need 2 chars and not 4. How can I use this hex in the code?
Because
Code: [Select]
var[] powerOnCmd = new byte[] { 0x0000, 0x006C , 0x0022, [......] };
doesn't work

3.) short --> good :) but the same problem like 2.)
I have 4 chars and not 2 chars like 1. (bin->hex variante)


I hope you (community) can help me.


PS: yes I can use the Tool "IrScrutinizer". it works fine. However I want to control the function via C# in my own program
Or can I use other programm-function with c# codes? I think not.


@Manito: I use your C# library. I can recording the signal. But when i press a key to transmit the recrded signal. it doesn't work.
the LED is orange =good; but the signal has no result :(


the led is ca. 10-15 active and the bytes was sent. This is to much for a signal I think?
4
USB Infrared Toy / Re: some questions about the handling; HELP
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?
5
USB Infrared Toy / Re: some questions about the handling; HELP
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/

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 :)
6
USB Infrared Toy / some questions about the handling; HELP
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:
  • Is the "USB IR Toy V2" right for me (see target)?
  • Can I simulate the remote control buttons and send them to the LED IR controller?
  • Is it possible that I hold the remote control on the Toy V2, press a key and then the code of the button, to simulate it?
  • I have no serial port (notebook). How do I connect the Toy V2 to my laptop? -> USB to USB?
  • do I need a driver (Windows 7) so that my notebook recognizes the Toy V2 and I can control it via Visul Studio C#?
  • Is there a C# Library for controlling the Toy V2 via Visual Studio?
  • do I need additional hardware and software for my target?



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

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01892338304session_write_close ( )...(null):0
20.01952469904ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01952470680Database_MySQL->query( ).../DatabaseHandler.php:119
40.07522609424Database_MySQL->error( ).../Db-mysql.class.php:273