TOP

Seeeduino v3.0

From Wiki 来自痴汉的爱
Jump to: navigation, search


Seeeduino v3.0 top.jpg


Contents

Introduction

Seeeduino is an Arduino compatible board. It is based on the Duemilanove schematic, 100% compatible to its existing program, shield and IDEs. On the hardware design, remarkable changes are taken to improve the flexibility and user experience.
(Seeeduino是一款几乎与Arduino功能一样的兼容性开发板。它内置ATmega328芯片,配合FTDI的转串口芯片,便能通过USB口与PC机进行通信。Seeeduino的排针接口与Arduino是一样的类型,让其他能与Arduino开发板使用的外围设备,也能与Seeeduino一起使用。Seeeduino拥有14个数字接口和8个模拟接口,并且数字接口中包含6个pwm引脚及1对串口引脚。Seeeduino板上拥有两个拨动开关,其中一个为ATmega328芯片的输入电压切换开关,方便用户选择3.3v或5v作为芯片的输入电源;另一个为DTR开关,方便用户使用板载FTDI功能而不受ATmega328芯片影响。同时,Seeeduino还配置两个Grove端口,方便Grove产品与Seeeduino直接使用。除此之外,Seeeduino上还配置了一个外接直流电源接口。)

Features

  • I2C and Serial Grove connector.
  • miniUSB and DC Jack.
  • Inherits all of Arduino Duemilanove's features.
  • Compatible to Duemilanove's pin layout, screw hole and dimensions.
  • Evolved with SMD components.
  • Improved on extensibility and convenience.


  • FTDI function

Seeeduino配置了一颗USB转串口芯片,通过这颗芯片,Seeeduino便能通过mini USB端口实现与PC机的通信。

Seeeduino FTDI.png


此外FTDI芯片的主要引脚都已经被引出到板上,方便用户连接。

Seeeduino FTDI pinout.png

更多关于FTDI的信息,请查阅FTDI官网

  • Breakout

Seeeduino的控制芯片采用的是ATmega328,芯片的引脚都被引出到了排针上。

Seeeduino pinout.png

ATmega328一共有14个数字引脚被引出到板上,分别为D0~D13。用户在Arduino平台环境下操作这些数字引脚,将会非常方便。这些数字引脚能很简单的被定义,并进行读写。pinMode()digitalWrite()digitalRead()。这些引脚还能作为软串口与其他设备进行通信,关于软串口功能可查询SoftwareSerial
--D0和D1还是AVR芯片的串口引脚,D0为RX引脚,D1为TX引脚。
--14个数字引脚里面还包含了6个pwm波引脚,分别为D3,D5,D6,D9,D10,D11。关于pwm波引脚的使用,可参考PWM指南
--其中,10~13号引脚也是SPI引脚。10(SS),11(MOSI),12(MISO),13(SCK)。使用SPI引脚时可以直接使用Arduino平台自带的SPI库
--Seeeduino板上有一颗发光二极管L,默认已连接到13号数字引脚。通过数字写,就可控制L灯的亮灭。
ATmega328有8个模拟端口被引到板上,分别为A0~A7。对于这些模拟端口,用户也可调用函数就可直接使用。

Specifications

Microcontroller Atmel ATmega328 (AVR 8-bit) in TQFP-32 package
Operating Voltage 5V or 3.3V (choice by slide switch)
miniUSB Input Voltage 5V. Maximum is 5.5V.
DC Jack Input Voltage 7V to 12V (lower is preferred). Maximum is 20V. If input lower than 7V and switch set to 5V, then VCC at AVR is about 2V below the input.
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 8 (of which 2 are used for I2C communication - PC4 and PC5)
Flash Memory 32 KB
SRAM 2 KB
EEPROM 1 KB
Clock Speed 16 MHz


More about Seeeduino

Power

Seeeduino can be powered through USB or DC Jack connector. If you use USB to power it, the input voltage should be regulated 5VDC, like a computer or a USB wall adaptor. On the other hand, when you choose DC Jack, which should be a 2.1mm center-positive plug with 5.5mm outer hole. DC power input should be 7-20V, however, as a result of overheat from a higher input voltage, 7-12V is recommended.

Headers

There are 14 digital IO pins and 8 analog pins on Seeeduino. Six of the digital IO pins can be used as PWM outputs. All the pins of Seeeduino are wired to 2.54mm spaced headers, including power pins, analog inputs and digital IO pins.
Power pins

  • “VIN” acts as an input voltage, which should be equal to the voltage of power input from DC Jack.
  • “5V” outputs a regulated 5V from the regulator on the board. This pin also goes to the Vcc of the microcontroller.
  • “3.3V” is generated by a regulator converting 5V to 3.3V.

Note: If you supply an input through 5V or 3.3V, it may damage your board.

