An Introduction to Designing Ham Radio Projects with PIC Microcontrollers. George Zafiropoulos KJ6VU

Size: px
Start display at page:

Download "An Introduction to Designing Ham Radio Projects with PIC Microcontrollers. George Zafiropoulos KJ6VU"

Transcription

1 An Introduction to Designing Ham Radio Projects with PIC Microcontrollers George Zafiropoulos KJ6VU

2 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

3 Ideas for Projects Using PIC Microcontrollers TR sequencer Memory keyer CW keyboard Station power controller Rotor controller Tone generator Test equipment controller Speaker / audio router Repeater controller Fox hunt tx controller Radio control Morse code decoder APRS encoder Frequency counter Battery monitor Audio meter

4 Hardware Options Design your own hardware Software Options Use existing prototype board Hardware platform Assembler C Basic

5 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

6 Picking a Microcontroller Selection Criteria for Ham Radio Projects Cheap Easy to program (relatively) Serial interface (for control and configuration) Fast Non-volatile flash memory (program and data) 5V supply and I/O Wide variety of IO besides digital in/out A/D converter, SPI, UART, I2C, PWM (tone), etc DIP package Code examples Big eco-system RF immune Low noise generation

7 Microcontroller Suppliers

8 Devices for Hobby Projects Atmel AVR Basic Stamp Arduino Microchip PIC HamStack Chips Modules Boards

9 Lets Pick the PIC what s a PIC? Product of Microchip Technology PIC1640 originally developed by General Instrument's Microelectronics Division PIC = "Programmable Interface Controller PICs are low cost & widely available Large user base Low cost or free development tools In 2008 Microchip shipped its 6,000,000,000 th PIC processor

10 PIC 18Fxxxx Family

11 Processing Horsepower 1 MIP 16 MIPs < PIC Microcontroller

12 What s Inside a PIC 18Fxxxx CPU Chip?

13

14

15 Lets Use the 18F2620 CPU up to 10 MIPS performance (40 MHz) CPU up to 16 MIPS performance (64 MHz) C, Assembler, Basic compiler support 8 x 8 Single Cycle Hardware Multiply System Internal oscillator support 31 khz to 8 MHz Fail-Safe Clock Monitor allows safe shutdown if clock fails Watchdog Timer with separate RC oscillator Wide operating Voltage range; 2.0V to 5.5V nanowatt Power Managed Modes Run, Idle and Sleep modes Idle mode currents down to 5.8uA typical Sleep mode currents down to 0.1uA typical Analog Features 10-bit ADC, 10 channels, 100K samples/second Programmable Low Voltage Detection Module Programmable Brown-out Reset module Two Analog comparators with input multiplexing Peripherals Master Synchronous Serial Port supports SPI and I2C Master and Slave Mode EUSART module including LIN bus support Four Timer Modules Up to 2 PWM outputs

16 18F F F8722 All code compatible, just more pins 28 Pins 80 Pins 40 Pins

17 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

18 Minimum Configuration Blinky PicKit2 Programmer Power Input

19 19 User Configurable I/O Pins PicKit2 Programmer 6 Analog Input Or Digital I/O Pins Power Input 13 Digital I/O Pins

20 Many Special Purpose I/O Pins PicKit2 Programmer Timers PWM 6 Analog Input Or Digital I/O Pins SPI / I2C Clock PWM Power Input UART SPI data out SPI Data In or I2C Data Interrupt

21 Howz That Work?

22 Minimum Configuration Blinky PicKit2 Programmer Power Input

23 Let s add some additional input / output devices Analog Inputs Digital Inputs Digital Outputs

24 Now lets add an RS-232 Interface RS-232 Interface

25 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

26 Design Your Own Boards Low cost prototype PCB services Free design tools Prototype quality Drilled and plated Production quality Drilled, plated, solder mask, silkscreen Prototypes Minimum order 2 boards ~$120 and up for 2 Or get 3 boards 2.5 x 3.8 for $

27 Free Schematic Editor

28 Free Layout Editor

29 Use an bare off the shelf Prototype Boards Examples from ME Labs Simple Prototype Boards Blank Boards Multi-purpose Prototype Boards

30 Off the Shelf Single Board Computers Arduino Uno HamStack Basic Stamp

