Project : Version : Date : 11/04/2016 Author : Freeware, for evaluation and non-commercial use only Company : Comments:

Size: px
Start display at page:

Download "Project : Version : Date : 11/04/2016 Author : Freeware, for evaluation and non-commercial use only Company : Comments:"

Transcription

1 Lampiran 1 Listing program dari seluruh sistem. /***************************************************** This program was produced by the CodeWizardAVR V Evaluation Automatic Program Generator Copyright Pavel Haiduc, HP InfoTech s.r.l. Project : Version : Date : 11/04/2016 Author : Freeware, for evaluation and non-commercial use only Company : Comments: Chip type : ATmega8535 Program type : Application AVR Core Clock frequency: 4, MHz Memory model : Small External RAM size : 0 Data Stack size : 128 *****************************************************/ #include <mega8535.h> #include <delay.h> #include <stdio.h> #define ADC_VREF_TYPE 0x00 unsigned int Temperature,Data,c; // Read the AD conversion result unsigned int read_adc(unsigned char adc_input) { ADMUX=adc_input (ADC_VREF_TYPE & 0xff); // Delay needed for the stabilization of the ADC input voltage delay_us(10); // Start the AD conversion ADCSRA =0x40;

2 // Wait for the AD conversion to complete while ((ADCSRA & 0x10)==0); ADCSRA =0x10; return ADCW; } void main(void) { // Input/Output Ports initialization // Port A initialization // Func7=In Func6=In Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In // State7=T State6=T State5=T State4=T State3=T State2=T State1=T State0=T PORTA=0x00; DDRA=0x00; // Port B initialization // Func7=In Func6=In Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In // State7=T State6=T State5=T State4=T State3=T State2=T State1=T State0=T PORTB=0x00; DDRB=0x00; // Port C initialization // Func7=In Func6=In Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In // State7=T State6=T State5=T State4=T State3=T State2=T State1=T State0=T PORTC=0x00; DDRC=0x00; // Port D initialization // Func7=In Func6=In Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In // State7=T State6=T State5=T State4=T State3=T State2=T State1=T State0=T PORTD=0x00; DDRD=0x00; // USART initialization // USART Baud Rate: UCSRA=0x00; UCSRB=0x18; UCSRC=0x86; UBRRH=0x00; UBRRL=0x0C;

3 // ADC initialization ADMUX=ADC_VREF_TYPE & 0xff; ADCSRA=0x82; SFIOR&=0xEF; c = 0; while (1) { Temperature = read_adc(0); while (c < 20){ Data = Data + Temperature; delay_ms(50); c++; } Temperature = Data/20; printf("%i",temperature); Data = 0; c = 0; } }

4 Lampiran 2 Listing program visual basic untuk menampilkan grafik suhu dan alarm pada PC Dim Xd(0 To 18000), Yd1(0 To 18000), Yd2(0 To 18000), Yd3(0 To 18000) As Integer Dim TIMES(0 To 18000) As String Dim j As Integer Dim Temp, x, y2, y1, L1, L2, R, S, y10, y20, y30, x0, Data As Integer Dim Sampling_Time As Single Dim oxl As Excel.Application Private Declare Function sndplaysound Lib "Winmm.dll" Alias _ "sndplaysounda" (ByVal lpszsoundname As String, ByVal uflags As Long) As Long Private Const snd_sync = &H0 Private Const snd_async = &H1 Private Const snd_loop = &H8 Private Sub Command4_Click() Timer4.Enabled = True Trace.Enabled = False Command7.Enabled = False MSComm1.PortOpen = True x = 0 Timer5.Enabled = True Grids Open "C:\Data\" + Text5 + ".DAT" For Output As #1 Private Sub Command5_Click() sndplaysound vbnullstring, snd_async Private Sub Command7_Click() Timer3.Enabled = False Set oxl = New Excel.Application Set oxlbook = oxl.workbooks.add FileName = "C:\Data\" + Text5 + ".xls" oxlbook.worksheets(1).range("a1") = " Time "

5 oxlbook.worksheets(1).range("b1") = " Temperature " oxlbook.saveas FileName For i = 2 To j oxlbook.worksheets(1).range("a" & i) = TIMES(i) oxlbook.worksheets(1).range("b" & i) = Yd1(i) Next i On Error GoTo 1 oxlbook.saveas FileName oxlbook.close 1: Private Sub Command1_Click() Close #1 Line2(5).BorderColor = &HFF0000 Line2(4).BorderColor = &HFF& Line2(2).BorderColor = &HFF0000 Grids Private Sub Command2_Click() End Private Sub Command3_Click() If MSComm1.PortOpen = True Then MSComm1.PortOpen = False Timer5.Enabled = False Timer4.Enabled = False Trace.Enabled = True Command7.Enabled = True Close #1 Private Sub Timer4_Timer() y1 = Temp * 10 Picture1.Line (x0, y10)-(x, y1), QBColor(12) 'R x0 = x

6 y10 = y1 x = x + 10 If Sampling_Time = (Timebase * 1) Then Xd(j) = x Yd1(j) = Temp / 2 TIMES(j) = Text1 j = j + 1 Sampling_Time = 0 End If Sampling_Time = Sampling_Time + 1 If x > (12000) Then x = 0 x0 = 0 Q = 568 Grids End If Private Sub Timer5_Timer() Dat = MSComm1.Input If Dat <> "" Then If (Data - Dat) < 20 Then Text2 = Dat / 2 Temp = Dat Data = Dat If Temp / 2 > 100 Then alert = "C:\ Windows \ media \" + "notify.wav" sndplaysound alert, snd_async Or snd_loop End If End If End If Private Sub Trace_Click() Timer4.Enabled = True Trace.Enabled = False

