axe001_pinout

axe001_pinout - PICAXE Microcontroller Summary... PICAXE...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: PICAXE Microcontroller Summary... PICAXE Type PICAXE-08 PICAXE-08M PICAXE-18 PICAXE-18A PICAXE-18X PICAXE-28A PICAXE-28X PICAXE-40X IC Size 8 8 18 18 18 28 28 40 Memory (lines) 40 80 40 80 600 80 600 600 I/O Pins 5 5 13 13 14 20 21 32 Outputs Inputs ADC (L =low) 1L 3 3L 3 3 4 0-4 3-7 Data Memory 128 - prog 256 - prog 128 - prog 256 256 + i2c 64 + 256 128 + i2c 128 + i2c Polled Interrupt Yes Yes Yes Yes Yes Yes 1-4 1-4 8 8 9 8 9-17 9-17 1-4 1-4 5 5 5 8 0-12 8-20 Notes: The number of memory program lines is approximate as different commands require different amounts of memory. The data memory can be used for storing data values or LCD messages. On the entry level PICAXE-08/18 this memory is shared with the downloaded program and so a longer program decreases the available data memory. The PICAXE-28 has separate ADC pins, with the other types the ADC are combined on the input pins. L denotes a low-resolution ADC function. The PICAXE-28 and PICAXE-18 microcontrollers require a 4k7 pull up resistor on the reset pin. The PICAXE-28 microcontrollers require an external 4MHz 3 pin ceramic resonator. +V Serial In Pin 4 Pin 3 PICAXE-08 1 2 3 4 8 7 6 5 PICAXE-28 0V Pin 0 / Serial Out Pin 1 Pin 2 Reset Analogue 0 Analogue 1 Analogue 2 Analogue 3 Serial In Serial Out 0V Resonator Resonator Input 0 Input 1 Input 2 Input 3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 PICAXE-18 Input 2 Serial Out Serial In Reset 0V Output 0 Output 1 Output 2 Output 3 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 Input 1 Input 0 Input 7 Input 6 +V Output 7 Output 6 Output 5 Output 4 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1 Output 0 +V 0V Input 7 Input 6 Input 5 Input 4 www.picaxe.co.uk (c) Rev-Ed Ltd 2002 NB all PICAXE ICs are supplied pre-programmed with the PICAXE bootstrap code Serial Download Circuit: The serial download circuit for all PICAXE microcontrollers is (straight or ‘stereo plug’ cable connections): (USB Adapter USB010 available) 2. to PICAXE serial out 22k 10k 1 2 3 serial out serial in 0V 3. to PICAXE serial in 5. to PICAXE 0V 9 Way D female socket PICAXE Above view x x x x x 22k 10k serial out serial in 0V 1 2 3 3 2 1 PICAXE revolution Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 4.2 31/03/04 pinout.P65 PICAXE Microcontroller Summary 2 PICAXE Commands (valid all sizes): Output Input Sound Serial Program Flow Loops Mathematics Variables Data memory Delays Miscellaneous high, low, toggle, pulsout, let pins = if…(and/or)...then, readadc, pulsin, button sound serin, serout goto, gosub, return, branch for…next let… (+, -, *, **, /, //, max, min, &, |, ^, &/, |/, ^/ ) if...then, random, lookdown, lookup eeprom, write, read pause, wait, nap, sleep, end symbol, debug Please see the BASIC Commands (v3.5) help file for more detailed syntax help and information about each command. PICAXE-08/08M Specific Commands: I/O Config. PWM Music RAM Servo Control Infrared Interrupt 10 Bit ADC Temperature 1-wire Serial No Count Input Serial Output Resonator Speed input, output, reverse, let dirs = pwm, pwmout (08M) play, tune (08M) peek, poke (08M) servo (08M) infrain2, infraout (08M) setint (08M) readadc10 (08M) readtemp, readtemp12 (08M) readowsn (08M) count (08M) sertxd (08M) setfreq (08M) PICAXE-18/18A/18X Specific Commands: RAM Servo Control Infrared Interrupt 10 Bit ADC Temperature Keyboard 1-wire Serial No 1-wire Clock I2C Count Input PWM Output Serial Output Resonator Speed peek, poke servo (18A/X) infrain (18A/X) setint (18A/X) readadc10 (18X) readtemp, readtemp12 (18A/X) keyin, keyled (18A/X) readowsn (18A/X) readowclk, resetowclk (18A) readi2c, writei2c, i2cslave (18X) count (18X) pwmout (18X) sertxd (18X) setfreq (18X) PICAXE-28/28A/28X(40X) Specific Commands: RAM Servo Control Infrared Interrupt 10 Bit ADC Temperature Keyboard 1-wire Serial No Data Memory I2C Count Input PWM Output Serial Output peek, poke servo infrain setint (28A/X) readadc10 (28X) readtemp, readtemp12 (28A/X) keyin, keyled (28X) readowsn (28X) writemem, readmem (28/28A) readi2c, writei2c, i2cslave (28X) count (28X) pwmout (28X) sertxd (28X) revolution Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 4.2 31/03/04 pinout.P65 PICAXE Microcontroller Summary 3 What’s new in the extended PICAXE X parts? The PICAXE X parts support all the A part commands and features, with the following enhancements: · Program memory 8x as long (approx. 600 lines rather than 80), with intelligent download · User configurable pins on PICAXE-28X and PICAXE-40X · Continously driven pwm motor drive outputs (pwmout command) · Count high frequency pulses within a set time period (count command) · Increased data memory (128/256 bytes) (read/write commands) · i2c bus support for EEPROMS and other devices (i2cslave/writei2c/readi2c commands) · Interrupt feature on inputs (setint command) · Accurate digital temperature sensor interface (readtemp/readtemp12 commands) · 10bit and 8 bit adc option (readadc10/readadc commands) · User serial output via the serout pin / programming cable (sertxd command) · 4800 baud rate option (and faster at higher clock frequencies) (serin/serout commands) · Read serial number from any Dallas 1-wire device (e.g. iButton) (readowsn command) · Computer keyboard interface on inputs 6 and 7 (keyin, keyled command) · Software support for increased clock frequency (4, 8 or 16MHz). See the X-Parts and BASIC Commands datasheets (v3.5 or greater) for further information on each command. What’s new in the PICAXE-08M part? (NB Future product, available Summer 2004) The PICAXE-08M part supports the usual ‘A’ part commands and features, with an additional music playing enhancement and several additional bonus features. Standard ‘A’ part features: · Program memory twice size of PICAXE-08 (approx. 80 lines) · Standard resolution (8 bit) adc option on 3 of the i/o pins (readadc command) · Interrupt feature on inputs (setint command) · Infra-red input (infrain2 command) · Accurate digital temperature sensor interface (readtemp/readtemp12 commands) · Read serial number from any Dallas 1-wire device (e.g. iButton) (readowsn command) · Increased register support (peek/poke commands) Music features: · Music tune playing option (user programmable tune) (tune command) · 4 internal tunes (happy birthday, silent night, jingle bells, rudolf red nosed reindeer) (play command) Additional features: · Infra-red output (infraout command) · Continously driven pwm motor drive output (pwmout command) · Count high frequency pulses within a set time period (count command) · User serial output via the serout pin / programming cable (sertxd command) · 10 bit adc option on 3 i/o pins (readadc10 command) · Software support for increased clock frequency (4 or 8 MHz, setfreq command) See the ‘PICAXE-08M Music’ and ‘BASIC Commands’ datasheets (v4.0 or greater) for further information on each command. revolution Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.uk Version 4.2 31/03/04 pinout.P65 ...
View Full Document

Ask a homework question - tutors are online