Breadboard Power Supply Stick 5V/3.3V 面包板电源小板 5V/3.3V

来自Duinopeak_COM
跳转至: 导航搜索

英文

产品简介

这是一个非常简单的小板,它需要6-12V输入电压,然后输出的可选5V或3.3V稳压。所有插口都是2.54mm,为了方便的插入到面包板上。输入电源即能从DC电源插座供电,也能从小板上两个标记有+和-的插针中输入。输出端是标记的GND和VCC引脚的两个插孔。小板上有两个切换开关,其中一个是开关切换,另外一块是电压选择开关(3.3V/5V)。小板上的两对GND和VCC孔的插孔能够恰好的插入到面包板的两排电源插槽上,这样当我们的小板开始供电时,面包板的电源总线就能够为其他部分供电。



Hello world.pngArduino quickstart.jpg

特征

  • 尺寸:54.61mm*16.51mm(2.15x0.65")
  • 6-12V通过电源插座或者是2针插针(标有+ -的那个插孔)的输入电压
  • 带切换开关(打开/关闭开关)
  • 电源状态指示灯
  • 自恢复保险丝保护电源

技术参数

  • 输入电压:6-12VDC输入
  • 输出电压:5V/3.3V电压输出(切换开关选择)

应用示例


Hello world.png

下面的例子演示了如何用Puzzle- Button来开或关LED。

 //Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached to pin 2. 
 /*
 The circuit:
 * LED attached from pin 13 to ground 
 * pushbutton attached to pin 2 from +5V
 * 10K resistor attached to pin 2 from ground
 * Note: on most Arduinos there is already an LED on the board
 attached to pin 13.
 This example code is in the public domain.
 http://www.arduino.cc/en/Tutorial/Button
 */
 // constants won't change. They're used here to 
 // set pin numbers:
 const int buttonPin = 2;     // the number of the pushbutton pin
 const int ledPin =  13;      // the number of the LED pin
 // variables will change:
 int buttonState = 0;         // variable for reading the pushbutton status
 void setup() {
  // initialize the LED pin as an output:
  pinMode(ledPin, OUTPUT);      
  // initialize the pushbutton pin as an input:
  pinMode(buttonPin, INPUT);     
 }
 void loop(){
  // read the state of the pushbutton value:
  buttonState = digitalRead(buttonPin);
  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (buttonState == HIGH) {     
    // turn LED on:    
    digitalWrite(ledPin, HIGH);  
  } 
  else {
    // turn LED off:
    digitalWrite(ledPin, LOW); 
  }
 }


资源


购买

支持

如果你有什么困难或者好的点子, 你可以来我们的DuinoPeak论坛参与讨论.

外部链接

链接到外部网页将会给你提供更多应用创意,文档/数据表或软件库

视频