PICAXE Microcontroller

Slides:



Advertisements
Similar presentations
Lecture 1 – Arduino Basics
Advertisements

Lab7: Introduction to Arduino
Introduction 2 BASIC Stamp®. Microcontrollers Microcontrollers can be thought of as very small computers which may be programmed to control systems such.
Basic Stamp II is kinda cool Bytes of EEPROM(non-volatile) - Clock speed of 20 MHz. - Holds 600 lines of code in EEPROM - executes an average of.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Microcontroller: Introduction
Embedded Programming and Robotics
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
PICS / Microcontrollers
Basic Stamp Quick Start. Basic Stamp II Self contained computer –“Micro-controller” Specialized for “embedded” computing (sensing and controlling things)
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 1 Introducing Hardware.
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
The Basic Stamp Instruction Set Architecture. The Microprocessor A microprocessor is a computer that typically has an architecture that is well suited.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Programming the CheapBot-14. Start the Editor Set the Mode.
Propulsiometer Instrumented Wheelchair Wheel Prepared by: Seri Mustaza (BME) Siti Nor Wahida Fauzi (BME) Ahmad Shahir Ismail (EECE) Hafizul Anwar Raduan.
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
BUS IN MICROPROCESSOR. Topics to discuss Bus Interface ISA VESA local PCI Plug and Play.
Digital Electronics Board-of-Education : Input. Board of Education - Input This presentation will explain, both from a hardware and software perspective,
PICAXE Microcontrollers An Introduction by NearSys.
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
ME456:Mechatronics WAM Chapter 1: Getting Started Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
PICAXEPIC Amherst Railroad Hobby Show Dave Bodnar January 24, 2014 Amherst, MA PICAXE Workshop Enhancing your Railroad with Microcontrollers This.
Presented by Sadhish Prabhu
Digital Electronics Board-of-Education : Output. Board of Education - Output This presentation will explain, both from a hardware and software perspective,
Microcontrollers, Microcomputers, and Microprocessors
Components of a typical full-featured microcontroller.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Wireless Bluetooth Controller For DC Motor. Introduction Wireless becoming more and more available and widely used Bluetooth is one of the major players.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
Harpeth Hall Jan 2016 Introduction to Arduino Prepared for Harpeth Hall Winterim January 2016.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Application Case Study Christmas Lights Controller
Voice Controlled Robot by Cell Phone with Android App
CCNA 2 v3.1 Module 2 Introduction to Routers
Microcontrollers, Basics Tips and Tricks with PIC MCUs
Dr. Kyung Eun Park Summer 2017
Fundamentals of Computer Engineering
Introduction to the Arduino
UTA010 : Engineering Design – II
An Arduino Workshop A Microcontroller.
BASIC Stamp II Programming for Descartes Robots
INTRODUCTION TO THE RASPBERRY PI Darrell Davis KT4WX
Programming Boe-Bots (Part 1)
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
مقدمة في الاردنيو د فضل الاكوع.
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Introduction to Microprocessors and Microcontrollers
Future Designs, Inc. Your Development Partner
Interrupts, Tasks and Timers
McCrometer Nano Board Test Procedure
PLC’s Are ... Similar to a Microcontroller: Microprocessor Based

CSCI1600: Embedded and Real Time Software
Dave Mawdsley, DACS Member, Linux SIG January 16, 2013
CSCI1600: Embedded and Real Time Software
Testing 1, 2, 3, testing, testing…
Command and Data Handling
Introduction to Arduino
Lab #1: Getting Started.
Presentation transcript:

PICAXE Microcontroller Introduction to the PICAXE Microcontroller By Darrell Davis KT4WX ARRL Technical Specialist ARRL West Central Florida Section

Introduction to the PICAXE Microcontroller KEY TO THIS PROGRAM If you like this program: Fall asleep with your head forward If you dislike this program: Fall asleep with your head backward. All the heads should be forward when I am finished :-)

Introduction to the PICAXE Microcontroller PROGRAM OUTLINE I. History of the PICAXE II. PICAXE Processor Line III. PICAXE Commands IV. PICAXE Programming V. PICAXE Sample Program VI. PICAXE Resources

Introduction to the PICAXE Microcontroller I. History of the PICAXE Based upon the Microchip PIC Series of Microcontrollers. PICAXE is a pre-loaded “Basic Interpreter” or “bootstrap firmware code”.

