Gizduino: Arduino Compatible Kit (Atmega168 and Atmega328)

Similar documents
Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

INTRODUCTION TO SERIAL ARM

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Android Controlled Based Interface

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

SainSmart UNO R3 Starter Kit

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

UM1724 User manual. STM32 Nucleo boards. Introduction

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

PL-2303 Edition USB to Serial Bridge Controller Product Datasheet

Board also Supports MicroBridge

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

AC-PG-USBASP USBASP AVR Programmer

Lab Experiment 1: The LPC 2148 Education Board

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

ET-BASE AVR ATmega64/128

PL2303HXA/XA Windows 8 Update Driver Installation. How to Update Driver to Support PL2303HXA/XA in Windows 8 Operating Systems

Tiny Arduino Music Visualizer

Shearwater Research Dive Computer Software Manual

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Work with Arduino Hardware

Introduction. Getting familiar with chipkit Pi

STK User Guide

PL-2303 (Chip Rev H, HX, X) USB to Serial Adapter Windows Driver Installer Manual

GIE PIC K150 Programmer. User Manual

Workshop Intel Galileo Board

Guide to Installing BBL Crystal MIND on Windows 7

MAX6683 Evaluation System/Evaluation Kit

PN532 NFC RFID Module User Guide

Quick Start Guide for High Voltage Solar Inverter DC-AC Board EVM. Version 1.3

USB / Data-Acquisition Module NOW LEAD-FREE

Lab 3: PCB design with EAGLE

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

USB TO SERIAL ADAPTER

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Arduino Lesson 1. Blink

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

KTA-223 Arduino Compatible Relay Controller

Chapter 13. PIC Family Microcontroller

#include <Gamer.h> Gamer gamer; void setup() { gamer.begin(); } void loop() {

Vicon Flash Upgrade Software

Using and Installing: HCS12C32 Board, HCS12C128 Board, USB-to-Serial port driver, and HyperTerminal

BMV-602 Data Link Manual

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

Cart Interface Installation & Control Board Manual for M38 XP and RX Carts and Legacy M39 Carts

Plena Voice Alarm System Firmware update

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED

EasyPIC4 User s Manual

Testing Data Radio Modem with Serial Port Tool V1.20

Intro to Intel Galileo - IoT Apps GERARDO CARMONA

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

To begin, visit this URL:

Example Connection between USB Host and Android

User's Guide DylosLogger Software Version 1.6

USB - FPGA MODULE (PRELIMINARY)

Tutorial for MPLAB Starter Kit for PIC18F

UM1724 User manual. STM32 Nucleo-64 boards. Introduction

An Introduction to MPLAB Integrated Development Environment

EvB 5.1 v5 User s Guide


Fiery Clone Tool For Embedded Servers User Guide

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design

Select Correct USB Driver

TR-3 Channel Editor. Software Manual

User Manual. AS-Interface Programmer

Current Cost Data Cable User Guide. Installing and configuring the data cable

Introducing AVR Dragon

How to Download Images Using Olympus Auto-Connect USB Cameras and Olympus Master

STIM202 Evaluation Kit

File Management Utility. T u t o r i a l

Installing the drivers for the Current Cost Data Cable

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

Waspmote IDE. User Guide

CAN-Bus Shield Hookup Guide

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

iloq P10S.10/20 Programming device User's Guide

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

DriveRight. Fleet Management Software. Getting Started Guide. CarChip. DriveRight. Drivers. Vehicles. Product #8186

FTP-628WSL-110 Bluetooth Configuration Guide

SPROG II User Guide 1. SPROG II DCC Decoder Programmer User Guide

User Manual Network connection and Mobics Dashboard (MIS) software for Dryer Controller M720

Vinco Development Module. Datasheet

TECHNICAL SUPPORT PRODUCT WORKFLOW

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

Model 288B Charge Plate Graphing Software Operators Guide

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

USB Driver Installation for Windows XP

Windows XP.. ELITE Firmware Update procedures.. v1.41

Windows XP Manual Installation

E-Loader Operation Manual

Transcription:

