16
คํานํา คํานํา คํานํา คํานํา ภายใตแนวคิดบอรดพัฒนาที่จะตองอเนกประสงค ครอบคลุมทุกการใชงาน ใชงาย สวยงาม และทน จะตองอเนกประสงค ครอบคลุมทุกการใชงาน ใชงาย สวยงาม และทน จะตองอเนกประสงค ครอบคลุมทุกการใชงาน ใชงาย สวยงาม และทน จะตองอเนกประสงค ครอบคลุมทุกการใชงาน ใชงาย สวยงาม และทน เปนโจทยที่คอนขางยาก(มาก) ผูจัดทําไดใชความพยายาม วิริยะ อุตสาหะเปนอยางยิ่ง ในการสรางสรรคผลงาน ชิ้นนี้ จึงมีการปรับปรุงแกไขอยูหลายครั้ง และเปลี่ยนแปลงจุดเล็กจุดนอยอีกหลายตอหลายจุด จนกระทั่งไดผลงาน เปนที่หนาพอใจ ซึ่งก็คือ Duino Big Brother Duino Big Brother Duino Big Brother Duino Big Brother ที่ไดอยูในมือของทาน ซึ่งขณะนี้ก็เปนรุนที่ 3 แลว (Rev.3) Duino Big Brother Duino Big Brother Duino Big Brother Duino Big Brother คือบอรดพัฒนา Microcontroller ตระกูล AVR ที่สามารถตอบโจทยการใชงานได คอนขางมาก โดยตัวบอรดสามารถรองรับ ATmega ไดหลายขนาด ทั้งแบบ 28 ขา และ แบบ 40 ขา ทําให พัฒนางานไดทั้งขนาดเล็กและใหญ นอกจากนี้ยังมีการจัดเรียงขาอยางชาญฉลาด จึงสามารถพัฒนาแบบ Arduino ไดดวย ที่สําคัญยังมีสวนของพอรต “BitBang “BitBang “BitBang “BitBang” ทําใหสามารถเบิรน MCU ไดโดยไมตองเรียกหาเครื่องเบิรน ภาย นอกแตอยางใด จึงครบถวนคําวา “ครอบคลุมทุกการใชงาน ครอบคลุมทุกการใชงาน ครอบคลุมทุกการใชงาน ครอบคลุมทุกการใชงาน” สําหรับคําวา “ใชงาย ใชงาย ใชงาย ใชงาย” นั้น เปนเรื่องของการพยายามออกแบบ โดยเนนใชอุปกรณที่เพิ่มความสะดวก สบายตอการใชงาน เชน ยกเลิกการใช Jumper แตใชสวิตชเลื่อนแทน, การออกแบบใหใชคอนเนคเตอรที่หางาย, การแถมสาย USB หนังสือคูมือ หนังสือสรุปการเขียนโปรแกรม Arduino และขั้วคอนเนคเตอรสําหรับจายไฟ เขา มาในชุดผลิตภัณฑมาตราฐานดวยเปนพื้นฐาน จึงครบถวนนิยามคําวา “ใชงาย ใชงาย ใชงาย ใชงาย” ไดอยางลงตัว สุดทายคําวา “สวยงาม และทน สวยงาม และทน สวยงาม และทน สวยงาม และทน” โดยหลักการคือ เนนใชอุปกรณที่มีขนาดไมสูง เพื่อที่จะสามารถใส กรอบ (Case) อะครีลิคไดงาย กอใหเกิดความสวยงามนาใชตามมา และเมื่อมีกรอบแลว ก็ทําใหปองกันการ กระแทก ฝุนละออง ความชื้นไดเปนอยางดี และดวยเปนบอรดทดลอง ดังนั้นในกรณีที่มีปญหาตองซอมแซม ก็ สามารถทําไดโดยงายเพราะอุปกรณหาไดงายทั่วไป ผลประโยชนที่ตามมาก็คือ “การใชไดนาน การใชไดนาน การใชไดนาน การใชไดนาน” นั่นเอง ดวยเหตุขางตนทั้งหมด Duino Big Brother Duino Big Brother Duino Big Brother Duino Big Brother จึงเปนบอรดพัฒนาตระกูล AVR ที่คุมคาที่สุดในขณะนีและเปนบอรด “อเนกประสงคอยางแทจริง อเนกประสงคอยางแทจริง อเนกประสงคอยางแทจริง อเนกประสงคอยางแทจริง” จึงเหมาะสําหรับทานที่ “หนาตาดี มีสมอง มองการณไกลเชนคุณ หนาตาดี มีสมอง มองการณไกลเชนคุณ หนาตาดี มีสมอง มองการณไกลเชนคุณ หนาตาดี มีสมอง มองการณไกลเชนคุณ” จากใจ จากใจ จากใจ จากใจผูจัดทํา ผูจัดทํา ผูจัดทํา ผูจัดทํา DuinoThumb.com DuinoThumb.com DuinoThumb.com DuinoThumb.com

Duino Big Brother Dev Board AVR 3 in 1

  • Upload
    doduta

  • View
    230

  • Download
    1

Embed Size (px)

DESCRIPTION

