Absolute Encoder 12 Bits 18mm.

Absolute Encoder 12 Bits 18mm.
Absolute Encoder 12 Bits 18mm.Absolute Encoder 12 Bits 18mm.Absolute Encoder 12 Bits 18mm.Absolute Encoder 12 Bits 18mm.
หมวดหมู่ Sensor/Encoder
ราคา 2,800.00 บาท
สถานะสินค้า พร้อมส่ง
สภาพ สินค้าใหม่
ลงสินค้า 10 ก.พ. 2559
อัพเดทล่าสุด 6 พ.ย. 2561
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

 

Video Test Encoder.

 

Example Code for Arduino

// absolute encoder 12 bits

// By Earth Electronics and www.thairoboshop.com

 

int CLK = 10; //Digital Pin 10

int DO  = 11; //Digital Pin 11

int CSn = 12; //Digital Pin 12

 

unsigned int reading;

 

void setup() {                

 

  Serial.begin(115200);

 

  pinMode(CSn, OUTPUT);   // Chip select

  pinMode(CLK, OUTPUT);   // Serial clock

  pinMode(DO, INPUT);   // Serial data IN/OUT   

 

  digitalWrite(CLK, HIGH);    

}

 

void loop() {

  unsigned int reading;

  int degree;

 

  ReadSSI();

  degree = map(reading, 0, 4095, 0, 359);

  Serial.print(reading,DEC); Serial.print("\t"); Serial.println(degree);

  delay(10);

}

 

void ReadSSI(void)

{

  int i;

  char Resolution = 12;

  unsigned int bitStart = 0x0800;

 

   reading = 0;

   digitalWrite(CSn, LOW);

   delayMicroseconds(1);

   digitalWrite(CLK, LOW);

 

   for(i=(Resolution-1);i>=0;i--)

   {

     digitalWrite(CLK, HIGH);

     delayMicroseconds(1);

     if (digitalRead(DO)) reading |= bitStart;   

     digitalWrite(CLK, LOW);

     bitStart = bitStart >> 1;

 

   if (i == 0) 

   {

     digitalWrite(CLK, HIGH);

     if (digitalRead(DO)) reading |= bitStart;   

     }

   }

 

   digitalWrite(CSn, HIGH);

}

วิธีการชำระเงิน

สอบถามสินค้าหรือต้องการใบเสนอราคาหรือใบกำกับภาษีโปรดติดต่อทางร้านก่อนสั่งซื้อครับผม

- ติดต่อผ่าน LINE ID : csanthanaboun
- เบอร์โทร 0909761799

บมจ. ธนาคารกสิกรไทย สาขาวังบูรพา ออมทรัพย์
พร้อมเพย์ สาขา- mobile
ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาศรีนครพิงค์ ออมทรัพย์
Scan this!
นาย ชาติไทย สันธนะบูรณ์
090-xxxxxx-9
Accept All Banks | รับเงินได้จากทุกธนาคาร

ติดตามพัสดุ

*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

ติดต่อเรา

0909761799

ระบบสมาชิก

สถิติร้านค้า

หน้าที่เข้าชม333,130 ครั้ง
ผู้ชมทั้งหมด121,167 ครั้ง
พูดคุย-สอบถาม