8

The impression I get is that PICAXE is based on the PIC cores, but geared to beginners, but I wanted to make sure before committing to any particular platform.

Chetan Bhargava
  • 4,612
  • 5
  • 27
  • 40

2 Answers2

11

The various Picaxe chips are actually Pic chips with a small piece of code burnt in. This code acts as a bootloader for the chip, which simplifies things when it comes time to upload your code to the chip. You are restricted to using Picaxe's version of BASIC, or a flowchart based system.

Pics on the other hand are a number of different families of chips. The ones the Picaxes are based on are 8 bit chips, although there are dozens more to choose from in that range too. There are also 16 bit and 32 bit chips too. They can be programmed in Assembler or C (and various other languages if you can find compilers or bootloaders for them) using various tools available direct from Microchip their manufacturer.

In terms of programming tools there are free IDEs for Picaxe for both Windows and Linux available from the Picaxe website. To get the code onto the chip you need either a Serial cable and a simple circuit to connect to the chip, or a USB cable from the Picaxe site which connects to the same circuit. There are quite a few extra items you can get, which can be interfaced to Picaxes all from their site.

As previously stated there is a free IDE for Windows which can be downloaded from the Microchip website and used to write either C programs or Assembler programs at least for the 8 bit chips (I've no idea whether it'll target the 16 & 32 bit chips I'll check later). There are various solutions available for Linux including Piklab and Pikdev. To get your code onto your chip you'll need either one of the traditional Serial or Parallel port programmers of which there seem to be hundreds on the internet, or a USB solution such as the Pickit 2 or 3 which as available from Microchip.

Although the Picaxes seem better suited if you are working with school children or have very little programming experience I'd say the Pics offer a greater flexibility and variety of products.

You may also want to investigate whether ATMEL chips or the Arduino which is based on them offer a better fit for your requirements. I found the Wikipedia pages detailing the various different families of microchip to be very useful for getting a handle on what was what with the various types of chip. I'll try and add some useful links when I'm back at my computer.

Amos
  • 2,893
  • 3
  • 26
  • 26
  • Thanks for the help! I've been wanting to play with microcontrollers for a while, but the Arduino seems too "ready-made" for my tastes. The PICs, and especially the dsPIC (I'm into DSP), seem like just the ticket. –  Mar 10 '10 at 00:59
  • 1
    If Arduino is too "ready-made", learn about ATmega (AVR) chips from Atmel. From my (small) experience, they are a lot more powerful and easier to work than PIC chips. And they are not expensive. – Denilson Sá Maia Apr 03 '11 at 14:23
1

The same MPLAB IDE can be used for all Microchip parts - 8-bit PIC10, PIC12, PIC16 and PIC18, 16-bit PIC24 and dsPIC, and 32-bit PIC32. It includes simulators and debuggers. Free development software that runs under MPLAB is available for all devices.

Leon Heller
  • 38,774
  • 2
  • 60
  • 96