- EOL
Attention! The product has been discontinued. Check other products in category. |
Description
WiDo is compatible with Arduino, it has, known from Leonardo, the ATmega32u4 microcontroller. This means, that it can be programmed viathe Arduino IDEusing available libraries. The so-calledArduino Shields will also work with the DFRobot module.
The plate contains a wi-fi WG1300 chipwith built-in antenna, which provides a communication with the wireless network wi-fi 2.4 GHz IEEE 802.11 b/g. In addition, the board has a socket for microSD memory cards. Both systems communicate with the main ATmea32u4 microcontroller via the SPI interface.
Connection
Built-in wi-fi system and memory card communicate via the SPI interface using leads:
Wi-fi | SD | WiDo | Description |
---|---|---|---|
MOSI | MOSI | D16 | SPI data line. |
SCK | SCK | D15 | The SPIclock line. |
MISO | MISO | D14 | SPI Data line. |
CS | - | D10 | Select device - chip select. |
- | CS | Select device - chip select. | |
VBAT | - | D5 | The line activating the battery power, by default, it is pulled-up to the mass. Read more ondiagram(line VBAT_SW_EN). |
IRQ | - | D7 | External interrupts |
A detailed description of the connection is inthe user guide, the manufacturer also providesa library for the Arduinoincluding the sample program.
In order to start WiDo, you need to connect the system to the computer usingthe microUSB cableand choose inthe Arduino IDE, the Arduino Leonardo board. |
Microcontroller
The board contains an ATmega32u4 microcontroller, equipped with 20 digital inputs/outputs, 7 of which can be used as PWM outputs (e.g. for motor control) and 12 as analog inputs. The system works with the clock signal with the frequency of 16 MHz. The module has also a USB connector, DC power socket, RESET button, and the leads used to connectthe AVR programmer.
DFRobot company introduced colored connectors that facilitate the identification of the leads:
- red- power pins,
- blue - analog pins
- green- digital pins.
Power
The module can be powered via microUSB cable and an external device, for example, the AC adapter, the battery or the rechargeable battery. Switching power sources is automatic. The power supply is connected to a standard DC connector. Rechargeable battery or other source should be connected to the pins of the POWER connector.
Programming
Creating and installing the software is allowed by the free environment of the Arduino IDE. Implemented bootloader allows you to send the program directly via USB cable. ISCP connector enables connection of an external AVR programmer. A detailed description can be found in the documentation and tutorial.
Specification
- Supply voltage: 7 V to 12 V
- Leads operate at a voltage of 5 V
- Compatible with Arduino Leonardo
- Installed chip wi-fi WG1300 (documentation)
- Supports 2.4 GHz IEEE 802.11 b/g
- Communication via SPI
- Built-in slot for microSD memory card - connection via SPI
- Microcontroller: ATmega32u4
- Maximum clock frequency: 16 MHz
- SRAM: 2.5 KB
- Flash memory: 32 KB (4 KB is reserved for bootloader)
- EEPROM: 1 KB
- I/O Ports: 20
- PWM outputs: 7
- Number of analog inputs: 12 (channels of A/C converter)
- Serial interfaces: UART, SPI, I2C
- External interrupts
- Connector: micro USBslot, type B (USB cable not included)
- Soldered ISP connector
- Dimensions: 72 x 55 mm