7 Command7.Enabled = False Read.Enabled = False Line2(5).BorderColor = &HFF0000 Line2(4).BorderColor = &HFF0000 Line2(2).BorderColor = &HFF& MSComm1.PortOpen = True x = 0 Timer5.Enabled = True Grids Open "C:\Data\" + Text5 + ".DAT" For Output As #1 Private Sub Form_Load() With MSComm1 If.PortOpen = True Then.PortOpen = False.CommPort = 4.Settings = "19200,n,8,1".DTREnable = True.RTSEnable = True.RThreshold = 1.SThreshold = 0 End With R = 568 x = 0 x0 = 0 y10 = 6952 Data = 70 Private Sub Timer1_Timer() Text1 = Time Private Sub Grids() Picture1.Cls Q = 568 For GRID = 1 To 17 Picture1.Line (0, Q)-(15000, Q), QBColor(3) Q = Q + R Next GRID Q = 568 For GRID = 1 To 35

8 Picture1.Line (Q, 0)-(Q, 10000), QBColor(3) Q = Q + R Next GRID Picture1.Line (0, 7952)-(15000, 7952), QBColor(9) Private Sub Timer3_Timer() Grids Timer3.Enabled = False

9 Lampiran 3 Gambar Komponen 1. Sensor Termokopel tipe K 4. Adaptor 2. Modul RS Rangkaian 3. Kabel Penghubung 6. PC

10 Lampiran 4 Gambar Alat Secara Keseluruhan

