Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

PICAXE - Wikiwand

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

PICAXE - Wikiwand https://www.wikiwand.

com/en/PICAXE

From Wikipedia, the free encyclopedia

PICAXE is a microcontroller system based on a range of Microchip PIC microcontrollers. PICAXE


devices are Microchip PIC devices with pre-programmed firmware that enables bootloading of
code directly from a PC, simplifying hobbyist embedded development (not unlike the Arduino
and Parallax BASIC Stamp systems). PICAXE devices have been produced by Revolution
Education (Rev-Ed) since 1999.[citation needed]

PICAXE 20M2

1 of 7 8/13/23, 16:54
PICAXE - Wikiwand https://www.wikiwand.com/en/PICAXE

There are currently six (6) PICAXE variants of differing pin counts (8-14-18-20-28-40) and are
available as DIL and SMD.[1]

PICAXE microcontrollers are pre-programmed with an interpreter[2] similar to the BASIC Stamp
but using internal EEPROM instead, thus reducing cost. This also allows downloads to be made
with a simple serial connection which eliminates the need for a PIC programmer.[3] PICAXE is
programmed using an RS-232 serial cable[4] or a USB cable[5] which connects a computer to the
download circuit, which normally uses a 3.5 mm jack and two resistors.[6]

Programming language
PICAXE microcontrollers are programmed using BASIC.[7]

The PICAXE interpreter features bit-banged communications:

• Serial[8][9] (asynchronous serial)

• SPI[10][11] (synchronous serial)

• Infrared (using a 38 kHz carrier, seven data bits and five ID bits)[12]

• One-wire[13][14]

The "readtemp" command reads the temperature from a DS18B20 temperature sensor and
converts it into Celsius.[15]

All current PICAXEs have commands for using hardware features of the underlying PIC
microcontrollers:

• Hardware asynchronous serial[16]

• Hardware synchronous serial[17][18]

• Hardware PWM[19]

• DAC[20]

• ADC[21]

• SR Latch[22]

• Timers (two on X2/X1 parts[23][24] which have settable intervals, only one on M2 parts with a
fixed interval,[25] older parts have none)

• Comparators[26]

• Internal temperature measurement[27]

2 of 7 8/13/23, 16:54
PICAXE - Wikiwand https://www.wikiwand.com/en/PICAXE

Program space
All current PICAXE chips have at least 2048 bytes of on board program memory available for
user programs:[1]

• 08M2 - 2048 bytes

• 14M2 - 2048

• 18M2+ - 2048

• 20M2 - 2048

• 20X2 - 4096

• 28X1 - 4096

• 40X1 - 4096

• 28X2 - 4096 per slot with four slots for a total of 16 KiB

• 40X2 - 4096 per slot with four slots for a total of 16 KiB

Clock speeds
The default clock speed for all M2 and X1 parts is 4 MHz and for the X2 parts is 8 MHz.

The SETFREQ command allows speeds from 31 kHz up to 8 MHz for X1 parts, 31 kHz up to
32 MHz for M2 parts and 31 kHz up to 16 MHz for X2 parts (up to 64 MHz for the 20X2) using the
internal resonator.

An external resonator can be used with the X1 parts for from 4 MHz to 20 MHz clock speeds and
with the X2 parts for 16 MHz to 64 MHz clock speeds.[28]

Project boards
Project boards for different applications are sold[29] by Rev-Ed which contain the PICAXE,
download circuit and may also contain a prototyping area[30] or high power output drivers.[31]

Revolution Education develop software for writing programs for PICAXE.

PICAXE Programming Editor


PICAXE Programming Editor is a Windows-only IDE for writing PICAXE programs in BASIC code

3 of 7 8/13/23, 16:54
PICAXE - Wikiwand https://www.wikiwand.com/en/PICAXE

or a simple flowchart.

PICAXE Programming Editor features:[32]

• source code colour syntax highlighting

• auto indentation

• syntax check and program download

• code explorer to shown variable, label and constant values