31 CPU Comparison Arduino Arduino HamStack HamStack Parallax Parallax Processor Processor ATMega328 ATMega328 PIC PIC 18F46K22 18F4620 Basic Basic Stamp Stamp II II Vendor Speed Atmel 20 MHz Microchip 64 MHzPIC Microchip 20 MHz PIC Speed Instructions per second 2020,000,000 MHz 16,000, MHz 4, MHz RAM RAM 2,028 2,028 bytes bytes 4,096 bytes bytes Flash Flash memory memory for for program program store store 32,000 32,000 64,000 2,048 Flash Flash memory memory for for data data storage storage bytes bytes bytes bytes None None Onboard Peripherals Onboard Peripherals 8 Bit 8 counter Bit counter / timer / timer None None 16 bit 16 counter bit counter / timer / timer None PWM PWM Yes Yes 10 bit 10 A bit to A D to converter D converter None Serial Serial UART UART SPI SPI serial serial interface interface None I2C I2C serial serial interface interface None None Digital Digital IO pins IO pins Total IO pins at any time Total IO pins at any time Form factor Board Board Chip Form Assembled Kit Assembled Kit/Assembled Assembled Kit Assembled CPU CPU board board / module $ $ $ $ $ 49.00

32 HamStack CPU Board Upgrade to Newer CPUs K22 46K80

33 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

34 Software Development Flow Edit source code Use any ASCII text editor test.c Compile program Compile or assemble into executable file test.hex Download into CPU Use PicKit2 or similar programmer to transfer the.hex file into the program store flash memory in the PIC Run program It s alive!

35 Compilers Microchip MPLAB IDE & Assembler Text editor Assembler Debugger Free!

36 Microchip C18 Compiler Full-featured C compiler ANSI compliant Compatibility with object modules generated by the MPASM assembler Extensive library support PWM SPI I 2 C UART, USART string manipulation math libraries Free version available

37 Swordfish Basic Editor/Compiler Powerful and easy to use basic language String handling Relational operations Boolean Logic Operators Floating Point Math In line assembly Graphical LCD support Compact Flash USB in/out SPI I 2 C DS OneWire UART ASCII Lite version $FREE Full version $150

38 In-Circuit Programmer Downloads the Program Open the.hex file Hit the Write button

39 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

40 Software Example Task: Flash the LED forever

41 All Programs Have a Common Control Program Structure Initialize Program Read Inputs Make Decisions Loop forever Write Outputs Subroutine Library

42 Blinky Written in Swordfish Basic ' ============================================================================ ' blinky.bas ' Blinking LED demo using Swordfish Basic ' ============================================================================ Device 18F2620 Clock = 10 ' Select device type ' Set clock frequency to 40 MHz CONFIG_START OSC = HSPLL CONFIG_END ' Set hardware configuration parameters ' Set 4x PLL on (10 MHz crystal * 4x = 40 MHz) TRISC.1 = 0 ' Set pin C1 connected to the status LED to be an output While true Low PORTC.1 DelayMS (200) High PORTC.1 DelayMS (200) Wend ' Set pin C1 low (0 volts) LED on ' Delay 200 ms ' Set pin C1 high (5 volts) LED off ' Delay 200 ms Loop forever

43 Blinky Written in Microchip C18 /* blinky.c - This is a simple program that blinks the status LED */ #include <p18cxxx.h> /* Use PIC18 processor family */ #pragma config WDT = OFF /* Turn off watchdog timer checking */ /************************************************************************/ void delay (void) /* Delay subroutine */ { long i; /* Declare variable i as a long integer */ for (i = 0; i < 1000; i++); /* Increment the counter */ } /************************************************************************/ /************************************************************************/ void main (void) { TRISC = 0; /* Set IO register C to output mode */ while (1) /* Loop forever */ LATCbits.LATC1 = 0; /* Turn on status LED */ delay (); /* Wait by calling the delay subroutine */ LATCbits.LATC1 = 1; /* Turn off status LED */ delay (); /* Wait by calling the delay subroutine */ } } /************************************************************************/

44 Software Example CW Key Key Tx Task: When a button is pressed Key my transmitter Send a CW message Continue while button pressed