11 Lampiran 5 Rangkaian Lengkap Sistem 1 PB0 (XCK) PA0 (ADC0) 40 2 PB1 (T1) PA1 (ADC1) 39 3 PB2 (INT2 PA2 (ADC2) 38 4 PB3 (OC0) PA3 (ADC3) 37 5 PB4 (SS) PA4 (ADC4) 36 6 PB5 (MOSI) PA5 (ADC5) 35 7 PB6 (MISO) PA6 (ADC6) 34 8 PB7 (SCK) PA7 (ADC7) AREF GND AVCC PC7(TOSC2) PC6(TOSC1) PC5 ATMEGA 8535 RESET VCC GND XTAL2 XTAL1 PD0 (RXD) PD1 (TXD) PC µF/25V 16 PD2 (INT0) PC PD3 (INT1) PC PD4 (OC1B) PC1(SDA) PD5 (OC1A) PC0(SCL) PD7(OC2) PD6 (ICP1) 21 AN V PLN 220µF/25V +5V 10K 10K Modul RS485 +5V 100 ohm Monitor PC out 10K Xtal 4Mhz LM Jaringan RS485 4k7 4k7 100K 100K - + Termokopel + 5V + 5V Modul RS485 D1 GND GND + 5V

RANGKAIAN LENGKAP. Universitas Sumatera Utara

RANGKAIAN LENGKAP. Universitas Sumatera Utara RANGKAIAN LENGKAP Lampiran Program /***************************************************** This program was produced by the CodeWizardAVR V1.25.8 Professional Automatic Program Generator Copyright 1998-2007

More information

Lampiran I. Rangkaian Lengkap Alat. Universitas Sumatera Utara

Lampiran I. Rangkaian Lengkap Alat. Universitas Sumatera Utara Lampiran I Rangkaian Lengkap Alat Lampiran II Program Pada Alat /***************************************************** This program was produced by the CodeWizardAVR V2.04.9 Evaluation Automatic Program

More information

LAMPIRAN A. Universitas Sumatera Utara

LAMPIRAN A. Universitas Sumatera Utara 63 LAMPIRAN A Rangkaian Lengkap Perangkat Keras Rangkaian ini terdiri dari Rangkaian Power Supply (PSA), Mikrokontroller atmega8535, RFID Reader ID 12, Rangkaian Infra Merah Fotodioda, driver max232 dan

More information

Gambar A-1 Foto alat prototype infrared thermometer

Gambar A-1 Foto alat prototype infrared thermometer LAMPIRAN A Foto Alat Gambar A-1 Foto alat prototype infrared thermometer A-1 LAMPIRAN A A-2 LAMPIRAN A Daftar Komponen yang digunakan Komponen Aktif Nama komponen Fungsi Jumlah AVR ATMega 8535 Mikrokontroler

More information

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Reference: Microcontroller Based Applied Digital Control Dogan Ibrahim, John Wiley & Sons Ltd, 2006 Liquid Level

More information

// WRITE data to be written to EEPROM

// WRITE data to be written to EEPROM /***************************************************** This program was produced by the CodeWizardAVR V2.03.9 Evaluation Automatic Program Generator Copyright 1998-2008 Pavel Haiduc, HP InfoTech s.r.l.

More information

LAMPIRAN A FOTO Radio Control Helikopter dan Pengendalinya

LAMPIRAN A FOTO Radio Control Helikopter dan Pengendalinya LAMPIRAN A FOTO Radio Control Helikopter dan Pengendalinya Tampak Atas A-1 Tampak Depan A-2 Tampak Samping A-3 Tampak Belakang A-4 Pengendali A-5 LAMPIRAN B PROGRAM PADA MICROSOFT VISUAL BASIC 6 DAN PENGONTROL

More information

How2Use DT-AVR ATMEGA168 BMS. By: IE Team. Picture 1 The layout of DT-AVR ATMEGA168 BMS

How2Use DT-AVR ATMEGA168 BMS. By: IE Team. Picture 1 The layout of DT-AVR ATMEGA168 BMS DT-AVR ATMEGA168 BMS Application Note By: IE Team This Application Note (AN) serves as a tutorial of how to use the DT-AVR ATMEGA168 Bootloader Micro System along with its supplementary software. The layout

More information

LAMPIRAN. 1. Program Alat

LAMPIRAN. 1. Program Alat LAMPIRAN 1. Program Alat This program was produced by the CodeWizardAVR V2.03.4 Standard Automatic Program Generator Copyright 1998-2008 Pavel Haiduc, HP InfoTech s.r.l. http://www.hpinfotech.com Project

More information

// Voltage Reference: AREF pin #define ADC_VREF_TYPE ((0<<REFS1) (0<<REFS0) (0<<ADLAR))

// Voltage Reference: AREF pin #define ADC_VREF_TYPE ((0<<REFS1) (0<<REFS0) (0<<ADLAR)) 44 Lampiran 1 Listing program dari seluruh sistem. /****************************************************** * This program was created by the CodeWizardAVR V3.12 Advanced Automatic Program Generator Copyright

More information

LAMPIRAN - A. Instruksi Mikrokontroler

LAMPIRAN - A. Instruksi Mikrokontroler LAMPIRAN - A Instruksi Mikrokontroler /***************************************************** This program was produced by the CodeWizardAVR V1.25.3 Professional Automatic Program Generator Copyright 1998-2007

More information

LAMPIRAN. Program Keseluruhan Sistem Pengontrolan Level Air

LAMPIRAN. Program Keseluruhan Sistem Pengontrolan Level Air LAMPIRAN Program Keseluruhan Sistem Pengontrolan Level Air /***************************************************** This program was produced by the CodeWizardAVR V2.03.4 Standard Automatic Program Generator

More information

LAMPIRAN A FOTO ALAT

LAMPIRAN A FOTO ALAT LAMPIRAN A FOTO ALAT Gambar A.1. Gambar robot mobil dilihat dari atas Gambar A.2. Gambar robot mobil dilihat dari depan Gambar A.3. Gambar robot mobil dilihat dari samping Gambar A.4. Gambar keseluruhan

More information

LAMPIRAN A PROGRAM UTAMA ROBOT NOMOR 2

LAMPIRAN A PROGRAM UTAMA ROBOT NOMOR 2 LAMPIRAN A PROGRAM UTAMA ROBOT NOMOR 2 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: [Bioloid Premium]-Robot 2 v 2 22: 23: 24: 25: A-1 26: 27: 28: 29: 30: 31: 32: 33: 34: 35:

More information

LAMPIRAN A. Foto Alat

LAMPIRAN A. Foto Alat LAMPIRAN A Foto Alat A-1 A-2 Rangkaian Skematik PCB Sistem Monitoring Infus A-3 LAMPIRAN B Program pada Mikrokontroller AVR Atmega16...B-1 Program pada Borlan Delhpi 7.0...B-9 PROGRAM UTAMA /*****************************************************

More information

Software Design Considerations, Narrative and Documentation

Software Design Considerations, Narrative and Documentation Software Design Considerations, Narrative and Documentation Introduction The project under consideration is an automated shopping cart designed to follow a shopper around a simulated supermarket environment.

More information

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 A Listing Program Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 LISTING PROGRAM BORLAND DELPHI 7.0 Inisialisasi ==========================================================

More information

Universitas Sumatera Utara

Universitas Sumatera Utara 55 Lampiran 1. Konfigurasi Program Menghitung Data Komputer (Bahasa C) pada Mikro /******************************************************* This program was created by the CodeWizardAVR V2.60 Standard Automatic

More information

LAMPIRAN A List Program CodeVision Generato Data...A-1 List Program CodeVision Multiplexer...A-11 List Program CodeVision Demultiplexer...

LAMPIRAN A List Program CodeVision Generato Data...A-1 List Program CodeVision Multiplexer...A-11 List Program CodeVision Demultiplexer... LAMPIRAN A List Program CodeVision Generato Data...A-1 List Program CodeVision Multiplexer...A-11 List Program CodeVision Demultiplexer...A-14 List Program Codevision Generator Data /****************************************

More information

Serial Compact Flash Serial CF Card Module User Manual

Serial Compact Flash Serial CF Card Module User Manual CUBLOC Peripheral Serial Compact Flash Serial Card Module User Manual 3. Specifications Model -COM5 -COM3 Voltage 4.5~5.5V 2.7~5.5V - 115200 bps: 20KB/s - 115200 bps: 15KB/s Read Speed - 9600 bps: 6KB/s

More information

Set of pulse decoding algorithms for quadrature rotary and linear encoders*

Set of pulse decoding algorithms for quadrature rotary and linear encoders* version 1.2 Set of pulse decoding algorithms for quadrature rotary and linear encoders* (*) Algorithms are likely platform nonindependent in performance comparison. However results are based to the Atmel

More information

How2Use DT-AVR ATMEGA128L BMS. Oleh: IE Team. Picture 1 The layout of DT-AVR ATMEGA128L BMS

How2Use DT-AVR ATMEGA128L BMS. Oleh: IE Team. Picture 1 The layout of DT-AVR ATMEGA128L BMS DT-AVR ATMEGA128L BMS Application Note Oleh: IE Team This Application Note (AN) serves as a tutorial of how to use the DT-AVR ATMEGA128L Bootloader Micro System along with its supplementary software. The

More information

LAMPIRAN A. I. Gambar alat percobaan I.1. Power supply. 1. Rangkaian sekunder 2. Dioda. 3. Heatsink 4. Power supply (keseluruhan)

LAMPIRAN A. I. Gambar alat percobaan I.1. Power supply. 1. Rangkaian sekunder 2. Dioda. 3. Heatsink 4. Power supply (keseluruhan) 100 I. Gambar alat percobaan I.1. Power supply LAMPIRAN A 1. Rangkaian sekunder 2. Dioda 3. Heatsink 4. Power supply (keseluruhan) 101 I.2 Gambar bagian bagian alat pemanas induksi 1. Kumparan Solenoide

More information

LAMPIRAN A. Universitas Sumatera Utara

LAMPIRAN A. Universitas Sumatera Utara LAMPIRAN A Program CODEVISIONAVR Untuk program mikrokontroler pada Robot /***************************************************** Date : 8/24/2014 Chip type : ATmega16 Program type : Application AVR Core

More information

LAMPIRAN A FOTO ROBOT BERKAKI ENAM

LAMPIRAN A FOTO ROBOT BERKAKI ENAM LAMPIRAN A FOTO ROBOT BERKAKI ENAM A-1 A-2 LAMPIRAN B PROGRAM PADA PENGONTROL ATMEGA16 DAN ATTINY2313 B-1 1. Robot mampu berjalan sesuai dengan langkah dan arah yang dimasukkan melalui keypad. ATMEGA16

More information

Programming Microcontroller Assembly and C

Programming Microcontroller Assembly and C Programming Microcontroller Assembly and C Course Number CLO : 2 Week : 5-7 : TTH2D3 CLO#2 Student have the knowledge to create basic programming for microcontroller [C3] Understand how to program in Assembly

More information

LAMPIRAN A GAMBAR SISTEM

LAMPIRAN A GAMBAR SISTEM LAMPIRAN A GAMBAR SISTEM SISTEM OBJEK TAMPAK DALAM SISTEM OBJEK TAMPAK LUAR SISTEM PENERIMA LAMPIRAN B PROGRAM AVR ATMEGA 128 /***************************************************** Chip type : ATmega128L

More information

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F mightwerk Resources for creators and innovators outs 697B1380-9797-4B8D-A50A-61944C26074F Introduction... 1 4-pin Expansion Header out... 2 6-pin ICSP Header out... 3 Map from to... 4 Map from ATmega328

More information

HELP - VB TIPS. ANIMATE AN IMAGE BOX Insert a module. In this module, create a global variable: Global x

HELP - VB TIPS. ANIMATE AN IMAGE BOX Insert a module. In this module, create a global variable: Global x HELP - VB TIPS Load an image to an image box from a certain folder If you use this method, won t work on N:\ To load an image to a image control Image1.Picture = LoadPicture("H:\MyVBfolder\stop.gif") Load

More information

AN703. Micro64/128. Accessing the 36k of SRAM 12/3/04

AN703. Micro64/128. Accessing the 36k of SRAM 12/3/04 AN703 Micro64/128 Accessing the 36k of SRAM 12/3/04 Introduction: Micro64/128 has a total of 36k of SRAM. 4 k of SRAM is built into the processor an additional 32k of SRAM is available inside the Micro64/128

More information

Getting Started With the Micro64

Getting Started With the Micro64 1.0 Software Installation Getting Started With the Micro64 1.1 Installing the CodeVisionAVR C Compiler 1. Open the CodeVisionAVR Demo folder on the CD. 5. Click the Next button and the following window

More information

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

More information

Universitas Sumatera Utara

Universitas Sumatera Utara 43 L A M P I R A N 44 Penulisan Kode Program Aplikasi Game Tetris A. Kode program aplikasi game tetris untuk form1 ( MainF.frm ) adalah sebagai berikut. Dim BANK As Database Dim RS As DAO.Recordset Private

More information

University of Kashan Faculty of Electrical and Computer Engineering Department of Computer Engineering. Lecture note 2

University of Kashan Faculty of Electrical and Computer Engineering Department of Computer Engineering. Lecture note 2 University of Kashan Faculty of Electrical and Computer Engineering Department of Computer Engineering Lecture note 2 Memory and IO Interfacing to & An Introduction to AVR Microcontrollers Hossein Sabaghian-Bidgoli

More information

J. Basic. Appl. Sci. Res., 3(2s) , , TextRoad Publication

J. Basic. Appl. Sci. Res., 3(2s) , , TextRoad Publication 2013, TextRoad Publication ISSN 2090-4304 Journal of Basic and Applied Scientific Research www.textroad.com Designing and Construction of the Transceiver System by Using a New Generation of Telecommunication

More information

W.E.S.L.E.Y. Waste Eliminating System for Lazy Engineering Youths. Final Report December 9, 2003 John Mercado

W.E.S.L.E.Y. Waste Eliminating System for Lazy Engineering Youths. Final Report December 9, 2003 John Mercado Waste Eliminating System for Lazy Engineering Youths Final Report December 9, 2003 John Mercado Table of Contents: Abstract... 3 Executive Summary... 3 Introduction... 3 Integrated Systems... 4 Mobile

More information

U4DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 19. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

U4DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 19. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch AVR USB Module Documentation Rev. 19 2010, Dipl.-Ing. (FH) Rainer Reusch www.reusch-elektronik.de http://products.reworld.eu/u4dil.htm File: _Manual Created: 2010-02-10 Changed: 2010-09-07 Contents 1.

More information

3.3V regulator. JA H-bridge. Doc: page 1 of 7

3.3V regulator. JA H-bridge. Doc: page 1 of 7 Digilent Cerebot Board Reference Manual Revision: 11/17/2005 www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilent Cerebot Board is a useful tool for

More information

EMB128. ere co., ltd.

EMB128. ere co., ltd. ATMEGA128 Embedded Board Main Features Atmega128 8-bit RISC CPU (AVR family) Serial EEPROM (I2C), 24LC256 Real Time Clock, DS1307 3V lithium battery keeping time and date 2 channels RS485 2 channels RS232

More information

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK500 Starter Kit and AVR Studio Debugger Creating a New Project Using

More information

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 14 AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 4 The AVR Microcontroller Introduction to AVR CISC (Complex Instruction Set Computer) Put as

More information

U6DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 18. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

U6DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 18. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch AVR USB Module Documentation Rev. 18 2011, Dipl.-Ing. (FH) Rainer Reusch www.reusch-elektronik.de http://products.reworld.eu/u6dil.htm File: _Manual Created: 2011-02-22 Changed: 2011-03-31 Table of Contents

More information

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK500 Starter Kit and AVR Studio Debugger Creating a New Project Using

More information

AVR Board for Projects is the Most Complete Simple to use Development Board For ATmega32 Product Datasheet

AVR Board for Projects is the Most Complete Simple to use Development Board For ATmega32 Product Datasheet is the Most Complete Simple to use Development Board For ATmega Sr. Num. Topics Page About AVR Board for Project The AVR Board for Project Hardware Details Using AVR Board for Project 0 Important information

More information

AVR 40 Pin Rapid Robot controller board

AVR 40 Pin Rapid Robot controller board AVR 40 Pin Rapid Robot controller board User Manual Robokits India http://www.robokits.org info@robokits.org - 1 - Thank you for purchasing the AVR 40 Pin Rapid Robot controller board. This unit has been

More information

PB-MC-AVR28 28 Pin AVR Full Size Development Board

PB-MC-AVR28 28 Pin AVR Full Size Development Board PB-MC-AVR28 28 Pin AVR Full Size Development Board PB-MC-AVR28-UG TABLE OF CONTENTS 1. OVERVIEW... 1 1.1. Introduction... 1 1.2. References... 1 1.2.1. Board Versions... 1 1.2.2. Referenced Documents...

More information

The Atmel ATmega328P Microcontroller

The Atmel ATmega328P Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction

More information

ET-BASE AVR (ATmega8535)

ET-BASE AVR (ATmega8535) ET-BASE AVR (ATmega8535) ET-BASE AVR which is AVR Board Microcontroller from ATMEL has MCU No. Atmega8535 40 Pin in circuit. Board ET-BASE AVR uses MCU resources as main and I/O PORT are arranged as PORT

More information

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9 Cerebot II Board Reference Manual Revision: September 14, 2007 Note: This document applies to REV B of the board. www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview

More information

PB-MC-AVR28 28 Pin AVR Full Size Development Board

PB-MC-AVR28 28 Pin AVR Full Size Development Board PB-MC-AVR28 28 Pin AVR Full Size Development Board PB-MC-AVR28-UG TABLE OF CONTENTS 1. OVERVIEW... 1 1.1. Introduction... 1 1.2. References... 1 1.2.1. Referenced Documents... 1 1.2.2. Acronyms and Abbreviations...

More information

My Muzik 1.0. MP3 Player using (VNC1L/VS1033/AVR8) User Manual (Rev 1.0) OrientNDT Co.,LTD

My Muzik 1.0. MP3 Player using (VNC1L/VS1033/AVR8) User Manual (Rev 1.0) OrientNDT Co.,LTD My Muzik 1.0 MP3 Player using (VNC1L/VS1033/AVR8) User Manual (Rev 1.0) 2009.3 OrientNDT Co.,LTD http://max0.com 1 Category Page 1.What is My Muzik 1.0? 1.1 Introduction... 3 1.2 Function Diagram... 4

More information

ATMega128_v2 A plug-on processor board.

ATMega128_v2 A plug-on processor board. NIK HEF NATIONAL INSTITUTE FOR NUCLEAR AND HIGH ENERGY PHYSICS ETR 2003-01 january 2003 ET 22920.01.01.v2 Updated: april 2003 ATMega128_v2 A plug-on processor board. A general purpose plug-on board. Most

More information

DT-ROBOT Line Follower

DT-ROBOT Line Follower DT-ROBOT Line Follower Trademarks & Copyright AT, IBM, and PC are trademarks of International Business Machines Corp. Pentium is a registered trademark of Intel Corporation. Windows is a registered trademark

More information

Robosoft Systems in association with JNCE presents. Swarm Robotics

Robosoft Systems in association with JNCE presents. Swarm Robotics Robosoft Systems in association with JNCE presents Swarm Robotics What is a Robot Wall-E Asimo ABB Superior Moti ABB FlexPicker What is Swarm Robotics RoboCup ~ 07 Lets Prepare for the Robotics Age The

More information

ATMega16 AVR AVR AVR DIP. (in-circiut programming) desktop MOSI MOSIT. AVRProg. header. (toggle)

ATMega16 AVR AVR AVR DIP. (in-circiut programming) desktop MOSI MOSIT. AVRProg. header. (toggle) ATMega16 AVR AVR ATMega16 AVR AVR AVR DIP (in-circiut programming) desktop MOSI GND SK MISO MOSIT Ω Dontronic SK MISO AVRProg AVR109 JTAGIEII STK500 AVR header AVRProg clock I/O (toggle) clock GND V ATMega16

More information

AVR- M16 development board Users Manual

AVR- M16 development board Users Manual AVR- M16 development board Users Manual All boards produced by Olimex are ROHS compliant Rev. C, January 2005 Copyright(c) 2009, OLIMEX Ltd, All rights reserved Page1 INTRODUCTION AVR-M16 is header board

More information

// filename pwm.c // ATtiny84 (14 pin DIP)

// filename pwm.c // ATtiny84 (14 pin DIP) // stepper motor driver for spectrometer // with manual speed and direction input // and adjustable scan speed and direction // stepper motor driver set to 32usteps/step (32Hz clk = 1 step/sec) // filename

More information

Automatic Gate Prototype Based on Microcontroller of Atmel ATMega16

Automatic Gate Prototype Based on Microcontroller of Atmel ATMega16 Journal of Electrical Technology UMY (JET-UMY), Vol. 1, No. 2, June 2017 ISSN 2550-1186 e-issn 2580-6823 Automatic Gate Prototype Based on Microcontroller of Atmel ATMega16 Anna Nur Nazilah Chamim *1,

More information

4. Application Programming

4. Application Programming 4. Application Programming 4.1 Writing an Application The C programming language, not C++, is utilized to develop the applications that are uploaded to the microcontroller used in this project. However,

More information

WEATHER STATION WITH SERIAL COMMUNICATION

WEATHER STATION WITH SERIAL COMMUNICATION WEATHER STATION WITH SERIAL COMMUNICATION Written by: Wenbo Ye, Xiao Qu, Carl-Wilhelm Igelström FACULTY OF ENGINEERING, LTH Digital and Analogue Projects EITF11 Contents Introduction... 2 Requirements...

More information

U2DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 37. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

U2DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 37. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch AVR USB Module Rev. 1.1 Documentation Rev. 37 Reusch Elektronik 2010 Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch www.reusch-elektronik.de http://products.reworld.eu/u2dil.htm File: _Manual Created:

More information

Supplement for module D061 incl. ATMega128 Prozessor

Supplement for module D061 incl. ATMega128 Prozessor Supplement for module D061 incl. ATMega128 Prozessor V 1.3 16. March 2006 2006 by Peter Küsters This document is in copyright protected. It is not permitted to change any part of it. It is not permitted

More information

Review on Lecture-1. ICT 6641: Advanced Embedded System. Lecture 2 Branch, Call and Delay Loops, AVR I/O port programming

Review on Lecture-1. ICT 6641: Advanced Embedded System. Lecture 2 Branch, Call and Delay Loops, AVR I/O port programming ICT 6641: Advanced Embedded System Lecture 2 Branch, Call and Delay Loops, AVR I/O port programming Prof. S. M. Lutful Kabir Session: April, 2011 Review on Lecture-1 Three parts of a computer : CPU, Memory

More information

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller Hardware Manual Crumb128 Rapid Prototyping Module with the Atmega128 AVR Microcontroller Version 1.1 Copyright 2004 Dr. Erik Lins, Development and Distribution of Hardware and Software. All right reserved.

More information

The Atmel ATmega168A Microcontroller

The Atmel ATmega168A Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Atmel ATmega168A Microcontroller by Allan G. Weber 1 Introduction The Atmel ATmega168A is one member of

More information

AVR Microcontroller with Core Independent Peripherals and PicoPower technology

AVR Microcontroller with Core Independent Peripherals and PicoPower technology AVR Microcontroller with Core Independent Peripherals and PicoPower technology Introduction The picopower ATmega324PB is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture.

More information

PROGRAM BASCOM AVR. ' inisialisasi '

PROGRAM BASCOM AVR. ' inisialisasi ' PROGRAM BASCOM AVR '--------------------------------------- inisialisasi '----------------------- $prog &HFF, &HC4, &HD9, &H00 ' generated. Take care that the chip supports all fuse bytes. $regfile = "m8def.dat"

More information

MOD-IO development board Users Manual

MOD-IO development board Users Manual MOD-IO development board Users Manual All boards produced by Olimex are ROHS compliant Rev. B, September 0 Copyright(c) 0, OLIMEX Ltd, All rights reserved Page INTRODUCTION MOD-IO is a small but powerful

More information

MECHATRONICS AND CONTROL SYSTEMS LABORATORY HANDBOOK

MECHATRONICS AND CONTROL SYSTEMS LABORATORY HANDBOOK ROZWÓJ POTENCJAŁU I OFERTY DYDAKTYCZNEJ POLITECHNIKI WROCŁAWSKIEJ Wrocław University of Technology Refrigeration and Cryogenics Artur Jędrusyna, Krzysztof Tomczuk MECHATRONICS AND CONTROL SYSTEMS LABORATORY

More information

Page 1 of 7. Samtron/Samsung 20S204DA2

Page 1 of 7. Samtron/Samsung 20S204DA2 Page 1 of 7 Samtron/Samsung 20S204DA2 Disclaimer This documentation based on try & error and should never be treated as official documentation. There is no guarantee that information listed in this document

More information

ATmega48/88/168 Development Board

ATmega48/88/168 Development Board ATmega// Development Board This is versatile development board for AVR microcontrollers ATmega//. It is good for testing and debugging embedded programs. It has many built-in peripheries connected to microcontroller

More information

Butterfly Alternate Pin Uses. Joe Pardue 12/31/06

Butterfly Alternate Pin Uses. Joe Pardue 12/31/06 Butterfly Alternate Pin Uses Joe Pardue 12/31/06 www.smileymicros.com Introduction There seems to be a bit of confusion over which pins on the Butterfly can be used for general I/O. Most of the pins have

More information

Topic 11: Interrupts ISMAIL ARIFFIN FKE UTM SKUDAI JOHOR

Topic 11: Interrupts ISMAIL ARIFFIN FKE UTM SKUDAI JOHOR Topic 11: Interrupts ISMAIL ARIFFIN FKE UTM SKUDAI JOHOR Objectives To become familiar with interrupts on the AVR Maskable and non-maskable Initialization Triggers To develop interrupt service routines

More information

Revision: 05/05/ E Main Suite D Pullman, WA (509) Voice and Fax. Various power connectors. 3.3V regulator

Revision: 05/05/ E Main Suite D Pullman, WA (509) Voice and Fax. Various power connectors. 3.3V regulator Digilent Cerebot Plus Board Reference Manual Revision: 05/05/2008 www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilent Cerebot Plus Board is a useful

More information

Implementation of Online Signature Verification by Slope Calculation Method 1

Implementation of Online Signature Verification by Slope Calculation Method 1 Implementation of Online Signature Verification by Slope Calculation Method 1 A.P.Malode, Dr.P.T.Karule 1 Lecturer, Shri Datta Meghe Polytechnic,Nagpur Maharashtra,India, apmalode@gmail.com Professor,

More information

Embedded programming, AVR intro

Embedded programming, AVR intro Applied mechatronics, Lab project Embedded programming, AVR intro Sven Gestegård Robertz Department of Computer Science, Lund University 2017 Outline 1 Low-level programming Bitwise operators Masking and

More information

CHW 469 : Embedded Systems

CHW 469 : Embedded Systems CHW 469 : Embedded Systems Instructor: Dr. Ahmed Shalaby http://bu.edu.eg/staff/ahmedshalaby4# I/O Ports in AVR The AVR microcontroller and embedded systems using assembly and c Topics AVR pin out The

More information

AVR-P20 development board Users Manual

AVR-P20 development board Users Manual AVR-P20 development board Users Manual All boards produced by Olimex are ROHS compliant Revision A, October 2005 Copyright(c) 2009, OLIMEX Ltd, All rights reserved Page 1 INTRODUCTION: The AVR Microcontrollers

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor

More information

Burglar Alarm Final Report

Burglar Alarm Final Report Burglar Alarm Submitted By: Brandon Maciel, Linda Thompson, Bradford Savage ETEE3255 Lab VII Instructor: Barry Sherlock Date Due: November 18 th, 2010 Abstract 1 The purpose of this project was to design,

More information

Training Platform. Reference Manual. Features tools for: Reference Manual

Training Platform. Reference Manual. Features tools for: Reference Manual Training Platform Features tools for: JTAG Boundary Scan JTAG Programming/Configuration Jennic JN5148 - Debugging Jennic JN5148 - Flash Programming Serial Memory - In System Programming Atmel AVR - In

More information

L A M P I R A N UNIVERSITAS KRISTEN MARANTHA

L A M P I R A N UNIVERSITAS KRISTEN MARANTHA L A M P I R A N LAMPIRAN B LISTING PROGRAM MIKROKONTROLER //Simplest universal VGA(20x20)/PAL(38x20) terminal //For sync used Timer0 Timer1 //To avoid flickering while receive UART data,recommend

More information

Omega-328 SB. Rapid Prototyping tool with Shield Base for Atmel AtmegaXX8 Microcontrollers. User Manual

Omega-328 SB. Rapid Prototyping tool with Shield Base for Atmel AtmegaXX8 Microcontrollers. User Manual Omega-328 SB Rapid Prototyping tool with Shield Base for Atmel AtmegaXX8 Microcontrollers User Manual - Omega MCU Systems Copyright 2012 Contents Introduction... 2 Omega-328 SB main features:... 2 Getting

More information

ATmega8A. Introduction. Features. 8-bit AVR Microcontroller DATASHEET COMPLETE

ATmega8A. Introduction. Features. 8-bit AVR Microcontroller DATASHEET COMPLETE 8-bit AVR Microcontroller ATmega8A DATASHEET COMPLETE Introduction The Atmel ATmega8A is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions

More information

STK User Guide

STK User Guide STK500... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Starter Kit Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System

More information

State-of-the Art Evaluation Module for 8, 20 & 40-pin Microcontrollers PRODUCT GUIDE. (Version 2.00)

State-of-the Art Evaluation Module for 8, 20 & 40-pin Microcontrollers PRODUCT GUIDE. (Version 2.00) State-of-the Art Evaluation Module for, 0 & 0-pin Microcontrollers PRODUCT GUIDE (Version.00) Evalur User Manual V.00 Copyright Information Equinox guarantees that its products will be free from defects

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Lab 6 Considerations Lab 6 Considerations, Slide 1 Big Picture Connect to internal ADC + 0-5 V - Sensor To COM port on PC LCD RTC Optional: LCD display Lab 6 Considerations,

More information

PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM

PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM PROJECT ELECTRONIC CONTROL GAS INJECTION SYSTEM SOURCE CODE VISUAL BASIC Dim WR As Boolean Dim pw Dim data Dim oxg Public index1 Dim index2 Dim k Dim u Dim refd Dim datar1$(1000, 9) Dim c_data Dim A$(10)

More information

Charon 2M. Ethernut embedded ethernet module with 128 kb SRAM. Main Features

Charon 2M. Ethernut embedded ethernet module with 128 kb SRAM. Main Features Charon 2M Ethernut embedded ethernet module with 128 kb SRAM Main Features Full duplex IEEE 802.3 10 Mb/s Ethernet ATmega 128 RISC AVR microcontroller - up to 16 MIPS throughput 128 kbyte In-System Programmable

More information

MOD-IO development board user's manual

MOD-IO development board user's manual MOD-IO development board user's manual All boards produced by Olimex are ROHS compliant Rev. C, March 013 Copyright(c) 011, OLIMEX Ltd, All rights reserved Page 1 INTRODUCTION BOARD FEATURES MOD-IO is

More information

User s Manual of Board Micro Controller ET-EASY168 STAMP ET-EASY168 STAMP. Picture displays structure of Board ET-EASY168 STAMP.

User s Manual of Board Micro Controller ET-EASY168 STAMP ET-EASY168 STAMP. Picture displays structure of Board ET-EASY168 STAMP. User s Manual of Board Micro Controller ET-EASY168 STAMP ET-EASY168 STAMP Picture displays structure of Board ET-EASY168 STAMP. ETT CO., LTD - 1 - WWW.ETT.CO.TH User s Manual of Board Micro Controller

More information

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features: AVRminiV3. Manual. AVRminiV3. Overview The AVRminiV3. board is a low-cost versatile development board for Atmel AVR processors. The AVRminiV3. supports all AVR processors in 40-pin and 64-pin packages

More information

ECE477: Team 10 Software Design Considerations, Narrative, and Documentation

ECE477: Team 10 Software Design Considerations, Narrative, and Documentation TABLE OF CONTENTS 1 INTRODUCTION...2 1.1 MASTER DEVICE...2 1.2 SLAVE (SITE) DEVICE...2 1.3 CONNECTING BUS...2 2 MASTER DEVICE...3 2.1 SOFTWARE DESIGN CONSIDERATIONS...3 2.1.1 Memory Considerations...3

More information

Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut

Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut ECE3411 Fall 2016 Wrap Up Review Session Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut Email: marten.van_dijk@uconn.edu Slides are copied from Lecture 7b, ECE3411

More information

Human Factors Engineering Short Course Topic: A Simple Numeric Entry Keypad

Human Factors Engineering Short Course Topic: A Simple Numeric Entry Keypad Human Factors Engineering Short Course 2016 Creating User Interface Prototypes with Microsoft Visual Basic for Applications 3:55 pm 4:55 pm, Wednesday, July 27, 2016 Topic: A Simple Numeric Entry Keypad

More information

8-bit Microcontroller with 8K Bytes In-System Programmable Flash. ATmega8515 ATmega8515L. Features

8-bit Microcontroller with 8K Bytes In-System Programmable Flash. ATmega8515 ATmega8515L. Features Features High-performance, Low-power AVR 8-bit Microcontroller RISC Architecture 130 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation

More information

Introduction to Arduino. Wilson Wingston Sharon

Introduction to Arduino. Wilson Wingston Sharon Introduction to Arduino Wilson Wingston Sharon cto@workshopindia.com Physical computing Developing solutions that implement a software to interact with elements in the physical universe. 1. Sensors convert

More information

ATmega128A. Introduction. Features. 8-bit AVR Microcontroller DATASHEET COMPLETE

ATmega128A. Introduction. Features. 8-bit AVR Microcontroller DATASHEET COMPLETE 8-bit AVR Microcontroller ATmega128A DATASHEET COMPLETE Introduction The Atmel ATmega128A is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions

More information

TekBots TM Oregon State University. mega User Guide

TekBots TM Oregon State University. mega User Guide mega128.1 ------------------------------------------------- User Guide TekBots TM Oregon State University Version 1.2 By Adriaan Smit OSU EE Graduate Student Page 2 of 32 Index By Adriaan Smit... 1 OSU

More information

LAMPIRAN A LIST PROGRAM SERVER DAN CLIENT

LAMPIRAN A LIST PROGRAM SERVER DAN CLIENT 1 LAMPIRAN A LIST PROGRAM SERVER DAN CLIENT 2 KETERANGAN OBJEK KONTROL SERVER (VB.6) OBJEK PROPERTY SETTING Command1 Caption Exit Command2 Caption START Command3 Caption UP Command4 Caption DOWN Command5

More information