DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

VS1838B 查看數據表(PDF) - Unspecified

零件编号
产品描述 (功能)
生产厂家
VS1838B
ETC1
Unspecified ETC1
VS1838B Datasheet PDF : 5 Pages
1 2 3 4 5
Schematic Diagram:
How to Test:
1. Connect your Arduino microcontroller to the computer.
2. Connect the VCC pin of your module to the to the 5V pin of your Arduino.
3. Connect the GND pin of your module to the GND pin of your Arduino.
4. Connect the Output pin of your module to the A0 pin of you Arduino.
5. Enter this program to your Arduino Integrated Development Environment (IDE):
boolean STATUS = false;
void setup()
{
Serial.begin(9600);
}
void loop()
{
while (digitalRead(A0))
{
if (STATUS) Serial.println("ON");
else Serial.println("OFF");
delay(100);
}

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]