45 CW Beacon Transmitter ' HamStack CW Beacon Device = 18F4620 Clock = 10 Include "hamstack.bas" ' Initialize relay_1_off relay_2_off led_off While true If mode_button = pressed Then led_on relay_2_on DelayMS (500) send_cw ("CQ CQ CQ DE KJ6VU K") DelayMS (500) relay_2_off DelayMS (2000) EndIf Wend

46 hamstack.bas Library Module hamstack '======================================= '=====[ Physical IO pin assignments ]= '======================================= Public Dim relay_1 As portb.3 Public Dim relay_2 As portb.2 '======================================= '=====[ Common Public Variables ]===== '======================================= Public Const on As Byte = 1 Public Const off As Byte = 0 Public Const yes As Byte = 1 Public Const no As Byte = 0 Public Const pressed As Byte = 0 '============================================================= '=====[ Send CW ]=========================================== '============================================================= Public Sub send_cw (ByVal cw_string As String) '----- VARIABLE DEFINITIONS Dim wpm As Byte ' CW speed in words per minute Dim cw_time As Word ' Calculated time value of a dit in ms. Dim cw_len As Byte ' Working variable, length of string Dim i As Byte ' Working variable Dim x As Byte ' Working variable Dim y As Byte ' Workign variable Dim cw_char As String(2) ' Holds the character being sent Dim cw_bits As String(15) ' Dit / Dah pattern being sent Dim cw_temp As String(2) ' Working variable '======================================= '=====[ Status LED Control ]========== '======================================= Public Sub led_on () High (portc.0) End Sub ' Public Sub led_off () Low (portc.0) End Sub '======================================= '=====[ Relay control ]=============== '======================================= Public Sub relay_1_on () High (relay_1) End Sub ' Public Sub relay_1_off () Low (relay_1) End Sub '----- INITIALIZE VARIABLES wpm = 13 ' CW speed in words per minute '----- START MAIN PROGRAM CODE cw_time = 1200 / wpm ' Calculate the length of a dit cw_len = Length(cw_string) ' Determine the length of the string '----- START MASTER CONTROL LOOP master_loop:' Outer loop will process the whole string. For i = 0 To cw_len-1 ' Go through the string cw_char = Mid(cw_string,i,1) ' Grab the current char Select cw_char Case "A" : cw_bits = ".-" Case "B" : cw_bits = "-..." Case "C" : cw_bits = "-.-." Case "D" : cw_bits = "-.." Case "E" : cw_bits = "." Case "F" : cw_bits = "..-." Case "G" : cw_bits = "--." Case "H" : cw_bits = "..." Case "I" : cw_bits = ".." Case "J" : cw_bits = ".---" Case "K" : cw_bits = "-.-" Case "L" : cw_bits = ".-.."

47 Topics Ham radio applications Microcontroller basics Hardware design examples Implementing your design Software tools Software examples Project gallery

48 HamStack CPU

49 HamStack Relay Board

50 HamStack Solder-less Breadboard

51 HamStack Prototype Board

52 Arduino Compatible

53

54

55

56

57 Multi-Port, Multi-Processor Repeater Control System

58

59 Summary Easier then you may think Many good tools and examples Pick a project and jump in For more information ExpressPCB Microchip Swordfish Basic Sierra Radio HamStack

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform. Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project

More information

DEV-1 HamStack Development Board

DEV-1 HamStack Development Board Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,

More information

PIC-LCD-3310 development board Users Manual

PIC-LCD-3310 development board Users Manual PIC-LCD-3310 development board Users Manual Rev.A, July 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: PIC-LCD-3310 is development board with PIC18F67J50, NOKIA 3310 BW 84x48 pixels

More information

Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22

Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22 is Board Microcontroller in a series of PIC18F87K22 80-Pin TQFP from Microchip. It designs I/O of MCU on board to interface with CONNECTOR in the format

More information

An Arduino Controlled 1 Hz to 60 MHz Signal Generator

An Arduino Controlled 1 Hz to 60 MHz Signal Generator An Arduino Controlled 1 Hz to 60 MHz Signal Generator Greg McIntire, AA5C AA5C@arrl.net WWW..ORG 1 Objectives Build a standalone 60 MHz signal generator based on the DDS-60 board. Originally controlled

