18 WHEELS OF STEEL CONVOY CHEATS

srijeda, 19.10.2011.

ENCODER MEASURING WHEEL. ENCODER MEASURING


Encoder measuring wheel. 24 chrome wheels.



Encoder Measuring Wheel





encoder measuring wheel






    measuring wheel
  • 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





    encoder
  • 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




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.

===========CODE===============
#include
#include
#define F_CPU 32000000UL
#include

void Config32MHzClock(void);



int main(void)
{
int data;
Config32MHzClock();

CLK.PSCTRL = 0x00; // no division on peripheral clock

PORTCFG.CLKEVOUT = PORTCFG_CLKOUT_PE7_gc;


PORTA.DIR = (1 << 5);
PORTD.DIR = (1 << 5); //Sets Pin5 as an output
PORTD.DIR = (1 << 5);
PORTE.DIR = (1 << 5);
PORTF.DIR = (1 << 5);


//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);

else if (PORTD.IN & (1<<6))
PORTD.OUT = (0x00);

else if (PORTE.IN & (1<<6))
PORTE.OUT = (0x00);

else if (PORTF.IN & (1<<6))
PORTF.OUT = (0x00);



_delay_ms(10); //Cleans up the light coming back on
PORTA.OUT = (1 << 5);
PORTD.OUT = (1 << 5);
PORTE.OUT = (1 << 5);
PORTF.OUT = (1 << 5);
//_delay_ms(100);
//PORTA.OUT ^= PORTA.OUT;
//PORTD.OUT ^= PORTD.OUT;
//PORTE.OUT ^= PORTE.OUT;
//PORTF.OUT ^= PORTF.OUT;
//_delay_ms(100);
}
}


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 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.









encoder measuring wheel







Related topics:

coupons for power wheels

hot wheels beat that patch

atv wheels bolt pattern

bbs wheels

refinish chrome wheels

pingel motorcycle wheel chock

palace on wheels tour package




- 09:59 - Komentari (0) - Isprintaj - #

<< Arhiva >>

  listopad, 2011  
P U S Č P S N
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Listopad 2011 (19)

Dnevnik.hr
Gol.hr
Zadovoljna.hr
Novaplus.hr
NovaTV.hr
DomaTV.hr
Mojamini.tv

18 WHEELS OF STEEL CONVOY CHEATS
18 wheels of steel convoy cheats, where to buy gorilla wheel locks, hot wheels rims