Diode LED Tester 9V 2~150mA [B157]






https://www.youtube.com/watch?v=n8qo-_L4AIA



* Specs

Item Condition: Brand New.

Color: White. 

Power Supply: 9V Battery.

Dimension: 8.0(L) x 5.5(W) x 2.2(H)cm

Material: High quality hard plastic.

Weight: 36g.

Wonderful Tool for testing LED (2-150mA), can test Lots of  LED at the same time.


* Contents

LED Diode Test 

Posted by RDIoT
|

USB Logic Analyzer 24Mhz 8CH [B008]



https://www.youtube.com/watch?v=t1AtUqPwVOI


* GitHubhttps://github.com/rdiot/rdiot-b008.git


* Specs

1.8 channels input;

2.Logical light indication: a small light indicate CHO electrical level;

3.Input feature:5PF,100K Ohm;

4.USB power supply;

5.Sampling rate can be seted as below:

24MHz. 16MHz, 12MHz, 8MHz, 4MHz, 2MHz, 1MHz, 500KHz, 250KHz, 200KHz, 100KHz, 50KHz, 25KHz;

6. Data upload real time,the max of depth of collection is 10T,far from practical need.

A total of eight digital channels, =voltage range is 0V ~ 5.5V, the voltage threshold is considered to be low below 1.5V, 1.5V above is considered high.

Package includes the main device, 10pins of dupont cable and one USB cable.

See basic how it works and how to use the introduction video below.

Samples : How much samples to collect, Mhz: frequency of sampling, so 50M * 1Mhz will be 50 total sampling time.

This one is a starter version, different to Saleae16, which has 100Mhz, 16-channel version



* Contents

- Saleae SW Download : http://www.saleae.com/downloads

 : Windows 32bit : http://downloads.saleae.com/Logic%20Setup%201.1.15%20(32-bit).exe

 : Windows 64bit : http://downloads.saleae.com/Logic%20Setup%201.1.15%20(64-bit).exe


- Getting Started Using the Salease Logic Analyzer : http://support.saleae.com/hc/en-us/sections/200114124-Get-Started-Using-the-Saleae-Logic-Analyzer


- Connect

CH0~CH7, GND2

 

CH0 - D1

CH1 - D2

CH2 - D3


- Test Code

void setup()

{

  pinMode(0, OUTPUT);

  pinMode(1, OUTPUT);  

  pinMode(2, OUTPUT);  

}


void loop() {

  // PIN0 - HIGH

  digitalWrite(0, HIGH);

  

  // PIN1 - 10sec

  for (int i=0; i<10; i++) {

    digitalWrite(1, LOW);

          //PIN2 - 5.125us * 3 times

          digitalWrite(2, HIGH);

          digitalWrite(2, LOW);

          digitalWrite(2, HIGH);

          digitalWrite(2, LOW);

          digitalWrite(2, HIGH);

          digitalWrite(2, LOW);          

    // PIN1 - 0.5 sec

    delay(500);

    digitalWrite(1, HIGH);

    // PIN1 - 0.5 sec

    delay(500);

  }


  // PIN0 - LOW

  digitalWrite(0, LOW);


  // Delay 1sec

  delay(1000);

}

Posted by RDIoT
|

Classic Arcade Joystick Red Ball 4/8 Way [S207]




https://www.youtube.com/watch?v=Shmmq90OTmY


*GitHubhttps://github.com/rdiot/rdiot-s207.git



* Specs

Color: Red

Top Ball Diameter: Approx. 35mm

Total Size: Approx. 95x60x100mm


Features

Brand new and high quality.

8 way operation.

Fits metal control panels.

Easy to operate, with high sensitivity.

You can use it to DIY your own Arcade game machine.



* Contents

8 Way Basic Test


- Connect

TOP ----> D2 // UP

BOTTOM ---> D3 // DOWN

RIGHT ---> D4 // LEFT

LEFT ---> D5 //RIGHT


- Key Code

void setup() {

  Serial.begin(9600);

  pinMode(2, INPUT_PULLUP); // UP

  pinMode(3, INPUT_PULLUP); // DOWN

  pinMode(4, INPUT_PULLUP); // LEFT

  pinMode(5, INPUT_PULLUP); // RIGHT 

 }

 

void loop() {


  int up = digitalRead(2);

  int down = digitalRead(3);

  int left = digitalRead(4);

  int right = digitalRead(5);

 

  Serial.print("up(D2)="+(String)up);

  Serial.print(" down(D3)="+(String)down);

  Serial.print(" left(D4)="+(String)left);

  Serial.println(" right(D5)="+(String)right);

  Serial.println();

 

  if(up == LOW && left == LOW) 

  {    

    Serial.println("Location ==========> UP + LEFT     ");

  }

  else if(up == LOW && right == LOW)

  {

      Serial.println("Location ==========> UP + RIGHT    ");

  }

  else if(down == LOW && left == LOW)

  {

      Serial.println("Location ==========> DOWN + LEFT    ");

  }

  else if(down == LOW && right == LOW)

  {

      Serial.println("Location ==========> DOWN + RIGHT     ");

  }

  else if(up == LOW)

  {

      Serial.println("Location ==========> UP             ");

  }

  else if(down == LOW)

  {

      Serial.println("Location ==========> DOWN             ");

  }

  else if(left == LOW)

  {

      Serial.println("Location ==========> LEFT             ");

  }

  else if(right == LOW)

  {

      Serial.println("Location ==========> RIGHT            ");

  }

  delay(200); 

 

}



'2) Sensor > Joystick' 카테고리의 다른 글

XY-axis Joystick Module (KY-023) [S056]  (0) 2016.09.12
Posted by RDIoT
|