More information

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features ET-PIC 24 WEB-V1 ET-PIC 24 WEB-V1 is PIC Board Microcontroller from Microchip that uses 16 Bit No.PIC24FJ128GA008 Microcontroller for processing data and develops board. The remarkable specification of

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

Arduino Uno R3 INTRODUCTION

Arduino Uno R3 INTRODUCTION Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running

More information

ARDUINO MEGA INTRODUCTION

ARDUINO MEGA INTRODUCTION ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for

More information

Sierra Radio Systems. Getting Started With The. HamStack. Microcontroller Project Platform

Sierra Radio Systems. Getting Started With The. HamStack. Microcontroller Project Platform Sierra Radio Systems Getting Started With The HamStack Microcontroller Project Platform Welcome Getting Started With the HamStack Microcontroller Project Platform Revision 3.2 - April 2013 See appendix

More information

32 bit Micro Experimenter Board Description and Assembly manual

32 bit Micro Experimenter Board Description and Assembly manual 32 bit Micro Experimenter Board Description and Assembly manual Thank you for purchasing the KibaCorp 32 bit Micro Experimenter. KibaCorp is dedicated to Microcontroller education for the student, hobbyist

More information

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant Revision B, Januray 2013 Designed by OLIMEX Ltd, 2011 Disclaimer: 2012 Olimex Ltd. Olimex, logo and combinations

More information

Microcontrollers for Ham Radio

Microcontrollers for Ham Radio Microcontrollers for Ham Radio MARTIN BUEHRING - KB4MG MAT T PESCH KK4NLK TOM PERRY KN4LSE What is a Microcontroller? A micro-controller is a small computer on a single integrated circuit containing a

More information

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab AVR Training Board-I V., Konkuk Univ. Tae Pyeong Kim What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small

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 Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems MT2 Introduction Embedded Systems MT2.1 Mechatronic systems Mechatronics is the synergistic integration of mechanical engineering, with electronics and intelligent computer control in the design and manufacturing

More information

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab AVR Training Board-I V., Konkuk Univ. Yong Beom Cho ybcho@konkuk.ac.kr What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor

More information

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Objectives To be familiar with microcontrollers, PIC18F4550 microcontroller. Tools PIC18F4550 Microcontroller, MPLAB software,

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

ATmega128. Introduction

ATmega128. Introduction ATmega128 Introduction AVR Microcontroller 8-bit microcontroller released in 1997 by Atmel which was founded in 1984. The AVR architecture was conceived by two students (Alf-Egil Bogen, Vergard-Wollen)

More information

Getting to know the Arduino IDE

Getting to know the Arduino IDE Getting to know the Arduino IDE I ve heard about Arduino, what the heck is it? Arduino is a development environment Combination of hardware and software Hardware based on Atmel AVR processors Software

More information

Introducing the 32 bit Micro Experimenter

Introducing the 32 bit Micro Experimenter Introducing the 32 bit Micro Experimenter In a 2010, Nuts and Volts introduced the 16 bit Micro Experimenter with a seven article series. The 16 bit Experimenter offered the readership a new and significant

More information

Sierra Radio Systems. HamStack. Project Board Reference Manual V1.0

Sierra Radio Systems. HamStack. Project Board Reference Manual V1.0 Sierra Radio Systems HamStack Project Board Reference Manual V1.0 Welcome HamStack Project Board Reference Manual Revision 1.0.3 2011 George Zafiropoulos, KJ6VU and John Best, KJ6K This guide provides

More information

PIC-32MX development board Users Manual

PIC-32MX development board Users Manual PIC-32MX development board Users Manual All boards produced by Olimex are ROHS compliant Rev.A, June 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: The NEW PIC-32MX board uses the

More information

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc) Software Development & Education Center Embedded Systems (Design & Development with Various µc) Module 1: Embedded C Programming INTRODUCTION TO EMBEDDED SYSTEM History & need of Embedded System Basic

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 Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar

More information

Goal: We want to build an autonomous vehicle (robot)

Goal: We want to build an autonomous vehicle (robot) Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically

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

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

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director AVR XMEGA TM A New Reference for 8/16-bit Microcontrollers Ingar Fredriksen AVR Product Marketing Director Kristian Saether AVR Product Marketing Manager Atmel AVR Success Through Innovation First Flash

More information

CHIPS Newsletter Vol 5 - Yahoo! Mail. Official Newsletter of

