Testing 1, 2, 3, testing, testing…

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
Gary Sutcliffe, W9XT Copyright © 2012 Gary C. Sutcliffe.
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.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
PICS / Microcontrollers
Basic Stamp Quick Start. Basic Stamp II Self contained computer –“Micro-controller” Specialized for “embedded” computing (sensing and controlling things)
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
PIC microcontrollers. PIC microcontrollers come in a wide range of packages from small chips with only 8 pins and 512 words of memory all the way up to.
Atmega32 Architectural Overview
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Getting started with interactive projects using the Arduino, Max and Processing.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Introduction to the Arduino
Programming the CheapBot-14. Start the Editor Set the Mode.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
Getting Started With the Arduino Uno
Microcontrollers, Microcomputers, and Microprocessors
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
ARDUINO OVERVIEW Bob Wilton – KF5TPQ. ARDUINO UNO.
Microcontroller basics Embedded systems for mortals.
Pulse-Width Modulation: Simulating variable DC output
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Introducing the Arduino Uno Presented by Dave Mawdsley, DACS Member, Linux SIG Member (wiring, programming and running a cute traffic light simulation)
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
Having fun with code, using Arduino in a middle school CS classroom
Arduino.
Arduino Part 1 Topics: Microcontrollers
PICAXE Microcontroller
Popular Microcontrollers and their Selection by Lachit Dutta
Prototyping with Microcontrollers and Sensors
Dr. Kyung Eun Park Summer 2017
Fundamentals of Computer Engineering
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
Single board computers in the ham shack
Atmega32 Architectural Overview
Introduction to the Arduino
Arduino & its hardware interfacing
UNIT – Microcontroller.
Lab 1: Arduino Basics Topics: Arduino Fundamentals, First Circuit
Arduino Part 1 Topics: Microcontrollers Programming Basics
INC 161 , CPE 100 Computer Programming
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Zigbee Networks Using Xbee Modules
Programming Boe-Bots (Part 1)
Subject Name: Microcontroller Subject Code: 10ES42
Describe how NASA remotely controls equipment in space.
Introduction to Microprocessors and Microcontrollers
Displays and I2C(IIC) communications
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Introducing the Arduino Uno
CSCI1600: Embedded and Real Time Software
Acronyms Galore: Wired for Success
CSCI1600: Embedded and Real Time Software
Manual Robotics ..
Introduction to Arduino
Lab #1: Getting Started.
Introduction to Arduino IDE and Software
I/O Experiments Assignment 1.
Presentation transcript:

Testing 1, 2, 3, testing, testing…

Mike Hembrey WCF Technical Specialist KV0OOM Picaxe JumpStart Mike Hembrey WCF Technical Specialist KV0OOM

Microcontroller, not microcomputer Can perform many tasks Wordprocessing Spreadsheets Video editing Controlling CNC machines Digital communications

Microcontroller, not microcomputer Can perform many tasks Wordprocessing Spreadsheets Video editing Controlling CNC machines Digital communications Microcontroller: Assigned one task Limited instruction set Difference is getting blurred

Microcontroller Several Languages Assembler or Machine “C” BASIC

Microcontroller Several Languages Assembler or Machine “C” BASIC  Picaxe

Microcontroller Several Languages BASIC is really B.A.S.I.C. Assembler or Machine “C” BASIC  Picaxe BASIC is really B.A.S.I.C. What does this really mean?

Are you smarter than a 9th grader?

Are you smarter than a 9th grader? Say “yes” if you have a Ham license!

$3 Part will have limitations Memory, but you can add more using I2C Speed, but you can upsize to faster versions # of I/O pins, but bigger versions have more pins Features: analog, digital, PWM, interrupts – (X2 only)

More computing power?

More computing power? Still want to stick with BASIC to reuse code?

More computing power? Still want to stick with BASIC to reuse code? Picaxe 40X2 Chip, faster and more pins Coridium ARMbasic (compiled) Parallax BASIC Stamp (educational) MikroElectronica Mikro BASIC (PIC Clicker)

Picaxe is an Input/Output Device

Picaxe is an Input/Output Device

Picaxe is an Input/Output Device

Picaxe is an Input/Output Device

Picaxe is an Input/Output Device