Gizduino: Arduino Compatible Kit (Atmega8 and Atmega8) Hardware Manual Rev r0 e-gizmo Learn to use and program microcontroller the fast and easy way. e-gizmo s Gizduino platform kit is a single board AVR microcontroller platform based on highly popular open source Arduino design. It can be used as well with AVR s tradional programming tools. The Gizduino is a microcontroller board based on the ATmega8 and ATmega8. It has digital input/ output pins, analog inputs, a MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to- DC adapter or battery to get started. FEATURES & SPECIFICATIONS Microcontroller: ATmega8 or ATmega8 User Interface: USB Port, DC Jack, Reset Button, ICSP Port, Shield Connection Port Debbuger Port: ICSP Power Input: External:8V-V USB:V DC Power Output:.V PCB Size:.7 x. inch On-board Crystal: MHz and MHz it is an open source computing platform based on a simple input/output (I/O) board and the use of standard programming language; in otherwords, it is a tool for implementing a program you have designed. Gizduino is programmed using the IDE (Integrated Development Environment). Gizduino is ideal for beginner programmers and hobbyists because of its simplicity compared to other platforms. It is a multiplatform environment; it can run on Windows, Macintosh, and Linux. It is programmable via USB cable, which makes it more accessible and allows communication with the computer.

MAJOR COMPONENTS Gizduino: Arduino Compatible Kit Datasheet Version Figure. gizduino Microcontroller (Arduino Compatible) Illustrating its major components

PARTS & PINS DESCRIPTION Gizduino: Arduino Compatible Kit Datasheet Version Table. JP,JP (Digital I/O) pin assignments: No. I.D. Description AREF analog reference pin for the A/D Converter. ground. Digital I/O Digital I/O PWM OUT 0 PWM OUT / Digital I/O 7 9 PWM OUT / Digital I/O 8 8 Digital I/O 9 7 Digital I/O 0 PWM OUT / Digital I/O PWM OUT / Digital I/O Digital I/O PWM OUT / Digital I/O Digital I/O TX / Digital I/O 0 RX / Digital I/O Table. JP (Analog I/O) pin assignments: No. I.D. Description A0 Analog I/O A Analog I/O A Analog I/O A Analog I/O A Analog I/O A Analog I/O 7 A Analog I/O 8 A7 Analog I/O Table. JP (Power) pin assignments: No. I.D. Description Reset reset. +.V.V Device Power Supply V Device Power Supply ground. ground. VIN 8-V Device Power Supply Table. Available Gizduino Microcontrollers Details: Device Flash Mem. EEPROM RAM Interrupt Vector Size ATmega8PA K Bytes Bytes K Bytes instruction words/vector ATmega8P K Bytes K Bytes K Bytes instruction words/vector its a choice of ATmega8 or ATmega8 Microcontroller Figure. illustration of PWR_SEL Jumper Header, types of Power Selection

