Professional Documents
Culture Documents
Assignment 1 - PICAXE Introduction
Assignment 1 - PICAXE Introduction
About PICAXE
We can easily find anywhere an embedded system which is an application for controlling such as home appliance like a washing machine, refrigerator, microwave oven, TV/DVD, cell phone, MP3 players, digital camera and many more. An embedded system is a computer system designed to perform one or a few dedicated functions. IT is controlled by one or more main processing cores that are typically either microcontrollers or digital signal processors (DSP). A microcontroller is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. It can be considered a self-contained system with a processor, memory and peripherals and can be used as an embedded system. The PICAXE system is an extremely powerful, low cost, microcontroller programming system designed to simplify educational and hobbyist use of microcontrollers. The PICAXE, such as the PIC12F675/629, preloaded with a Basic interpreter in their flash RAM. This can be re-programmed directly via a 3-wire connection to the computers serial port. The power of the PICAXE system is a no need converting programmer, easy to learn and use, much simpler, BASIC programming language. Programs can also be created graphically by use of the flowchart editor. The PICAXE uses a simple BASIC language (or graphical flowcharts). It is much easier to learn and debug than industrial programming languages. All PICAXE programming is at the chip level. The PICAXE system you simply purchase a standard chip and use it directly in your project board. The programming language is BASIC-like and very similar to that used by the Basic Stamp 1 (BS1). Most programs written for the BS1 should be easily convertible for use. The most notable difference is that the BS1's POT command has been replaced by the READADC command which allows an analogue voltage to be read directly. READADC10 allows analogue inputs to be read to 10-bit resolution.
1-4 1-4 6 5
Inputs
1L 3 2 3
ADC
Type PICAXE-18M PICAXE-18X PICAXE-20M PICAXE-20X2 PICAXE-28A PICAXE-28X1 PICAXE-28X2 PICAXE-40X1 PICAXE-40X2
(pins) 18 18 20 20 28 28 28 40 40
(lines) 80-220 600-1800 80-220 1000-3200 80-220 1000-3200 1000-3200x4 1000-3200 1000-3200x4 13 14 18 18 20 23 23 32 32 8 9 8 1-17 8 9-17 0-20 9-17 0-26
Memory
Interrupt Yes Yes Yes Yes Yes Yes Yes Yes Yes
References
1. ermicroblog, October 17, 2009, Introduction to the Embedded System with PICAXE Microcontroller, Retrieved: Feb 23, 2011, from http://www.ermicro.com/blog/?p=1334 2. SAMG, October 10, 2003, PicAxe MicroController - Eric Patching Retrieved: Feb 23, 2011, from http://samg.supremeit.com/meeting.php?meetingIndex=32 3. WIKIPEDIA, October 2010, PICAXE , Retrieved: Feb 23, 2011, from http://en.wikipedia.org/wiki/PICAXE#The_M2_Series_PICAXE_Chips 4. VK4ADCs web, Nov 13, 2009, PICAXE TRANSVERTER SEQUENCER Retrieved: Feb 23, 2011, from http://www.vk4adc.com/content/index.php?option = com_content&task=view&id=48&Itemid=46 5. WIKIPEDIA, Feb 21, 2011, Embedded system Retrieved: Feb 23, 2011, from http://en.wikipedia.org/wiki/Embedded_system 6. WIKIPEDIA, Feb 18, 2011, Microcontroller Retrieved: Feb 23, 2011, from http://en.wikipedia.org/wiki/Microcontroller 7. Revolution Education Ltd, What is PICAXE? Retrieved: Feb 23, 2011, from http://www.rev-ed.co.uk/picaxe/picaxe.htm