Introduction to the PICAXE Microcontroller I. History of the PICAXE Produced by a UK (British) company called Revolution Education Ltd. (Rev-Ed) The first PICAXE interpreter was produced in 1999 but has been vastly improved and expanded since that time.

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line Currently there is a wide selection of processors available in the PICAXE line. Available in 8 Pin to 40 Pin DIP packages. Available also in Surface Mount: (SOIC, and TQFP Packages).

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE M2 SERIES Standard Series of Controllers Processor Program Memory I/O Pins RAM Clock PICAXE 08M2 2048 Bytes (2K) 6 128 Bytes 4-32 MHz PICAXE 14M2 12 512 Bytes PICAXE 18M2 2049 Bytes (2K) 16 256 Bytes PICAXE 20M2 18

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE X2 SERIES Advance Series of Controllers More Features, Ports, and Speed Processor Program Memory I/O Pins RAM Clock PICAXE 20X2 4096 Bytes (4K) 18 256 4-64 MHz PICAXE 28X2 22 1280 PICAXE 40X2 33

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE 08M2 PICAXE 14M2

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE 18M2 PICAXE 20M2

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE 20X2 PICAXE 28X2

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE 40X2 – TOP OF THE LINE 600 mm DIP Package – All others 300mm DIP Package

Introduction to the PICAXE Microcontroller II. PICAXE Processor Line PICAXE 08M2 MODULE PICAXE 28X2 MODULE

Introduction to the PICAXE Microcontroller III. PICAXE Commands Originally, microcontrollers were programmed in assembler More recently, nearly all microcontroller programming is done in C++ The PICAXE is programmed in BASIC!!

Introduction to the PICAXE Microcontroller III. PICAXE Commands Digital Input/Output Commands COMMAND DETAILS High Switch an output pin on Pwmout Generate a continuous pulse width modulation Low Switch an output pin off Pwmduty Set duty cycle of a pulse width modulation output Toggle Switch an output between on and off Input Set a pin as in input Sound Generate simple sounds Output Set a pin as an output Button Detect and debounce a pushbutton switch If Pin Respond to the state of an input pin

Introduction to the PICAXE Microcontroller III. PICAXE Commands Time Delays and Variables COMMAND DETAILS Pause Pause for a defined number of milliseconds For/Next Repeat a loop for number of time. Return from loop Pauseus Pause for a defined number of mcroseconds If / Else Conditionally execute program code. Alternative Wait Delay for a number of seconds EndIf End of If / Else statement Sleep Sleep for a period of time Gosub / Return Call a routine Come back from routine Doze Reduce pwr consumed for a short period of time Goto Continue program execution from label

Introduction to the PICAXE Microcontroller IV. PICAXE Programming PICAXE is programmed with a serial connection Programming Pins: SERIN, SEROUT, GND. Programming can be done with a Windows Based PC with a RS232 Serial or USB Port.

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Serial Port Programming Can use a DB-9 Male in Place of 3.5 mm Connector

Introduction to the PICAXE Microcontroller IV. PICAXE Programming USB Port Programming Uses a USB to Serial Adapter. USB Serial Cable #AXE027 USB Serial Adapter #AXE029

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Programming Software: PICAXE Programming Editor – Version 5

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Programming Software: PICAXE Editor 6 (Replaces PICAXE Programming Editor V5)

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Programming Software: AXEPAD: Available in Windows, Linux, and Mac

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Items needed to start with PICAXE Programming and Experimenting: Computer with Windows, Linux, or Mac OS. More programming applications available with Windows. Serial Cable or USB to Serial Converter: If computer has USB Ports only or if desired Port.

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Items needed to start with PICAXE Programming and Experimenting: 3VDC TO 5VDC Power Supply or Battery. DO NOT EXCEED 5VDC. PICAXE Controller of choice. Solderless Breadboard with parts needed to breadboard desired circuit..

Introduction to the PICAXE Microcontroller IV. PICAXE Programming Do not apply more than 5VDC to your PICAXE!!

Introduction to the PICAXE Microcontroller V. PICAXE Sample Program Quick Program: BLINKNG LED Turns Port 4 (PIN 3) On and off in a continuous loop.

Introduction to the PICAXE Microcontroller VI. Sample PICAXE Project DEMONSTRATION TIME: A 3 minute or 10 minute timer with a PICAXE 08M2 Processor with less parts count than a comparable 555 Timer. The 555 Timer cannot do 2 time modes without a higher parts count.

Introduction to the PICAXE Microcontroller VI. PICAXE Resources BOOK RESOURCES: Ham Radio for Arduino and PICAXE by Leigh L. Klotz Jr. WA5ZNU ISBN-13: 978-0872593244 Programming and Customizing the PICAXE Microcontrollers by David Lincoln ISBN-13: 978-0071457651

Introduction to the PICAXE Microcontroller VI. PICAXE Resources INTERNET RESOURCES: PICAXE Website: http://www.picaxe.com PICAXE Programming Software: http://www.picaxe.com/Software PICAXE Hardware Manuals: http://www.picaxe.com/Getting-Started/PICAXE-Manuals/

Introduction to the PICAXE Microcontroller VI. PICAXE Resources INTERNET RESOURCES: PICAXE Wikipedia Page: http://en.wikipedia.org/wiki/PICAXE YouTube Video Tutorials: https://www.youtube.com/user/azadude18/videos

Introduction to the PICAXE Microcontroller CONTACT INFORMATION Darrell Davis KT4WX 6350 Mills Road Fort Meade, FL 33841-9584 (863) 245-9923 Email: kt4wx@arrl.net Website: http://www.kt4wx.org