Analog inputs
There are six analog pins on the analog header, labeled A0 through A7. Each pin can provide 10 bits of resolution. This means that an analog input between 0V and 5V can be mapped to 0 to 1024. You can use analogRead() to get the value from an analog input.

  • I2C: A4(SDA)&A5(SCL). Seeeduino can generate a bus clock to control its slave I2C device with a specific address. Grove I2C also connects to A4&A5.

Digital IO pins
Seeeduino has 14 digital IO pins, which work at 5V level. The input or output can be controlled by using pinMode(), digitalRead() and digitalWrite(). Each of them can hold up to 40 mA current.

  • LED: It is controlled by D13, labeled as “L”.
  • PWM: Digital 3, 5, 6, 9, 10, and 11. Pulse Width Modulation, is a technique for getting analog results with digital means. It can be generated by using analogWrite(), with an output of a series of repeated HIGH and LOW pulse signals. The PWM frequency of Seeeduino is about 500Hz.
  • Serial: D0(RX)&D1(TX). It can be used to receive and transmit TTL serial data. These two pins have been connected to FTDI chip, which makes a direct communication between your computer and peripheral devices.

Grove Serial also comes from D0&D1 directly.

  • SPI:
MISO (D12) VCC
SCK(D13) MOSI(D11)
Reset GND

需要图片


LEDs

  • User LED with "L" label. It is connected to ATmega328P PB5/SCK pin (Digital header pin 13).
  • Reset LED with "RST" label. It is connected to ATmega328P PC6/RESET pin. It is lite when Reset is low.
  • Power LED with "PWR" label. It is always on. It is connected to ATmega328P VCC pin.
  • Transmit LED with "TX" label. It is connected to FT232RL CBUS1 pin.
  • Receive LED with "RX" label. It is connected to FT232RL CBUS0 pin.

FAQ

Here is the Seeeduino FAQ, now the version is v3.0, users can list the Frequently Asked Questions here, example as below:

How do I configure the Arduino IDE?

Answer: Set M_RST_AUTO switch to "AUTO", then choose the board name in the Arduino IDE.

  • In Arduino v1.0.4 host software, choose board name "Arduino Duemilanove w/ ATmega328".
  • In Arduino v1.5.2 host software, choose board name "Arduino Duemilanove or Diecimila".

What is the purpose of the M_RST_AUTO switch?

Answer: This determines whether the DTR signal from the host is allowed to reset the ATmega328 microcontroller.

  • Set to "AUTO" for Automatic mode, which allows the host to reset the microcontroller using the DTR signal to automatically reset the microcontroller. Note: This position is required during development, thus it will be the default position for most people.
  • Set to "M" for Manual mode, which disables the DTR signal from the host, thus requiring the user to physically press the RESET button to reset the microcontroller.

Version Tracker

Revision Descriptions Release Date
Seeeduino V0.9 Initial public release
Seeeduino v1.1
  1. Fixed bug - unnessesary via on Pin4 wire.
  2. Fixed bug - Lable mistakenly covered by switches.
  3. Added I2C and sensor port.
  4. Added an 100uF capacitor for vcc switch.
  5. Grouped new 100mil grid pins.
  6. Replaced reset buttons with metal ones.
  7. Rearranged texts and lables for clearer indications.
Seeeduino v2.12
  1. Zero external power consumption when switched off
  2. Stronger Switches
  3. Second power supply for 5V direct input. [Caution] USE 5V ONLY!
  4. 150mA driver capacity under 3.3V
  5. 1.0mm slim PCB for lighter weighs
  6. Extra row reserved for pin headers
Seeeduino v2.2
  1. USB/EXT power auto select
  2. Upgrade power capacitor
  3. Clean up layouts
  4. Reset easier
  5. Real Quartz Crystal
  6. Extern power Diode change to 1N4004(more power on Vin pin)
Dec 16, 2010
Seeeduino v2.21
  1. Upgraded to Stronger mini USB connector.
Jan 12, 2011
Seeeduino v3.0
  1. change JST connector to DC Jack connector
Jan 1, 2012

Bug Tracker

Bug Tracker is the place you can publish any bugs you think you might have found during use. Please write down what you have to say, your answers will help us improve our products.

  • The mini-USB connector can break off the board very easily if you apply sidewise force while a mini-USB cable is connected. Consider using an extension USB cable and refrain for plugging/unplugging the mini-USB cable to/from the Seeduino board very often.

Resources

How to buy

Here to buy Seeeduino v2.21 (Atmega 168P) and Seeeduino v3.0 (Atmega 328P) on SEEED Bazaar.

External Links

  • Howo to get started with Seeeduino

  Seeeduino is based on Arduino design, very similar to Arduino. For informations of usage, see the tutorial on Arduino website. 

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Navigation
Collections
Toolbox