• full on screen simulation with animated chips and line by line code highlighting

• simulation breakpoints by line number and variable value

• debug and serial terminal windows

• AXE027 download cable testing and port identification tools

• various testing tools such as the analogue calibration wizard

• various code generation wizards (pwmout, tune, RTC setting, etc.)

AXEpad
AXEpad is a cross-platform application recommended for Linux and Mac users.[33] It lacks some
of Programming Editor's wizards, simulation and MDI.

Logicator for PICAXE


Logicator is an easy to use shareware flowcharting program.[34] The Logicator web page is out
of date as the free version does support all commands but shows nag screens.

PICAXE Programming Editor 6, the successor to PICAXE Programming Editor 5, has Logicator
flowcharting merged into it so separate Logicator software is no longer required. [35] Like
PICAXE Programming Editor 5, PICAXE Programming Editor 6 is freeware.

Yenka
Yenka is a program developed by Crocodile Clips Ltd which has flowcharts and simulation. [36]

Others

4 of 7 8/13/23, 16:54
PICAXE - Wikiwand https://www.wikiwand.com/en/PICAXE

Many companies and organizations have put out their own editors with special features. Some
include language translators or serial connectors, so there is a wide variety of consoles to be
used.[citation needed]

Support is available at the Technical Support section of the PICAXE website and at the PICAXE
Forum.[37]

The PICAXE Forum has a finished projects section where completed projects and PICAXE
programs are posted,[38] plus there is a similar section on the PICAXE website. [39]

Microchip Technology

Wikiwand is a leading donor to the Wikimedia Foundation, we pledge to give a


portion of our income to help Wikipedia thrive. By using Wikiwand, for FREE, you

5 of 7 8/13/23, 16:54
PICAXE - Wikiwand https://www.wikiwand.com/en/PICAXE

directly contribute to keep Wikipedia alive.

Donate now 30% goes to Wikimedia!

Not right now, thanks

Related Articles

Microcontroller
Small computer on a single integrated circuit

A microcontroller is a small computer on a single VLSI integrated circuit (IC) chip. A


microcontroller contains one or more CPUs along with memory and programmable
input/output peripherals. Program memory in the form of ferroelectric RAM, NOR flash or
OTP ROM is also often included on chip, as well as a small amount of RAM. Microcontrollers
are des...

Read article

Embedded system
Computer system with a dedicated function

An embedded system is a computer system—a combination of a computer processor,


computer memory, and input/output peripheral devices—that has a dedicated function
within a larger mechanical or electronic system. It is embedded as part of a complete device
often including electrical or electronic hardware and mechanical parts. Because an
embedded sy...

Read article

KIM-1
Single-board computer produced by MOS Technology

The KIM-1, short for Keyboard Input Monitor, is a small 6502-based single-board computer
developed and produced by MOS Technology, Inc. and launched in 1976. It was very
successful in that period, due to its low price and easy-access expandability.

Read article

AVR microcontrollers
Family of microcontrollers

AVR is a family of microcontrollers developed since 1996 by Atmel, acquired by Microchip


Technology in 2016. These are modified Harvard architecture 8-bit RISC single-chip
microcontrollers. AVR was one of the first microcontroller families to use on-chip flash

6 of 7 8/13/23, 16:54
PICAXE - Wikiwand https://www.wikiwand.com/en/PICAXE

memory for program storage, as opposed to one-time programmable ROM, EPROM, or


EEPROM use...

Read article

PIC microcontrollers
Programmable single-chip 16-bit microprocessor for computer

PIC is a family of microcontrollers made by Microchip Technology, derived from the PIC1650
originally developed by General Instrument's Microelectronics Division. The name PIC
initially referred to Peripheral Interface Controller, and is currently expanded as
Programmable Intelligent Computer. The first parts of the family were available in 1976; b...

Read article

Load all related articles

Home About us FAQ Press Site map Terms of service Privacy policy

7 of 7 8/13/23, 16:54

You might also like