DFR0004

DFR0004 Datasheet


DFRduino in one Controller V1.1 SKU:DFR0004

Part Datasheet
DFR0004 DFR0004 DFR0004 (pdf)
PDF Datasheet Preview
DFRduino in one Controller V1.1 SKU:DFR0004

DFRduino RoMeo V1.1

Contents
• 1 Introduction
• 2 Specification
• 3 DFRduino RoMeo Pinout
• 4 Before you start

Applying Power Software
• 5 Romeo Configuration Servo Power Select Jumper Motor Control Pin Jumper
• 6 Tutorial Button Press Example use of Button 1-5
• 7 Dual DC Motor Speed Control Hardware Setting Pin Allocation PWM Control Mode PLL Control Mode

Introduction

RoMeo is an All-in-One microcontroller especially designed for robotics application. Benefit from Arduino open source platform, it is supported by thousands of open source codes, and can be easily expanded with most Arduino Shields. The integrated 2 way DC motor driver and wireless socket gives a much easier way to start your robotic project.

Note A. Please read this manual carefully before applying power on the device. B. Do not use this device for military or medical purpose as they are not des igned to.

Specification
• Atmega 168/328
• 14 Channels Digital I/O
• 6 PWM Channels Pin11,Pin10,Pin9,Pin6,Pin5,Pin3
• 8 Channels 10-bit Analog I/O
• USB interface
• Auto sensing/switching power input
• ICSP header for direct program download
• Serial Interface TTL Level
• Support AREF
• Support Male and Female Pin Header
• Integrated sockets for APC220 RF Module and DF-Bluetooth Module
• Five I2C Interface Pin Sets
• Two way Motor Drive with 2A maximum current
• 5 key inputs
• DC Powered or External 7V~12V
• DC /3.3V DC and External Power Output


DFRduino RoMeo Pinout

Fig1 Romeo Pin Out

The picture above shows all of the I/O lines and Connectors on the Romeo, which includes:
• One Regulated Motor Power Input Terminal 6v to12v
• One Unregulated Servo Power Input Terminal you supply regulated 4v to 7.2v
• One Servo input power selection jumper
• One Serial Interface Module Header for APC220/Bluetooth Module
• Two DC Motor Terminals Handles motor current draw up to 2A, each terminal
• One I2C/TWI Port SDA, SCL, 5V, GND
• One Analog Port with 8 analog inputs Analog input 7 will be occupied when connecting "A7"
jumper
• One General Purpose I/O Port with 13 I/O lines 4,5,6,7 can be used to control motors
• One Reset Button
• Jumper bank to Enable/Disable Motor Control

Before you start

Applying Power

Power from USB Simply plug USB cable, and the Romeo is able to work. Please notice that the USB can only supply 500 mA current. It should be able to meet the most requirements for LED lit application. However it is not enough to power DC motors or servo.

Power from Motor Power Input Simply connect the ground wire from your supply to the screw terminal labeled “GND”, and then connect the positive wire from your supply to the screw terminal labeled “VIN".

NOTE Maximum supply voltage cannot exceed 14V DC.

Software

RoMeo can be programmed by Arduino IDE 0022 and above. It can be downloaded at Arduino.cc, Please select “Arduino UNO” as the hardware.

Romeo Configuration

Servo Power Select Jumper

As most servos draw more current than the USB power source can supply. A separate servo power terminal is provided to power the servo individually. This option can be Enabled/Disabled by the Servo Power Select Jumper.

When the Servo Power Select Jumper is applied, the servo is powered by internal 5V.

When the Servo Power Select Jumper is not applied, the servo is powered by external power source.

The Romeo V1.0 uses an automatic switcher for the power source selection. When the external power source has been applied, the servo will be automatically powered by the external power instead of USB power.

Motor Control Pin Jumper

Applying the Motor Control Pin Jumpers will allocate Pin 5,6,7,8 for motor control.

Removing the jumpers will release the above Pins, and the motor controller will be disabled.

Tutorial

Button Press

RoMeo has 5 build in buttons S1-S5 Figure S1-S5 use analog input 7,
"Button Pin Map"

Function

Analog Pin 7

Button S1-S5

Fig2 Romeo Buttons

Example use of Button
char msgs[5][15] = "Right Key OK ", "Up Key OK ", "Down Key OK ", "Left Key OK ", "Select Key OK"
More datasheets: HDSP-7518 | HDSP-A108 | HDSP-N106 | 3177 | FJNS3203RBU | FJNS3203RTA | AT28BV64-30TC | AT28BV64-30SC | AT28BV64-30PC | AT28BV64-30JC


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived DFR0004 Datasheet file may be downloaded here without warranties.

Datasheet ID: DFR0004 508581