Picaxe is an Input/Output Device

Picaxe is an Input/Output Device

Picaxe Inputs are very simple Digital – switches Analog – variable resistances or voltages

Other Picaxe I/O Modes: I2C – Inter-IC synchronous, multi-master, multi-slave, packet switched, single- ended, serial computer bus Serial – Pseudo RS-232 (due to voltage levels) 300 to 115,200 baud PWM – Pulse Width Modulation The on-off ratio is varied to give more or less power on time SPI – Serial Peripheral Interface Faster, subject to noise interference, single master only

Picaxe Manuals & Tutorials 110 Introduction (chip types [8-40 pins], and pinouts) 279 BASIC Commands (complete language reference) 46 Interfacing (using input and output devices) 60 Flowcharts (simulate and create code programs) 35 Blockly (simulator using drag and drop blocks to program)

Picaxe Manuals & Tutorials 110 Introduction (chip types [8-40 pins], and pinouts) 279 BASIC Commands (complete language reference) 46 Interfacing (using input and output devices) 60 Flowcharts (simulate and create code programs) 35 Blockly (simulator using drag and drop blocks to program) 76,600 INTERNET is your best friend

Your First Development Setup PC with USB or RS-232 Port Cable – RS-232 or RS-232 to Picaxe Interface (AXE027) Integrated Development Environment (IDE) v6 Prototyping board or solderless breadboard 3 to 5.5-volt power source

Your First Development Setup PC with USB or RS-232 Port Cable – RS-232 or RS-232 to Picaxe Interface (AXE027) Integrated Development Environment (IDE) v6 Prototyping board or solderless breadboard 3 to 5.5-volt power source And This  for every circuit….

The Solderless Breadboard

The 50% Solderless Breadboard

Inputs, Assigned to Variables Variables are Bit, Byte, and Word Bit = Single bit, 0 or 1 Byte = 8 Bits Word = 2 Bytes, or 16 Bits Variable spaces overlap, 16 Word variables total These variables hold the hi-lo values of the pins.

Chomping at the BIT w0 = b1 : b0 w1 = b3 : b2 w2 = b5 : b4 etc... b0 = bit7: bit6: bit5: bit4: bit3: bit2: bit1: bit0 b1 = bit15: bit14: bit13: bit12: bit11: bit10: bit9: bit8

Pin Designations, a bit Goofy Logical Pin vs. Actual Pin Your 08M2 program will run on the 20M2 chip

Project Idea Sources Internet Arduino for Ham Radio, by Glen Popiel, ARRL More Arduino Projects… CW Beacon and Foxhunt Keyer Fan Speed Controller Weather Station RF Probe with LED (bar) Graph Display Solar Battery Charge Monitor On-Air Indicator (RF sensing) Talking SWR Meter Field Day Satellite Tracker

Project Idea Sources Internet – Google “picaxe design projects”, 242,000 hits Arduino for Ham Radio, by Glen Popiel, ARRL More Arduino Projects… Az/EL Rotator Controller(Yaesu G5400/5500) Lightning Detector (estimates distance) CDE/Hy-Gain Rotator Controller (all new, not a re-fit) Load Tester (battery, to 20A load) Voice Memory Keyer (uses pre-recorded messages) Yaesu FT-series Rotator Controller Interface (to CDR/Hy-Gain box)

Primary BASIC Language Keywords If Then Else GOTO (a Label) LabelName (the Label) For Next Do Loop Gosub (a Label), Return Pause Input, Output (configure pins for I/O) 120+ command keywords, 150+ non-command

Why I like the Picaxe: Lowest cost, especially if I fry one Programming is in BASIC, with minimal add-on libraries Don’t like the convoluted syntax of “C” Ideal for small dedicated projects Easy to upscale to a higher performance controller Finally….

Why I like the Picaxe Lowest cost, especially if I fry one Programming is in BASIC, with minimal add-on libraries Don’t like the convoluted syntax of “C” Ideal for small dedicated projects Easy to upscale to a higher performance controller Finally…. The massive amount of information on the Internet!

The End

Mike Hembrey Mike.kv0oom@gmail.com The End Beginning Mike Hembrey Mike.kv0oom@gmail.com