Posted: Saturday Jun 23rd, 2012 07:57 pm |
|
1st Post |
bs85
Member
Joined: | Wednesday Apr 21st, 2010 |
Location: | United Kingdom |
Posts: | 90 |
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 |
|
2nd Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
see attached
Attachment: univ.png (Downloaded 63 times)
|
Posted: Sunday Jun 24th, 2012 07:31 am |
|
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 |
|
4th Post |
Posted: Sunday Jun 24th, 2012 09:36 am |
|
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 |
|
6th Post |
Posted: Tuesday Jun 26th, 2012 01:02 pm |
|
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 |
|
8th Post |
Posted: Tuesday Jun 26th, 2012 02:56 pm |
|
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 |
|
10th Post |
bs85
Member
Joined: | Wednesday Apr 21st, 2010 |
Location: | United Kingdom |
Posts: | 90 |
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 |
|
11th Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
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
|
|