examples/ecos_lpc2138_sja1000/src/elevation/encoder/ReadMe.txt
author lbessard
Fri, 16 Jun 2006 14:24:59 +0200
changeset 31 a82b70738e5c
parent 21 8737e6224393
permissions -rw-r--r--
Code clean-up and fixed xenomai compile problem
20
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     1
               ____     ____     ______    __  ___    ______   ____
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     2
              / __ \   / __ \   / ____/   /  |/  /   / ____/  / __ \
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     3
             / / / /  / /_/ /  / __/     / /|_/ /   / __/    / / / /
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     4
            / /_/ /  / _, _/  / /___    / /  / /   / /___   / /_/ /
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     5
            \____/  /_/ |_|  /_____/   /_/  /_/   /_____/   \___\_\
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     6
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     7
					http://www.oremeq.qc.ca/
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     8
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
     9
This is an absolute rotary encoder gateway to CANopen.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    10
We used for this demo an absolute rotary encoder from Siemens Automation
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    11
model: 6FX2001-5SS12  ,  see the 6FX2001-5SS12.jpg for an idea of the look. 
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    12
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    13
This Encoder work with the SSI31 protocol. The 31 mean 31 bits. And SSI
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    14
is a special version of the SPI protocol.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    15
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    16
The pinout for this encoder is:
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    17
	 1=Clock -
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    18
	 2=Clock +
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    19
	 3=Data +
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    20
	 4=Data -
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    21
	 5=n.c.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    22
	 6=n.c.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    23
	 7=n.c.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    24
	 8= ????
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    25
	 9=n.c.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    26
	10=n.c.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    27
	11=+10 to 30 VDC @ 250mA
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    28
	12=GND
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    29
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    30
Our LPC2138 implement the SSI31 protocol to pool the encoder
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    31
and fill the DS-406 specification for CANopen.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    32
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    33
You can find this specification at: http://www.can-cia.org/
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    34
Ask for the document: CiA DS 406 V3.1: CANopen device profile for encoder
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    35
21
8737e6224393 Some documentation correction
oremeq
parents: 20
diff changeset
    36
To build this project, see $CANFESTIVAL_HOME/drivers/ecos_lpc2138_sja1000/ReadMe.txt
8737e6224393 Some documentation correction
oremeq
parents: 20
diff changeset
    37
to prepare your environment.
20
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    38
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    39
See the schematic.jpg in this directory.
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    40
3499b92f792c Add some file for the CANfestival Absolute Rotary Encoder
oremeq
parents:
diff changeset
    41
		Enjoye!