Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
PICAXE Microcontrollers  An Introduction by NearSys
What is a PICAXE?• A family of microcontrollers• Based on the PIC microcontroller• Internally programmed with an interpret...
PICAXE Variations   PICAXE-08M2   PICAXE-14M2   PICAXE-18M2   PICAXE-20M2   PICAXE-28X2   PICAXE-40X2
PICAXE VoltagesFive volt chips, but can operate at 1.8 volts
PICAXE Multiple Programs       PICAXE-08M2       PICAXE-14M2       PICAXE-18M2       PICAXE-20M2       PICAXE-28X2       P...
PICAXE Multiple Programs       PICAXE-08M2       PICAXE-14M2       PICAXE-18M2       PICAXE-20M2       PICAXE-28X2       P...
PICAXE Clock Speed    PICAXE-08M2    PICAXE-14M2    PICAXE-18M2    PICAXE-20M2    PICAXE-28X2    PICAXE-40X2
PICAXE Clock Speed    PICAXE-08M2    PICAXE-14M2    PICAXE-18M2    PICAXE-20M2    PICAXE-28X2    PICAXE-40X2
PICAXE Pins• Logic low < 1.4 V• Up to four banks, A, B, C, and D  depending on variation• Most I/O pins are bidirectional•...
PICAXE Memory•   Program•   RAM•   Data•   Scratch Pad
PICAXE Memory•   Program•   RAM•   Data•   Scratch Pad
PICAXE Memory•   Program•   RAM (variables)•   Data•   Scratch Pad
PICAXE Memory•   Program•   RAM•   Data•   Scratch Pad
PICAXE Memory•   Program•   RAM (variables)•   Data•   Scratch Pad
Code Examples          Input Commands•   PIN•   COUNT•   PULSIN•   SERIN•   READI2C•   READADC and READADC10•   IRIN•   RFIN
Code Examples          Output Commands•   HIGH and LOW•   PULSOUT•   SEROUT•   WRITEI2C•   PLAY and TUNE•   SERVO•   PMWOU...
Code Examples    Program Flow Control Commands•   GOTO•   GOSUB-RETURN•   FOR-NEXT•   DO-LOOP (UNTIL or WHILE)•   IF-THEN-...
Code Examples    Communications Commands• I2cslave 10100000,i2cfast,i2cword• writei2c 0,("hello")• readi2c 0,(b0,b1,b2,b3,...
Code Examples      Communications Commands•   debug•   serout B.0, T1200_4,(“Testing”)•   serin C.1, T1200_4,(“X”),B.0, B....
Code Examples       Memory Commands• PEEK-POKE• READ-WRITE• GET-PUT
The Editor
EditorSelecting the Mode
EditorSelecting the Serial Port
EditorExample of a Text Program
EditorExample of a Flowchart Program
EditorExample of a Wizard
EditorExample of Syntax Check
EditorDownloading Program
EditorSimulating a Program
EditorDebugging a Program
EditorTerminal Program
Want to Learn More?Boise Robotics Group (The BoRG)   Third Saturday of the Month Hobby Town at Cole and Ustick        10:0...
“Whether were fighting climate change or    going to space, everything is moved forward by computers, and we dont have    ...
Upcoming SlideShare
Loading in …5
×

Introduction to PICAXE Microcontrollers

2,057 views

Published on

This presentation was given at Boise Code Camp 2013 as an introduction to six popular PICAXE microcontrollers.

Published in: Technology
  • www.HelpWriting.net helped me too. I always order there
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • My brother found Custom Writing Service ⇒ www.HelpWriting.net ⇐ and ordered a couple of works. Their customer service is outstanding, never left a query unanswered.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi there! I just wanted to share a list of sites that helped me a lot during my studies: .................................................................................................................................... www.EssayWrite.best - Write an essay .................................................................................................................................... www.LitReview.xyz - Summary of books .................................................................................................................................... www.Coursework.best - Online coursework .................................................................................................................................... www.Dissertations.me - proquest dissertations .................................................................................................................................... www.ReMovie.club - Movies reviews .................................................................................................................................... www.WebSlides.vip - Best powerpoint presentations .................................................................................................................................... www.WritePaper.info - Write a research paper .................................................................................................................................... www.EddyHelp.com - Homework help online .................................................................................................................................... www.MyResumeHelp.net - Professional resume writing service .................................................................................................................................. www.HelpWriting.net - Help with writing any papers ......................................................................................................................................... Save so as not to lose
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Introduction to PICAXE Microcontrollers

  1. 1. PICAXE Microcontrollers An Introduction by NearSys
  2. 2. What is a PICAXE?• A family of microcontrollers• Based on the PIC microcontroller• Internally programmed with an interpreter and communications program• Program stored in the PIC’s internal EEPROM• Interpreter operates on one instruction at a time
  3. 3. PICAXE Variations PICAXE-08M2 PICAXE-14M2 PICAXE-18M2 PICAXE-20M2 PICAXE-28X2 PICAXE-40X2
  4. 4. PICAXE VoltagesFive volt chips, but can operate at 1.8 volts
  5. 5. PICAXE Multiple Programs PICAXE-08M2 PICAXE-14M2 PICAXE-18M2 PICAXE-20M2 PICAXE-28X2 PICAXE-40X2
  6. 6. PICAXE Multiple Programs PICAXE-08M2 PICAXE-14M2 PICAXE-18M2 PICAXE-20M2 PICAXE-28X2 PICAXE-40X2
  7. 7. PICAXE Clock Speed PICAXE-08M2 PICAXE-14M2 PICAXE-18M2 PICAXE-20M2 PICAXE-28X2 PICAXE-40X2
  8. 8. PICAXE Clock Speed PICAXE-08M2 PICAXE-14M2 PICAXE-18M2 PICAXE-20M2 PICAXE-28X2 PICAXE-40X2
  9. 9. PICAXE Pins• Logic low < 1.4 V• Up to four banks, A, B, C, and D depending on variation• Most I/O pins are bidirectional• Hardware interrupts on the X2• Software interrupts on both the M2 and X2
  10. 10. PICAXE Memory• Program• RAM• Data• Scratch Pad
  11. 11. PICAXE Memory• Program• RAM• Data• Scratch Pad
  12. 12. PICAXE Memory• Program• RAM (variables)• Data• Scratch Pad
  13. 13. PICAXE Memory• Program• RAM• Data• Scratch Pad
  14. 14. PICAXE Memory• Program• RAM (variables)• Data• Scratch Pad
  15. 15. Code Examples Input Commands• PIN• COUNT• PULSIN• SERIN• READI2C• READADC and READADC10• IRIN• RFIN
  16. 16. Code Examples Output Commands• HIGH and LOW• PULSOUT• SEROUT• WRITEI2C• PLAY and TUNE• SERVO• PMWOUT• IROUT• RFOUT
  17. 17. Code Examples Program Flow Control Commands• GOTO• GOSUB-RETURN• FOR-NEXT• DO-LOOP (UNTIL or WHILE)• IF-THEN-ELSEIF• ON-GOTO (GOSUB)• SELECT-CASE• BRANCH
  18. 18. Code Examples Communications Commands• I2cslave 10100000,i2cfast,i2cword• writei2c 0,("hello")• readi2c 0,(b0,b1,b2,b3,b4)
  19. 19. Code Examples Communications Commands• debug• serout B.0, T1200_4,(“Testing”)• serin C.1, T1200_4,(“X”),B.0, B.1, B.2• sertxd (“Value: ,”B.5)• serrxd (B.0, B.1, B.2, B.3)• hsersetup b9600_4, %10• hserout 0,(b.0)• hserin 0,50
  20. 20. Code Examples Memory Commands• PEEK-POKE• READ-WRITE• GET-PUT
  21. 21. The Editor
  22. 22. EditorSelecting the Mode
  23. 23. EditorSelecting the Serial Port
  24. 24. EditorExample of a Text Program
  25. 25. EditorExample of a Flowchart Program
  26. 26. EditorExample of a Wizard
  27. 27. EditorExample of Syntax Check
  28. 28. EditorDownloading Program
  29. 29. EditorSimulating a Program
  30. 30. EditorDebugging a Program
  31. 31. EditorTerminal Program
  32. 32. Want to Learn More?Boise Robotics Group (The BoRG) Third Saturday of the Month Hobby Town at Cole and Ustick 10:00 AM to noon Learn to Make a Robot A community education class
  33. 33. “Whether were fighting climate change or going to space, everything is moved forward by computers, and we dont have enough people who can code”. Richard Branson

×