XLINE 16 Sensor Array Board - Digital

Product Code: JS19342
22.85 USD

Quantity

Stock: In stock (2 Pieces)

Add to Favorites
Jsumo Robot parts shipment and price information
  • Features
  • Dimensions
  • Comments (0)
  • Payment Options
  • How Will We Ship To You?
  • ​Specially designed line sensor for more broad line coverage. Each sensor is placed with 7mm apart.
    Technical Specs
    • Works at 5V, total current draw is 240ma for all 16 sensors.
    • Total weight is 6 grams.
    • Sensivity is set by built-in trimpot at board.
    • XLine board's dimension is 117.8mm L x 35mm W x 4.3mm H.
    Sensors selected with analog multiplexer and later compared with op-amp. At output sensor is direcly giving digital output.
    You need to attach 4 digital outputs and 1 digital input.
    So Xline will use total 5 I/O only except of 16!
    Here the test code for easy to use. 
    //JSumo.com
    //XLine Digital Sensor Board Test Code.

    #define s0 3 // Sensor Selection pins.
    #define s1 4
    #define s2 5
    #define s3 6
    #define Sens 2 // Digital input pin.
    int value;
    int j=1; //1mS Delay (It can be optimised up to 100Microseconds)

    void setup() {
    pinMode(s0, OUTPUT); // 4 Selection pins are output.
    pinMode(s1, OUTPUT);
    pinMode(s2, OUTPUT);
    pinMode(s3, OUTPUT);
    pinMode(Sens, INPUT);
    Serial.begin(9600);
    }

    void loop() { // at main loop function we use for loop and make each sensor reading.

    for (int i=0; i <= 15; i++){ // Total 16 loop inside for statement.

    if (i == 0)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, LOW);
    digitalWrite(s2, LOW);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 1)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, LOW);
    digitalWrite(s2, LOW);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 2)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, LOW);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 3)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, LOW);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 4)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, LOW);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 5)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, LOW);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);


    }
    else if (i == 6)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 7)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, LOW);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 8)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, LOW);
    digitalWrite(s2, LOW);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 9)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, LOW);
    digitalWrite(s2, LOW);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 10)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, LOW);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 11)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, LOW);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 12)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, LOW);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 13)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, LOW);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 14)
    {
    digitalWrite(s0, LOW);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }
    else if (i == 15)
    {
    digitalWrite(s0, HIGH);
    digitalWrite(s1, HIGH);
    digitalWrite(s2, HIGH);
    digitalWrite(s3, HIGH);
    delay(j);
    value=digitalRead(Sens);
    }

    Serial.print(value);
    Serial.print(' ');


    }

    Serial.print(millis());
    Serial.println();

    // After 16 for loop we go to 2nd line.
    }
  • Size (cm)
    :
    12 x 12 x 0.5
    Height (cm)
    :
    3.5
    Weight (Kg)
    :
    0.01
  • All products shipped with sealed in box. All products packaged carefully. Before shipment, we test all electronics and control the mechanics of all products. So you will never be disappointed when you open our JSumo shipment box.

    We have 2 Shipment Options:

    • Registered Air Mail ( Fixed Price 9,95 USD, Free On Orders Over 199 USD)
      DHL Worldwide Express Shipment (Based on weight)

    TIME TABLE FOR INTERNATIONAL REGISTERED AIR MAIL

    Below, these countries are the only examples. If your country is not in the list, don't be afraid. We are shipping to all over the world including your country too:)

    *Colombia, Paraguay, Peru shipments are sent over Brazil Postal Service. ( Turkey >> Brasil >> Colombia, Paraguay or Peru) Because of that delays can happen. We are sending shipment code.

    What is your return policy?

    You may return a product for refund or exchange (if due to our error) within 30 days of the order shipment date. (The order shipment date and order notification are provided to you by email). All returns must be accompanied with a Return Merchandise Authorisation number (order number #).

    If we shipped you the wrong product, or it arrived defective or damaged

    No problem. Just contact us within 30 days of the item's original shipping date to arrange for the return of your purchase. Send us photo of wrong product. And we will send a replacement or refund you for your purchase, provided the returned item(s) are received back in their original packaging, along with all accessories, warranty cards, manuals, software, etc., where applicable.

  • All products shipped with sealed in box and packaged carefully. Before shipment, we test all electronics and control the mechanics of all products. So you will never be disappointed when you open our JSumo shipment box.

    We have 2 Shipment Options:

    • Registered Air Mail ( Fixed Price 9,95 USD, Free On Orders Over 199 USD)
      DHL Worldwide Express Shipment (Based on weight)

    TIME TABLE FOR INTERNATIONAL REGISTERED AIR MAIL

    Below, these countries are the only examples. If your country is not in the list, don't be afraid. We are shipping to all over the world including your country too:)

    *Colombia, Paraguay, Peru shipments are sent over Brazil Postal Service. ( Turkey >> Brasil >> Colombia, Paraguay or Peru) Because of that delays can happen. We are sending shipment code.

    What is your return policy?

    You may return a product for refund or exchange (if due to our error) within 30 days of the order shipment date. (The order shipment date and order notification are provided to you by email). All returns must be accompanied with a Return Merchandise Authorisation number (order number #).

    If we shipped you the wrong product, or it arrived defective or damaged

    No problem. Just contact us within 30 days of the item's original shipping date to arrange for the return of your purchase. Send us photo of wrong product. And we will send a replacement or refund you for your purchase, provided the returned item(s) are received back in their original packaging, along with all accessories, warranty cards, manuals, software, etc., where applicable.

Prepared by  T-Soft E-Commerce.