PROGRAMMING SETUP Gizduino: Arduino Compatible Kit Datasheet Version Figure. illustration on how to connect the gizduino to PC. To begin, attach first the USB cable to the JP9 of the Gizduino. At this point, it would not be advisable to connect the USB to the computer immediately. Before doing so, the user must acquire the software that handles the Gizduino. Because it is a clone of the Arduino, the required software is obtainable from the Arduino website (http://www.arduino.cc/en/main/software) and is called the Arduino IDE. At the time of the writing of this manual the latest version of the Arduino IDE is 00 (whose file size is around 8. MBs). When the fileis successfully downloaded the user will notice that it takes the form of a ZIP file. As such, one needs to extract or uncompress it first. There are many ZIP file programs found over the internet if the computer is not able to recognize the ZIP file, as a suggestion to this is one of the good ZIP file programs WinRAR. Once extracted, we strictly recommend that the user does not make any changes to the internal structures and directories of the files within the extracted Arduino IDE folder (such as file names). This is because the program is written to find whatever data it requires according to exactly how the files are initially named and arranged. Changes made to these files and directories would cause confusion with the running program and will lead to errors.

ARDUINO IDE SETUP Gizduino: Arduino Compatible Kit Datasheet Version At this point, the user may now connect the free-end of the USB cable to one of the USB ports of the computer. Most computers will normally not be able to recognize the newly created Gizduino-to-PC USB connection initially. This is caused simply by the lack of the proper driver that handles the recognition of the hardware by the computer. The driver required by the Gizduino-to-PC connection is the PL-0 USB-to-Serial driver (downloadable at http://www.prolific.com.tw/eng/downloads.asp?id=). When the driver is first obtained it comes in the form of a ZIP file, as such the user must extract it first. After extraction is done, run the PL0_Prolific_DriverInstaller executable file to initiate the driver installation process, there will be a brief appearance of a loading window (Install Shield Wizard) before the introductory window prompt appears. The succeeding page will just inform the user that the installer will install the PL-0 driver, simply continue by clicking on Next >.

ARDUINO IDE SETUP Gizduino: Arduino Compatible Kit Datasheet Version The next page would appear like this. The installer will immediatly install the driver into the computer system. The installation progress will be displayed as a loading bar which will span a duration of about 0 to 0 seconds to complete. There is the chance occurence that even after the loading bar has finished and the window has minimized, the program itself might seem not to respond. This peculiar effect is normal, and usually resolves itself within around 0 seconds. If it takes more than around minutes, end the program using task manager and repeat the process again, or repeat it after restarftng the computer. If all goes well, the complefton page will appear. Now that we have accomplished the preliminary driver setup, we are left with the setup of the programming application Arduino IDE.

ARDUINO IDE SETUP Gizduino: Arduino Compatible Kit Datasheet Version Before the Arduino IDE program can communicate with the Gizduino module, the user must first set the number of the COM port assigned to the USB cable. To identify as to which COM port the USB cable is currently attached to, open Start, then the Device Manager. Amongst the great list of devices present in the computer, one should find the Ports category. Expanding on this category scrolls down the list of COM ports under use. The COM port the user should take note of is that which is labeled Prolific USB-to-Serial Comm Port (COM9). This is the COM port where the Gizduino module is attached to. As an example, we will use COM9 as shown in the figure above. The user at this point is urged to finally open the Arduino IDE program now that we have the COM port number assigned to the Gizduino module! To open the Arduino IDE, navigate to the folder extracted from the ZIP file previously mention. Upon opening the folder named arduino-00 by default, search for the file that is highlighted in figure below.

ARDUINO IDE SETUP Gizduino: Arduino Compatible Kit Datasheet Version Double-click on the file to execute the Arduino IDE (Integrated Development Environment) program proper. This is where all the programming codes and instructions are made and uploaded unto the Gizduino module. These written instructions or program codes are referred to by the -duino community as Sketches and shall here be also called as such. The Arduino upon execution will at first present a small loading screen and then proceed to the program itself. The user is here advised to hold all urge to hastily play around with the program as there are still two necessary prerequisites to complete in order to ensure that the user s creations here are communicated to the Gizduino. To do this, go to and click the option Tools found at the menu bar just below the top bar of the program window. Once there, a small list will drop down. Notice that there will result a small amount of lag before the list is scrolled down, and that during this lag the D (orange LED) blinks briefly. This is a good sign that the program bears some communication to the COM ports. Of primary concern are the two options found with the list are Board and Serial Port. First, place the mouse cursor over the Serial Port option to open another short list to its right. The list will display various COM ports under use by the computer. We now assign the COM port that we earlier took note of at the Device Manager Window, which is COM9. Once the COM9 choice is selected, the Tools list window will close. If the user will go to the Serial Ports option again, the COM9 choice should have a check mark beside it. We now turn to the Board option which is again found under the Tools menu. Opening the Board sub-list, we will encounter a window with a list of different models and versions of the Arduino modules such as the Arduino Uno or the Arduino Mega. The Gizduino module is modeled after the Arduino Diecimila with the ATmega8. As such, select the Arduino Diecimila, Duemilanove, Nano w/ ATmega8, Nano w/ ATmega8.

ARDUINO IDE SETUP Gizduino: Arduino Compatible Kit Datasheet Version

BASIC PROGRAM SKETCHING Gizduino: Arduino Compatible Kit Datasheet Version For the user with little to no knowledge at all with the C - based programming language, amongst the best ways to learn is to observe and analyze a simple existing working program code. In the Arduino IDE we will find such simple works as sample file in the program. To access these sample program codes, while on the Arduino IDE click on the File menu to open a sub-list of other options. Some of these options have the basic program operations such as New ; which creates a new blank document, and Open... ; which allows the program to open an already existing document. The user will also see an Examples category, and if the mouse cursor is placed on it, another list under it will appear containing the different kinds of sample codes made available to the user.it is highly recommended for those users who are new to the Arduino/Gizduino modules to first open samples under the.basics option (It is common for new timers to use the blinking LED program code as a learning basis for coding).

UPLOADING CODES Gizduino: Arduino Compatible Kit Datasheet Version While it is beyond the scope of the manual to discuss in greater detail on the subjects about the Gizduino code programming, the user may wish to instead visit the e-gizmo official website (http://e-gizmo. com/wordpress/) and the Arduino official website learning page (http://arduino.cc/en/tutorial/homepage). Both these websites offer tutorials regarding programming in the Arduino IDE and the programming tutorials available at the Arduino page offer codes ranging from the simple and basic to the more complex and advanced levels. However, there are some differences between the Arduino and the Gizduino board, and those who wish to learn basic code compatible with a Gizduino module should start of at the e-gizmo Gizduino tutorial web pages (such as http://e-gizmo.com/wordpress/?p=9). Another indispensible page found at the Arduino website is the References page (http://arduino. cc/en/reference/homepage). It is the web page where most of the important and common language codes recognized and used by the Arduino IDE are given description. Users are encouraged to have this page open whilst they are along the analysis of a sample codes. Doing so will provide easier understanding of workings of a given code. For the users who have inquiries about the Gizduino whose answers lie beyond that which was provided in the web pages suggested above, they are encouraged to register at the e-gizmo technical blog/forum section (http://e-gizmo.com/wordpress/) and post their inquiries and curiosities there. The Arduino forum webpage is also good for those who have their questions or ideas about the Arduino technologies (http://www.arduino.cc/cgi-bin/ yabb/yabb.pl). UPLOADING CODES TO GIZDUINO Assuming that the user has now created a body of programming code in the Arduino IDE, it now must be uploaded to the Gizduino module. To do this, simply go to File in the Arduino IDE main menu, and select Upload to I/O Board. However, it is highly recommended that the user save the program code in order to ensure that whatever error might happen in the upload the program code is backed-up. In addition to this the user is also encouraged to practice the habit of first pretesting the body of programming before it is uploaded to the Gizduino module by selecting the Verify/Compile command found under the Sketch main menu option. The command simulates the programming code and returns any errors about the writing of the code, saving users the trouble of errors and crashes resulting for a hasty upload of an erroneous code unto the Gizduino. For gizduino and other Shields operations or manuals simply scroll down or click the Manual Selection on the Lower right of the manual s page.

PCB Board Presentation Gizduino: Arduino Compatible Kit Datasheet Version Figure. Gizduino Arduino Compatible Kit (silkscreen layout) Figure. Gizduino Arduino Compatible Kit Copper Pattern (Top Layer) Figure. Gizduino Arduino Compatible Kit Copper Pattern (Bottom Layer)

SCHEMATIC DIAGRAM Gizduino: Arduino Compatible Kit Datasheet Version JP HEADER JP 8 7 HEADER 8 JP 8 7 HEADER 8 RESET +.V VIN AREF R 70 C 00n 0 9 8 7 0 JP 8 7 HEADER 8 A7 A A A A A A A0 7 9 8 7 0 9 0 D L Figure 7. Schematic Diagram of Gizduino Arduino Compatible Kit.K R L FB R R L FB K R C 0U/V K L FB R USBVCC ATMEGAXX8 (AIN)PD7 (AIN0)PD (T)PD (T0)PD (INT)PD (INT0)PD (TXD)PD (RXD)PD0 L FB PL0 EE_DATA DP VCC VCC EE_CLK DM 0.U C 00n SHTD# VDD_V ADC7 ADC (ADC)PC (ADC)PC (ADC)PC (ADC)PC (ADC)PC (ADC0)PC0 7 +.V HEADER CTS-R CTS_N _V C C 0U/V 8 AREF AVCC A 0 AREF 8 DCD-R 0 DCD_N RESET 9 CAP 0.U DSR-R 9 DSR_N VDD 0 JP7 C9 7 8 VDD C 0.U XTAL C7 (SCK)PB (MISO)PB (MOSI)PB (SS)PB (OC)PB (ICP)PB0 7 Y MHz TRI-STATE XTAL 8 CAP R8 0K RI-R RI_N LD_MODE RESET RXD R7 0K 9 C VDD_PLL 0.U U Reset VDD_ 0.U C8 _PLL RTS-T RTS_N PLL_TEST C0 RESET 00 ICSP S R P R 0K RESET C 00n DTR-T DTR_N OSC 7 TXD OSC 8 C JP U M Y P C 7.-V 00u R 0 PWR_SEL C + 00u JP 00 + C PWR USBVCC VIN Vin VCC VCC JP8 D D U UA780KC JP9 VCC D- D+ USB-B-TYPE