CHIPS Newsletter Vol 5 - Yahoo! Mail. Official Newsletter of CHIPS Newsletter Vol 5 From: "chips@elproducts.net" To: "Chuck Hellebuyck" Thursday, April 29, 2010 12:07 AM CHIPs Vol 5 / April 28, 2010 Official Newsletter

More information

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs. acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.) Module 0 Introduction Introduction to Embedded Systems, Real Time

More information

Breeze Board. Type A. User Manual.

Breeze Board. Type A. User Manual. Breeze Board Type A User Manual www.dizzy.co.za Contents Introduction... 3 Overview Top... 4 Overview Bottom... 5 Getting Started (Amicus Compiler)... 6 Power Circuitry... 7 USB... 8 Microcontroller...

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

Bolt 18F2550 System Hardware Manual

Bolt 18F2550 System Hardware Manual 1 Bolt 18F2550 System Hardware Manual Index : 1. Overview 2. Technical specifications 3. Definition of pins in 18F2550 4. Block diagram 5. FLASH memory Bootloader programmer 6. Digital ports 6.1 Leds and

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features: PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions

More information

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) (Revision-10) FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) PART-A (Maximum marks : 10) I. Answer all

More information

MICROPROCESSORS B (17.384) Spring Lecture Outline

MICROPROCESSORS B (17.384) Spring Lecture Outline MICROPROCESSORS B (17.384) Spring 2012 Lecture Outline Class # 01 January 24, 2012 Dohn Bowden 1 Today s Lecture Administrative General Course Overview Microcontroller Hardware and/or Interface Programming/Software

More information

Inside the Ten-Tec 506 Rebel Open Source QRP CW Transceiver. Bob Proctor, N6YPE and Brian Tompson, AC7FK

Inside the Ten-Tec 506 Rebel Open Source QRP CW Transceiver. Bob Proctor, N6YPE and Brian Tompson, AC7FK Inside the Ten-Tec 506 Rebel Open Source QRP CW Transceiver Bob Proctor, N6YPE and Brian Tompson, AC7FK About us Bob, N6YPE, has been licensed since 1990, is now an applications engineer at Microchip.

More information

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite. EMBEDDED ARM TRAINING SUITE ARM SUITE INCLUDES ARM 7 TRAINER KIT COMPILER AND DEBUGGER THROUGH JTAG INTERFACE PROJECT DEVELOPMENT SOLUTION FOR ARM 7 e-linux LAB FOR ARM 9 TRAINING PROGRAM INTRODUCTION

More information

Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets

Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets PIC MCU and dspic DSC Family Portfolio 2 New Low Cost, Low Pin-Count 8-, 16-, 32-bit Offerings 3 What Are

More information

Basic Components of Digital Computer

Basic Components of Digital Computer Digital Integrated Circuits & Microcontrollers Sl. Mihnea UDREA, mihnea@comm.pub.ro Conf. Mihai i STANCIU, ms@elcom.pub.ro 1 Basic Components of Digital Computer CPU (Central Processing Unit) Control and

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

AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB

AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB 14 May, 2018 AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB Document Filetype: PDF 151.29 KB 0 AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB Premium source of Projects Tutorials Code Ebooks Library for Atmels

More information

Microcontroller Overview

Microcontroller Overview Microcontroller Overview Microprocessors/Microcontrollers/DSP Microcontroller components Bus Memory CPU Peripherals Programming Microcontrollers vs. µproc. and DSP Microprocessors High-speed information

More information

Arduino Internals. Dale Wheat. Apress

Arduino Internals. Dale Wheat. Apress Arduino Internals Dale Wheat Apress Contents About the Authors About the Technical Reviewers Acknowledgments Preface xv xvi xvii xviii Chapter 1: Hardware 1 What Is an Arduino? 1 The Arduino Uno 2 Processor

More information

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP DEVBOARD3 DATASHEET 10Mbits Ethernet & SD card PIC18F67J60 MICROCHIP Version 1.0 - March 2009 DEVBOARD3 Version 1.0 March 2009 Page 1 of 7 The DEVBOARD3 is a proto-typing board used to quickly and easily

More information

Digital Homebrewing. Bob Okas W3CD. Copyright 2004 Robert P. Okas