duino

Citation preview

  • () Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother 3 (Rev.3) Duino Big Brother Duino Big Brother Duino Big Brother Duino Big Brother Microcontroller AVR ATmega 28 40 Arduino BitBangBitBangBitBangBitBang MCU Jumper , , USB Arduino

    (Case)

    Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother AVR

    DuinoThumb.comDuinoThumb.comDuinoThumb.comDuinoThumb.com

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    2

    3

    Arduino 4

    Arduino 5

    Duino Big Brother 5

    Duino Big Brother 6

    Duino Big Brother 8

    Duino Big Brother 9

    Duino Big Brother 10

    firmware (ISP Burnner Self Programming) 11

    ATMega32 Arduino IDE 14

    Project 15 o - 32 o - Web Server

    16

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    3

    Duino Big Brother (Rev.3) Duino Big Brother (Rev.3) Duino Big Brother (Rev.3) Duino Big Brother (Rev.3) AVR AVR AVR AVR 3 in 1 3 in 1 3 in 1 3 in 1

    AVR AVR AVR AVR AVR AVR AVR AVR Arduino Arduino Arduino Arduino 28 28 28 28 40 40 40 40 Burn Program Burn Program Burn Program Burn Program

    AVR AVR AVR AVR

    Desktop Hardware

    (Embedded) I/O Register Assembly C Microcontroller Register Microcontroller port

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    4

    Arduino Arduino Arduino Arduino Hernando Barragan

    (Architecture and Design) Universidad de Los Andes Wiring (http://www.wiring.org.co) Microcontroller AVR ATMega128 opensource library

    Wiring Microcontroller SMD Wiring Microcontroller

    (Bridge) interface Hardware 3 10,000 (), 2 , 170,000 ( ), link 35,000 PIC,ARM 50,000

    Arduino Arduino Arduino Arduino

    (((( Arduino Classic Arduino Classic Arduino Classic Arduino Classic Nicholas Zambetti http://www.Arduino.cc) Nicholas Zambetti http://www.Arduino.cc) Nicholas Zambetti http://www.Arduino.cc) Nicholas Zambetti http://www.Arduino.cc)

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    5

    Arduino (http://www.Ard Arduino (http://www.Ard Arduino (http://www.Ard Arduino (http://www.Arduino.cc)uino.cc)uino.cc)uino.cc) Microcontroller (Programmer Tools) Arduino platform Arduino (Firmware) BootLoader AVR Serial port (Flash) AVR Firmware Arduino AVR Serial Port notebook Serial Port USB FT232 USB Serial (USB to Serial Converter) Arduino USB port Arduino port USB

    Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother Arduino Open Platform Wiring Arduino Microcontroller AVR ATMega8 8K ATMega168 ( 16K) ATMega328 ( 32K) 3 DIP 28 ( Arduino ATMega8 28 ) Arduino Serial Port AVR Firmware Arduino AVR (Core) Firmware AVR ATMega32/644 Arduino Firmware AVR AVR AVR Arduino Duino Duino Duino Duino Big BrotherBig BrotherBig BrotherBig Brother

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    6

    ............

    Duino Big Brother Duino Big Brother Duino Big Brother Duino Big Brother (Rev.3)(Rev.3)(Rev.3)(Rev.3) AVR AVR AVR AVR ---- Arduino Arduino Arduino Arduino case microcontroller AVR DIP 40 DIP 28 Arduino - USB USB USB USB Arduino MegaMegaMegaMega Arduino Mega - Jumper Jumper Jumper Jumper power USB External Power Duino Big Brother switchswitchswitchswitch - DC DC DC DC connector connector connector connector

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    7

    - Reset Reset Reset Reset case - Microcontroller Microcontroller Microcontroller Microcontroller AVRAVRAVRAVR 28 28 28 28 40 40 40 40 Arduino Microcontroller 2 - Arduino Arduino Arduino Arduino + + + + Arduino Arduino Arduino Arduino MEGAMEGAMEGAMEGA Shield Arduino !! - port ISPport ISPport ISPport ISP 2 DIP 28 DIP 40 ---- port JTAGport JTAGport JTAGport JTAG Debug DIP 40

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    8

    Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    9

    Duino Big Brother Duino Big Brother Duino Big Brother Duino Big Brother Microcontroller ATmega 8/88/168/16/*32/644p

    * ATmega32 ** DIP28/40

    Operation Voltage 5V Input Voltage (Recommended) 7-12V Input Voltage (limits) 6-20V Digital I/O Pins 14 (DIP28) / 24 (DIP40) Analog Inputs Pins 6 (DIP28) / 8 (DIP40) DC Current per I/O Pin 40 mA DC Current for 3.3v Pin 50 mA Clock Speed 16 Mhz PowerPowerPowerPower

    Vin + Regulator

    5V + Vin

    3.3V + IC FT232RL

    Gnd Ground Automatic ResetAutomatic ResetAutomatic ResetAutomatic Reset Duino Big Brother Reset upload Reset USB Overcurrent ProtectionUSB Overcurrent ProtectionUSB Overcurrent ProtectionUSB Overcurrent Protection Duino Big Brother polyfuse port USB 500 mA fuse I/O Pins Arduino Standard CompatibleI/O Pins Arduino Standard CompatibleI/O Pins Arduino Standard CompatibleI/O Pins Arduino Standard Compatible Duino Big Brother Arduino AVR DIP 28 AVR DIP 40 I/O Arduino Mega ( Duino Big Brother)

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    10

    Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    (((( DuinoBig Brother) DuinoBig Brother) DuinoBig Brother) DuinoBig Brother)

    port

    A. AREF GND Digital Port 13 8 AREF GND Digital 13 Digital 12 Digital 11 Digital 10 Digital 9 Digital 8

    B. Digital Port 7 0

    Digital 7 Digital 6 Digital 5 Digital 4 Digital 3 Digital 2 Digital 1 Digital 0

    C. Digital Port 14 21 ( DIP 40 ) Digital 14 Digital 15 Digital 16 Digital 17 Digital 18 Digital 19 Digital 20 Digital 21

    D. Digital Port 22 23 (DIP 40 ) , RESET, +3.3V, +5V, GNDx2, Vin

    Digital 22 Digital 23 RESET +3.3V +5V GND GND Vin

    E. Analog Input 0 5 (7) DIP 40 Analog 0 Analog 1 Analog 2 Analog 3 Analog 4 Analog 5 Analog 6 Analog 7

    F. Port JTAG ( DIP 40 ) G. ISP 1 DIP 28 H. ISP 2 DIP 40

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    11

    firmware firmware firmware firmware (ISP Burnner Self Programming)(ISP Burnner Self Programming)(ISP Burnner Self Programming)(ISP Burnner Self Programming) MCU () Duino Big Brother

    (((( BitBang) BitBang) BitBang) BitBang)

    IC FT232RLFT232RLFT232RLFT232RL Arduino port USB Serial BitBangBitBangBitBangBitBang X3 PC FT232 CTS#, DSR#, DCD#, RI# FT232 Microcontroller X3 PinX3 PinX3 PinX3 Pin FT232FT232FT232FT232 Duino PinDuino PinDuino PinDuino Pin 1 11 / CTS# MISO 2 9 / DSR# SCK 3 10 / DCD# MOSI 4 6 / RI# Reset

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    12

    (((( BitBang BitBang BitBang BitBang ISP 1ISP 1ISP 1ISP 1 DIP 28DIP 28DIP 28DIP 28 ))))

    (((( BitBang BitBang BitBang BitBang ISP 2ISP 2ISP 2ISP 2 DIP DIP DIP DIP 40 40 40 40 ))))

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    13

    MCU AVRDUDEAVRDUDEAVRDUDEAVRDUDE----SerJtagSerJtagSerJtagSerJtag CD

    (((( AVRDudeAVRDudeAVRDudeAVRDude----SerJtag SerJtag SerJtag SerJtag BitBang) BitBang) BitBang) BitBang)

    (i) PATH avrdude.exe (ii) BitBang (iii) AVR Port (iv)

    () FuseBit

    (((( FuseBit FuseBit FuseBit FuseBit ))))

    Erase Write Verify FuseBit Write Fuse

    TIPS : Arduino Atmega 32 ATmegaBOOT_168_atmega32.hex Fusebit High-Lo = 0xDA, 0xFF

    Arduino Firmware MCU Mega8/168/328 http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    14

    ATMega32 ATMega32 ATMega32 ATMega32 Arduino IDE Arduino IDE Arduino IDE Arduino IDE platform Arduino

    BootLoader AVR (.Hex ) BootLoader AVR Arduino

    Register library ( ATMega8/168/328) ATMega 16/32/644 Register ( Register ) Compiler Directive core Library Register library Register CD copy \arduino-00xx\hardware\cores\arduino\ Arduino IDE Duino Big Brother

    Big Brother Arduino IDE 1. arduino-mega32-644-mod.zip copy \arduino-

    00xx\hardware\cores\arduino\ 2. \arduino-00xx\hardware\boards.txt ############################################################## atmega32.name=DuinoBig Brother 16Mhz atmega32.upload.protocol=stk500 atmega32.upload.maximum_size=30720 atmega32.upload.speed=19200 atmega32.bootloader.low_fuses=0xFF atmega32.bootloader.high_fuses=0xDA atmega32.bootloader.path=atmega atmega32.bootloader.file=ATmegaBOOT_168_atmega32.hex atmega32.bootloader.unlock_bits=0x3F atmega32.bootloader.lock_bits=0x0F atmega32.build.mcu=atmega32 atmega32.build.f_cpu=16000000L atmega32.build.core=arduino ##############################################################

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    15

    Project Project Project Project CD

    1. 32 Arduino pin Digital Write Duino Big Brother

    ** : Duino Big Brother Atmega32 Firmware (Q.C.)

    2. Duino Webserver Server 4 IC ENC28J60

    Library SPI 4 compile Upload Source Code

  • Duino Big BrotherDuino Big BrotherDuino Big BrotherDuino Big Brother

    http://www.Duinothumb.com

    16

    URL : http://www.DuinoThumb.com Email : [email protected]