Picaxe JumpStart - KT4WX

Picaxe JumpStart - KT4WX

Testing 1, 2, 3, testing, testing Picaxe JumpStart Mike Hembrey WCF Technical Specialist KV0OOM Microcontroller, not

microcomputer Microcomputer: Can perform many tasks Wordprocessing Spreadsheets Video editing Controlling CNC machines Digital communications

Microcontroller, not microcomputer 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 Assembler or Machine C BASIC Picaxe

BASIC is really B.A.S.I.C. What does this really mean? Are you smarter than a th 9 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 = w1 = w2 = w3 = etc...

b1 : b0 b3 : b2 b5 : b4 b7 : b6 b0 = bit7: bit6: bit5: bit4: bit3: bit2: bit1: bit0 b1 = bit15: bit14: bit13: bit12: bit11: bit10: bit9: bit8 etc...

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 Dont 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 Dont 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 The End

Beginning Mike Hembrey [email protected]

Recently Viewed Presentations

  • Diapositive 1

    Diapositive 1

    Retard dans la distribution du prix C.civ. art. 2216 : Si la distribution du prix n'est pas intervenue dans un délai fixé par décret en Conseil d'Etat, la consignation produit, à l'égard du débiteur, tous les effets d'un paiement à...
  • The Role of the CWL Executive

    The Role of the CWL Executive

    The Role of the executiveThe Catholic Women's League of Canada ... Every member must be clear in purpose and excited about belonging. Together we can celebrate our achievements for God and Canada. ... Pulpit speeches. Being a visible and effective...
  • Heart Murmurs - Stritch School of Medicine

    Heart Murmurs - Stritch School of Medicine

    C. Aortic ejection murmur D. Pulmonic stenosis (spilling through S20 E. Aortic/Pulm. diastolic murmur F. Mitral stenosis w/ Opening snap G. Mid-diastolic inflow murmur H. Continuous murmur of PDA Heart Murmurs Outline I. Basic Pathophysiology II. Describing murmurs III. Systolic...
  • Powered Industrial Trucks (29 DFR 1910.178)

    Powered Industrial Trucks (29 DFR 1910.178)

    This presentation is designed to assist trainers conducting OSHA outreach training for workers. Since workers are the target audience, this presentation emphasizes hazard identification, avoidance, and control - not standards. No attempt has been made to treat the topic exhaustively.
  • Introduction to Computational Linguistics

    Introduction to Computational Linguistics

    Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 1 Let's introduce ourselves Course: Introduction to Computational Linguistics (Ling 2-342) Meeting times: Monday 11:00-14:00 Meeting place: here Prof: Eleni Miltsakaki BA Aristotle University -- English & American Lang. & Lit.
  • 11 Anxiety and ObsessiveCompulsive Disorders Eric J. Mash

    11 Anxiety and ObsessiveCompulsive Disorders Eric J. Mash

    11 Anxiety and Obsessive—Compulsive Disorders * * * Figure 11.3 A possible developmental pathway for anxiety disorders Source Cengage Learning, 2016 * * * * * * * Figure 11.4 Number and severity of diagnosed anxiety disorders over 3 years...
  • Folie 1 - uni-luebeck.de

    Folie 1 - uni-luebeck.de

    For example, a robot equipped with a video camera has incomplete information and thus at any time is in a partially observable state and should decide taking into account this uncertainty. A task may also re-quire a concurrent operation of...
  • Regional Referral Hospital Management Project

    Regional Referral Hospital Management Project

    Strengthening Hospital Management in Regional Referral Hospitals in Tanzania. ... Develop Internal SS . Pilot in 3 RRHs. Training on M&E to all RRHs. Useful for evidence based CHOP development. Phase 1. May 2015 - Aug.2016. Phase 2. Oct.2016 -...