Digital Homebrewing. Bob Okas W3CD. Copyright 2004 Robert P. Okas Digital Homebrewing Bob Okas W3CD Copyright 2004 Robert P. Okas 1 Introduction Digital Homebrewing is a broad topic that encompasses: Hardware Logic Design Software design Combinations of both: Embedded

More information

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C. Objective: At the end of this session, you will have a fair understanding of - Z8 Encore! language tools including C compiler, assembler, linker/locator, and librarian - Instruction set simulator and disassembler

More information

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Clock and Fuses Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Reference WHY YOU NEED A CLOCK SOURCE - COLIN O FLYNN avrfreaks.net http://en.wikibooks.org/wiki/atmel_avr

More information

MICROPROCESSORS B (17.384) Spring Lecture Outline

MICROPROCESSORS B (17.384) Spring Lecture Outline MICROPROCESSORS B (17.384) Spring 2011 Lecture Outline Class # 01 January 25, 2011 Dohn Bowden 1 Today s Lecture Administrative General Course Overview Microcontroller Hardware and/or Interface Programming/Software

More information

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual SBAT90USB162 Atmel AT90USB162 Development Board User s manual 1 1. INTRODUCTION Thank you for choosing the SBAT90USB162 Atmel AT90USB162 development board. This board is designed to give a quick and cost-effective

More information

Z8 Encore! XP F0822 Series

Z8 Encore! XP F0822 Series High Performance 8-Bit Microcontrollers Z8 Encore! XP F0822 Series Product Brief PB011112-0308 Overview Zilog s Z8 Encore! XP F0822 Series devices are microcontrollers based on Zilog s ez8 CPU. Z8 Encore!

More information

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet... 4

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet... 4 Overview of the PIC 16F648A Processor: Part 1 EE 361L Lab 2.1 Last update: August 1, 2016 Abstract: This report is the first of a three part series that discusses the features of the PIC 16F648A processor,

More information

Sierra Radio Systems. Digital Compass. Reference Manual. Version 1.0

Sierra Radio Systems. Digital Compass. Reference Manual. Version 1.0 Sierra Radio Systems Digital Compass Reference Manual Version 1.0 Contents Digital compass board RS485 power injector For more information, go to the Sierra Radio Systems web site at www.sierraradio.net

More information

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.

Figure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system. Course Code: EEE 4846 International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) Course Title: Embedded System Sessional Exp. 1: Familiarization with necessary

More information

PIC32MX150F128 Breakout Board

PIC32MX150F128 Breakout Board PIC32MX150F128 Breakout Board This is a description of a 32 Bit PIC32MX breakout board to be used for fast prototyping. It could also be used for conventional circuit boards to avoid the fine pitch of

More information

Workshop on Microcontroller Based Project Development

Workshop on Microcontroller Based Project Development Organized by: EEE Club Workshop on Microcontroller Based Project Development Presented By Mohammed Abdul Kader Assistant Professor, Dept. of EEE, IIUC Email:kader05cuet@gmail.com Website: kader05cuet.wordpress.com

More information

TDSDB Features. Description

TDSDB Features. Description TDSDB14550 Features Inexpensive development or project board providing quick start up solution. 5v Pic alternative to the 3.3v TDSDB146J50 Mini B USB socket to provide power and USB functionality. 40 pin

More information

Wireless communication for social robotics. Gu C. Department of Electrical & Computer Enginnering. National University of.

Wireless communication for social robotics. Gu C. Department of Electrical & Computer Enginnering. National University of. Wireless communication for social robotics Gu C. Department of Electrical & Computer Enginnering. National University of Singapore ABSTRACT Wireless communication has been widely used in Social Robotics

More information

PIC-P67J60 development board Users Manual

PIC-P67J60 development board Users Manual PIC-P67J60 development board Users Manual Rev.A, July 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: If you want to build your own Internet enabled device this is the board for you.

More information

Lab Course Microcontroller Programming

Lab Course Microcontroller Programming Technische Universität München Fakultät für Informatik Forschungs- und Lehreinheit Informatik VI Robotics and Embedded Systems Lab Course Microcontroller Programming Michael Geisinger geisinge@in.tum.de

