Sending Single Byte rs232

Pop your questions regarding Home automation Domotica hardware here.....
Post Reply
User avatar
esschenk
Member
Member
Posts: 426
Joined: Sun Feb 17, 2008 10:34 pm
Location: Netherlands
Contact:

Sending Single Byte rs232

Post by esschenk »

Hello,

I want to send a single Byte to an rs232 device
For example i want to send 001.
Hyperterminal does NOT work
Is there a util for windows that i can use

Thanks Ed
Mdamen
Forum Moderator
Forum Moderator
Posts: 390
Joined: Sat Nov 22, 2008 6:58 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by Mdamen »

There are several tools you can use.. Putty and the commercial one's like SecureCRT.
Your issue sounds like a flow control/baudrate issue.. Did you play with those settings?
User avatar
esschenk
Member
Member
Posts: 426
Joined: Sun Feb 17, 2008 10:34 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by esschenk »

Hello,


I have tried several things
But I can get it to work
I have a device that only reacts on a single byte from a rs232 port
So if I want to sent 001 or 230 something like that in a single byte
If I type 2 3 0 with hyper he sent 2 3 0 as separate byte’s

Ill try putty

Thanks
labium
Advanced Member
Advanced Member
Posts: 512
Joined: Sat Feb 06, 2010 10:56 am
Location: netherlands

Re: Sending Single Byte rs232

Post by labium »

try the herculus setup utility, you can use the serial porttab it can send hex so a byte is not 188 but 7F

http://www.hw-group.com/products/hercules/index_en.html

labium
Mdamen
Forum Moderator
Forum Moderator
Posts: 390
Joined: Sat Nov 22, 2008 6:58 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by Mdamen »

I think there is something else wrong.. 230 fits one byte and will be translated to one byte on the wire level.
All hyperterminal does is give you a human representation of things.

To clarify:
230 fits in one byte (8 bits).. its binary representation on the bit level is: 11100110.
Hyperterminal won't send it as 2 (00000010), 3 (00000011) and 0 (00000000)
User avatar
esschenk
Member
Member
Posts: 426
Joined: Sun Feb 17, 2008 10:34 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by esschenk »

Hello,

Thanks for the suggestions .
I have tried Hercules and this is is a great tool for me
My device is responding now with this tool .
Now I can make some scripts for homeseer to control

Thanks :)

Ed
Mdamen
Forum Moderator
Forum Moderator
Posts: 390
Joined: Sat Nov 22, 2008 6:58 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by Mdamen »

Ed you are quite mysterious about this device.. :lol: What cool thing are you hiding?
User avatar
esschenk
Member
Member
Posts: 426
Joined: Sun Feb 17, 2008 10:34 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by esschenk »

Hello Maarten,

It’s not a secret device :D but it’s only a mp3 player with rs232 interface
http://www.mdfly.com/index.php?main_pag ... cts_id=284
what I want to use
As a doorbell and message device for some scripts
Wasmachine etc.
I want to make this device wireless so I can place it anywhere in the house

Ed
Mdamen
Forum Moderator
Forum Moderator
Posts: 390
Joined: Sat Nov 22, 2008 6:58 pm
Location: Netherlands
Contact:

Re: Sending Single Byte rs232

Post by Mdamen »

Nice module! Good luck with the project..
Post Reply

Return to “Questions & Discussions Forum”