A piece of field equipment designed to measure distances; generally composed of a small wheel and calibrated meter mounted on the end of a handle
A device used to encode a signal either for cryptography or compression
An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another, for the purposes of standardization, speed, secrecy, security, or saving space by shrinking size.
Opposite from decoder. Software, which f.i. compresses a video.
Checking encoder port inputs
This is our TinyG Stepper Controller Board. I tossed some code up on the xmega to test inputs from these "encoder ports" All I am doing is putting 3v onto each pin and it turns off the led that corresponds to the port.
//011 PULLUP Totempole Pull-up (on input) is what is set
//PORT A F D E 6 & 7 ENCODER PORTS
PORTA.PIN6CTRL = (0x30); //Sets Pullup on Input on pin 6
PORTA.PIN7CTRL = (0x30); //Sets Pullup on Input on pin 7
PORTF.PIN6CTRL = (0x30); //Sets Pullup on Input on pin 6
PORTF.PIN7CTRL = (0x30); //Sets Pullup on Input on pin 7
PORTD.PIN6CTRL = (0x30); //Sets Pullup on Input on pin 6
PORTD.PIN7CTRL = (0x30); //Sets Pullup on Input on pin 7
PORTE.PIN6CTRL = (0x30); //Sets Pullup on Input on pin 6
PORTE.PIN7CTRL = (0x30); //Sets Pullup on Input on pin 7
PORTA.OUT = (1<<5);
while(1){
if (PORTA.IN & (1<<6))
PORTA.OUT = (0x00);
void Config32MHzClock(void)
{
CCP = CCP_IOREG_gc; //Security Signature to modify clock
// initialize clock source to be 32MHz internal oscillator (no PLL)
OSC.CTRL = OSC_RC32MEN_bm; // enable internal 32MHz oscillator
while(!(OSC.STATUS & OSC_RC32MRDY_bm)); // wait for oscillator ready
CCP = CCP_IOREG_gc; //Security Signature to modify clock
CLK.CTRL = 0x01; //select sysclock 32MHz osc
};
this is out of focus
this is the cable measuring station. the big spool on the back holds about 10,000' of black cable (1x7 1/32' galvanized steel wire rope powder coated black) the cable is pulled through that yellow thing which has a rotary encoder attached to a wheel. as the cable is pulled through, the wheel turns, and the output from the encoder is read by that little box. the display shows how many millimeters of cable have been pulled through the machine.
the chinese thought it was the most facinating thing ever.