More information

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet Example Application...

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet Example Application... Overview of the PIC 16F648A Processor: Part 1 EE 361L Lab 2.1 Last update: August 19, 2011 Abstract: This report is the first of a three part series that discusses the features of the PIC 16F684A processor,

More information

PICado Alpha Development Board V1.0

PICado Alpha Development Board V1.0 V1.0 Bluetooth Transceiver Module HC-05 Four onboard FET power output stage 34 freely assignable I/O pins ICSP interface 2015 Jan Ritschard, All rights reserved. V1.0 Table of Contents 1. Introduction...

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

Microcontroller Basics

Microcontroller Basics Microcontroller Basics Gabe Cohn CSE 599U February 6, 2012 www.gabeacohn.com/teaching/micro Outline Overview of Embedded Systems What is a Microcontroller? Microcontroller Features Common Microcontrollers

More information

Sierra Radio Systems. Station Controller. User Guide. Version 1.1

Sierra Radio Systems. Station Controller. User Guide. Version 1.1 Sierra Radio Systems User Guide Station Controller Version 1.1 Welcome HamStack GPIO Board Reference Manual Revision 1.0 2011 George Zafiropoulos, KJ6VU and John Best, KJ6K This guide provides a broad

More information

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company #102, W Block, 2nd and 3rd floor, 2nd Avenue, Anna nagar Roundtana, Chennai-40 E-mail: wiztech4automation@gmail.com web:

More information

PIC Microcontroller and

PIC Microcontroller and PIC Microcontroller and Embedded d Systems Muhammad Ali Mazidi, Rolin McKinlay and Danny Causey Eng. Husam Alzaq The Islamic Uni. Of Gaza The PIC ucs 1-1 Chapter 1: The PIC Microcontrollers: History and

More information

Breeze Board. Type B. User Manual.

Breeze Board. Type B. User Manual. Breeze Board Type B User Manual www.dizzy.co.za Contents Introduction... 3 Overview Top... 4 Overview Bottom... 5 Getting Started (USB Bootloader)... 6 Power Circuitry... 7 USB... 8 Microcontroller...

More information

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers What is common between these systems? What is common between these systems? Each consists of an internal smart computer

More information

Introduction to ARM LPC2148 Microcontroller

Introduction to ARM LPC2148 Microcontroller Introduction to ARM LPC2148 Microcontroller Dr.R.Sundaramurthy Department of EIE Pondicherry Engineering College Features of LPC2148 in a Nut Shell CPU = ARM 7 Core Word Length = 32 Bit ROM = 512 KB RAM

More information

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software! Summer Training 2016 Advance Embedded Systems Fast track of AVR and detailed working on STM32 ARM Processor with RTOS- Real Time Operating Systems Covering 1. Hands on Topics and Sessions Covered in Summer

More information

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual LBAT90USB162 Atmel AT90USB162 Development Board User s manual 1 1. INTRODUCTION Thank you for choosing the LBAT90USB162 Atmel AT90USB162 development board. This board is designed to give quick and cost-effective

More information

AVR-TLCD-128CAN development board Users Manual

AVR-TLCD-128CAN development board Users Manual AVR-TLCD-128CAN development board Users Manual Rev.A, July 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: AVR-TLCD-128CAN adds cool LCD and touchscreen interface to your next project.

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

Table of Contents COMPANY PROFILE 1-1 SECTION 1. INTRODUCTION 1-1

Table of Contents COMPANY PROFILE 1-1 SECTION 1. INTRODUCTION 1-1 COMPANY PROFILE 1-1 SECTION 1. INTRODUCTION 1-1 Introduction... 1-2 Manual Objective... 1-3 Device Structure... 1-4 Development Support... 1-6 Device Varieties... 1-7 Style and Symbol Conventions... 1-12

More information

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation Embedded systems Exercise session 3 Microcontroller Programming Lab Preparation Communications Contact Mail : michael.fonder@ulg.ac.be Office : 1.82a, Montefiore Website for the exercise sessions and the

More information

Distributed Real- Time Control Systems

Distributed Real- Time Control Systems Distributed Real- Time Control Systems Lecture 2 Embedded Systems Basics A. Bernardino, C. Silvestre, IST- ACSDC 1 What are embedded systems? Small computers to efficiently address specific purposes, e.g.

More information

Acknowledgments About the Author

