Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

UCM Universal Configuration
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Jun 23rd, 2012 07:57 pm
   PM  Quote  Reply 
1st Post
bs85
Member
 

Joined: Wednesday Apr 21st, 2010
Location: United Kingdom
Posts: 88
Status: 
Offline

  back to top

Hi,

I am trying to connect an RFID reader to the UCM Universal.
Not having much look, here is the info for the serial data.

RS232 Data Format (Serial ASCII)

Baud Rate: 9600, N, 8, 1

STX (02 HEX) DATA (10 HEX) CR LF ETX (03 HEX)

The start character is factory defined as an ‘STX' (02 HEX). This is followed
by 10 Hex characters of data. The CR/LF characters serve to bring the
received screen text back to the left hand side and on the line below after
the data bytes have been sent. The ‘ETX' (03 HEX) character denotes the
end of the current transmission.

Anyone know how the ucm should be configured?

Thanks
Brian



 Posted: Sunday Jun 24th, 2012 07:14 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3497
Status: 
Offline

  back to top

see attached

Attachment: univ.png (Downloaded 63 times)



 Posted: Sunday Jun 24th, 2012 07:31 am
   PM  Quote  Reply 
3rd Post
BigDave61
Member
 

Joined: Monday Jun 18th, 2012
Location:  
Posts: 12
Status: 
Offline

  back to top

Brian

I would be interested to know how you get on with connecting the rfid to your system. This is one of the functions that I want to eventually set up. What rfid unit did you get?

Many thanks.

David



 Posted: Sunday Jun 24th, 2012 07:50 am
   PM  Quote  Reply 
4th Post
bs85
Member
 

Joined: Wednesday Apr 21st, 2010
Location: United Kingdom
Posts: 88
Status: 
Offline

  back to top

David,

I have one these 125K-R-232-W2 from here http://rfidshop.com.hk/125V7A.html from a previous project.

Ident,

Tried them settings but not seeing any data in the monitor mode window.

Brian



 Posted: Sunday Jun 24th, 2012 09:36 am
   PM  Quote  Reply 
5th Post
BigDave61
Member
 

Joined: Monday Jun 18th, 2012
Location:  
Posts: 12
Status: 
Offline

  back to top

Brian

Many thanks for the pointer, I am looking at the site now.

I had a quick look at the manual for your rfid unit and although you have said:

"STX (02 HEX) DATA (10 HEX) CR LF ETX (03 HEX)"

the manual says:

"STX (01 HEX) DATA (10 HEX) CR LF ETX (02 HEX)"

As this is a new area for me not sure if that will resolve your problem.

Cheers.
David



 Posted: Tuesday Jun 26th, 2012 11:34 am
   PM  Quote  Reply 
6th Post
bs85
Member
 

Joined: Wednesday Apr 21st, 2010
Location: United Kingdom
Posts: 88
Status: 
Offline

  back to top

This is the manual i have read http://www.rfidshop.com.hk/datasheet/125K-R-232-W2/125K-R-232-W2.pdf

Tried it with the other settings and not getting data on the Monitor mode window the only thing noticed is that the D11 led flashes on the ucm when a tag is read.

Tried it on a windows machine with hyperterminal and data is showing ok.

Anyone got any ideas?

Brian



 Posted: Tuesday Jun 26th, 2012 01:02 pm
   PM  Quote  Reply 
7th Post
HeFeng
Cytech


Joined: Saturday Dec 11th, 2010
Location:  
Posts: 29
Status: 
Offline

  back to top

Hi, Brian, your RFID reader protocol is HEX format accurately,try to use date type: HEX in universal UCM setting, if still can't receive the data, try to use a inverse 232 cable and try!



 Posted: Tuesday Jun 26th, 2012 02:49 pm
   PM  Quote  Reply 
8th Post
BigDave61
Member
 

Joined: Monday Jun 18th, 2012
Location:  
Posts: 12
Status: 
Offline

  back to top

Brian

The manual I got the information from is http://rfidshop.com.hk/datasheet/125K-R-232-W2/125K-R-232-W2-Datasheet.pdf. No idea which one is right then!!!

David



 Posted: Tuesday Jun 26th, 2012 02:56 pm
   PM  Quote  Reply 
9th Post
BigDave61
Member
 

Joined: Monday Jun 18th, 2012
Location:  
Posts: 12
Status: 
Offline

  back to top

Brian

Could you please let me know what pin each of the three wires is connected to on the rs232 connector. I may follow up on this unit and the manual that I read is a bit confusing for me in respect of what goes where. Electronics is not a speciality of mine.

Thanks.

David:)



 Posted: Wednesday Jun 27th, 2012 08:36 am
   PM  Quote  Reply 
10th Post
bs85
Member
 

Joined: Wednesday Apr 21st, 2010
Location: United Kingdom
Posts: 88
Status: 
Offline

  back to top

Had another look at this last night.
Fired up serial port monitor on my computer and it showed the info that David posted was correct, so i set up the UCM again and still got nothing.
Then decided to reflash the ucm and after that it started working.

Here is the correct info for the reader http://www.rfidshop.com.hk/datasheet/125K-R-232-W2/125K-R-232-W2-Datasheet.pdf

There are three wires from the reader.
Red Power 9-12v DC
Black Power ground and RS232 ground pin5
White RS232 TX pin2

Thanks for help

Brian



 Posted: Wednesday Jun 27th, 2012 02:36 pm
   PM  Quote  Reply 
11th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3497
Status: 
Offline

  back to top

The biggest problem with Rs232 is the direction of the TX and RX and the male/female sides so which pin to connect to what? It is difficult to remember and sometimes you have to do trial and error

That is why we have Male and Female Rs232 DE9 connectors so you use the RS232M to connect to a 3rd party Rs232 Female using a straight 9 way male to female cable

Manufacturers should provide Rs232 interfaces with DE9 connectors instead of loose wires so the correct cable can be used to connect to the UCM



 Current time is 06:30 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems