0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
DFR0221

DFR0221

  • 厂商:

    DFROBOT

  • 封装:

    -

  • 描述:

    DFROBOTLEONARDOWITHXBEESOCKE

  • 详情介绍
  • 数据手册
  • 价格&库存
DFR0221 数据手册
    DFRobot Leonardo with Xbee R3(SKU:DFR0221) Contents      1 Introduction 2 Specification 3 Leonardo Pin Out 4 Xbee Tutorial 4.1 Sample Code 5 Connection diagram Introduction DFRduino Leonardo DFRobot Leonardo with Xbee socket is an Arduino Leonardo variant processor.The Arduino Leonardo is based on the ATmega32u4 chip. It is the latest addition to the Arduino family. Compared with the earlier Arduino controllers,by using the ATmega32U4 as its sole microcontroller, allows the Leonardo to be cheaper and simpler to use.Also, because the 32U4 is handling the USB directly, code libraries are available which allow the board to emulate a computer keyboard, mouse, and more using the USB-HID protocol! Notice:This board is only supported in the latest Arduino IDE 1.0.1 or later version so you will also need to update the IDE. Specification                   Input Voltage (recommended): 7-12V Input Voltage (limits): 6-12V Microcontroller:ATmega32u4 Operating Voltage: 5V Interface: Micro USB Compatible with Arduino R3 series pin mapping Directly support Xbee and XBee form factor wifi,bluetooth and RF modules Extend D14~D16 digital pins with 5v power supply Clock Speed 16 MHz Size: 70x55x14mm Digital I/O Pins: 20 PWM Channels: 7 Analog Input Channels: 12 DC Current per I/O Pin: 40 mA DC Current for 3.3V Pin: 800 mA Flash Memory 32 KB (ATmega32u4) of which 4 KB used by bootloader SRAM: 2.5 KB (ATmega32u4) EEPROM: 1 KB (ATmega32u4) Leonardo Pin Out DFRduino Leonardo Pin Out Xbee Tutorial DFRobot Leonardo with Xbee R3 has a Xbee socket.It uses Serial1 to communicate with Leonardo. Sample Code // # Description: // It is just used to test Leonardo module // Write by Grey // Input "p" once time the led will be turn on;twice to turn off. // It is controled by Serial1 Xbee side only. but you can check the status fr om serial port. int ledPin=13; int val; int count=0; void setup() { pinMode(ledPin,OUTPUT); Serial.begin(9600); Serial1.begin(115200); me to the xbee baud rate // Xbee Serial1 port baud rate should be set the sa } void loop() { val=Serial1.read(); if(-1!=val) // read xbee Serial1 data // "-1" means no data { if('p'==val){ if(count==0)count=1; else if(count==1)count=0; } if(count==0){ digitalWrite(ledPin,HIGH); Serial.println("LED ON"); // Turn on // you can check the status from serial port . Serial1.println("LED ON"); //you can check the status from serial1 port (xbee). } else if(count==1) { digitalWrite(ledPin,LOW); Serial.println("LED OFF"); // Turn off //you can check the status from serial port . Serial1.println("LED OFF"); //you can check the status from serial1 por t(xbee). } } } Connection diagram DFRduino Leonardo With Xbee DFRduino Leonardo With Xbee                           Powered By DFRobot © 2008-2017
DFR0221
物料型号:DFRobot Leonardo with Xbee R3 (SKU:DFR0221)

器件简介: - 基于ATmega32u4芯片的Arduino Leonardo变体处理器。 - 与早期Arduino控制器相比,使用ATmega32U4作为唯一的微控制器,使Leonardo更便宜、更易于使用。 - 32U4直接处理USB,有代码库可用,允许板通过USB-HID协议模拟计算机键盘、鼠标等。

引脚分配: - 包括12C数字I/O、Micro USB、Xbee插座、ICSP接口、数字I/O & SPI接口等。

参数特性: - 推荐输入电压:7-12V,极限输入电压:6-12V。 - 操作电压:5V,接口:Micro USB。 - 与Arduino R3系列引脚映射兼容。 - 支持Xbee和XBee外形尺寸的Wi-Fi、蓝牙和RF模块。 - 数字I/O引脚:20,PWM通道:7,模拟输入通道:12。 - I/O引脚每针直流电流:40 mA,3.3V引脚直流电流:800 mA。 - 闪存:32 KB,其中4 KB由引导程序使用,SRAM:2.5 KB,EEPROM:1 KB。

功能详解: - 提供了一个示例代码,用于测试Leonardo模块,通过输入"p"来控制LED的开关。

应用信息: - 支持Xbee模块,使用Serial1进行通信。

封装信息: - 尺寸:70x55x14mm。
DFR0221 价格&库存

很抱歉,暂时无法提供与“DFR0221”相匹配的价格&库存,您可以联系我们找货

免费人工找货
DFR0221

库存:2

DFR0221
    •  国内价格
    • 1+140.53415

    库存:500