Acknowledgments About the Author Acknowledgments p. xi About the Author p. xii Introduction p. xiii The Intel 8051 p. xv Additional information and resources p. xvi Conventions used in this book p. xvii Microcontrollers p. 1 Different

More information

ECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015

ECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015 ECE 353 Lab 4 General MIDI Explorer Professor Daniel Holcomb Fall 2015 Where are we in Course Lab 0 Cache Simulator in C C programming, data structures Cache architecture and analysis Lab 1 Heat Flow Modeling

More information

Capacitive Touch Remote Control Reference Design User s Guide

Capacitive Touch Remote Control Reference Design User s Guide Capacitive Touch Remote Control Reference Design User s Guide Microchip Korea V0.8-page 1 Capacitive Touch Remote Control Reference Design User s Guide Table of Contents Chapter 1. Introduction 1.1 Introduction

More information

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor 1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor

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

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their S08 Highlighted Features Why Do I Need a Slave LIN Interface Controller (SLIC)? Design Challenges Slave synchronization Slave synchronizing to LIN messaging requires a cost versus resource trade-off. Your

More information

Diploma in Embedded Systems

Diploma in Embedded Systems Diploma in Embedded Systems Duration: 5 Months[5 days a week,3 hours a day, Total 300 hours] Module 1: 8051 Microcontroller in Assemble Language Characteristics of Embedded System Overview of 8051 Family

More information

The Freescale MC908JL16 Microcontroller

The Freescale MC908JL16 Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Freescale MC908JL16 Microcontroller by Allan G. Weber 1 Introduction The Freescale MC908JL16 (also called

More information

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD MODULE-1 C Programming Language Introduction to C Objectives of C Applications of C Relational and logical operators Bit wise operators The assignment statement Intermixing of data types type conversion

More information

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals Embedded Flash Solutions Z8 Encore! XP F1680 Series High-performance 8-bit Flash MCU F1680 advantage low power - 1.8 V highly integrated peripherals flexible memory options optimized cost/performance target

More information

EMBEDDED SYSTEMS COURSE CURRICULUM

EMBEDDED SYSTEMS COURSE CURRICULUM On a Mission to Transform Talent EMBEDDED SYSTEMS COURSE CURRICULUM Table of Contents Module 1: Basic Electronics and PCB Software Overview (Duration: 1 Week)...2 Module 2: Embedded C Programming (Duration:

More information

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM).

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM). Lab # 6 Serial communications & EEPROM Objectives To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM). Serial Communications Serial

More information

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

EE 354 Fall 2015 Lecture 1 Architecture and Introduction EE 354 Fall 2015 Lecture 1 Architecture and Introduction Note: Much of these notes are taken from the book: The definitive Guide to ARM Cortex M3 and Cortex M4 Processors by Joseph Yiu, third edition,

More information

MEXLE. International Educational Platform. International Educational Platform. for Informatics based on Embedded Systems

MEXLE. International Educational Platform. International Educational Platform. for Informatics based on Embedded Systems MEXLE for Informatics based on Embedded Systems Overview 1. Introduction 2. MiniMEXLE Hardware 3. ATMEL AVR Microcontrollers 4. Teaching Informatics with MEXLE 2 HSHN G. Gruhler (2006) Einfuehrung-miniMEXLE-AVR.ppt

More information

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd. Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion

More information

More than Compatibility

More than Compatibility More than Compatibility MassDuino MD-328D 8-bit Microcontroller with 32K bytes In-System Programmable Flash www.inhaos.com DOC ID: DS-MD-328D-V01-20160412 www.inhaos.com Page: 1 of 10 Features: More Fast

More information

EasyPIC5 Development System

EasyPIC5 Development System EasyPIC5 Development System Part No.: MPMICRO-PIC-Devel- EasyPIC5 Overview EasyPIC5 is a development system that supports over 120 8-, 14-, 18-, 20-, 28- and 40-pin PIC MCUs. EasyPIC5 allows PIC microcontrollers

More information

GPIO-2 Board and Station Controller Firmware

GPIO-2 Board and Station Controller Firmware Sierra Radio Systems User Guide GPIO-2 Board and Station Controller Firmware Version 2.0 Welcome HamStack StationController and GPIO Board Reference Manual Revision 2.0 2011 George Zafiropoulos, KJ6VU

More information