Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello all, complete noob here. apologies in advance for asking something that might be simple, or complex..

so I have an LED sign that has an IR remote to send commands., i.e, up/down/righ/left.

the sign has a serial port, and as the manufacturer said, it accepts hex commands for up/left so and so.

my question is this, what, or how would i use to accomplished that? I have my computer connected to the sign via serial cable but i cant seem to pass a hex command, or dont know how.

the hex for say, off is NO. 5, HEX 5, DEC 5

so as dumb as it sounds im sendt "555" to the sign via serial but it doesnt do anything :(

any help as to the program and commands would be so appriciated..
Posted
Comments
Sergey Alexandrovich Kryukov 1-Sep-15 19:17pm    
Well, try to send 0x555, it will be even dumber. :-)
Seriously, there can be million dumb problems. The documentation could be misread: communication parameters, command formats, anything. Moreover, the documentation can be inaccurate. The cable could be defective, and so on. So, it might be not even your fault. And — pay attention that you did not specify platform, language system type, nothing — it could so happen that you didn't even send any command... :-)
—SA
PIEBALDconsult 1-Sep-15 19:36pm    
Not enough information. I've done quite a bit of communication with serial devices, but I wouldn't know where to start to help you really.
As ppolymorphe hinted, start with a terminal emulator just to see what happens when you type characters. This may give you a good idea of what's going on.
If you're in the Phoenix area, I'd be glad to help you in person.

1 solution

You need:
- Signal documentation
- a terminal emulator (probably)

In documentation, you need to find:
- Communication speed
- Data format: number of bits, stop, parity
- Commends codes

When you have a communication up and running, you can think about programming.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900