Search Our Web Site

Home
Gift Guide
Robot Builder's Menu and Guide
Product Index
Sale Items
Price List

Department Home Pages
   Model Railroading
   Microcontrollers
   Electronic Components
   Electromechanical Components
   Robotics
   Radio Control
   Building Kits
   Building Materials
   Learning
   Tools

Model Railroading Department

Microcontrollers Department

Electronic Components Department

Electromechanical Components Department

Robotics Department

Radio Control Department

Building Kits Department

Building Materials Department

Learning Department

Tools Department

Other Topics of Interest
Links To Clubs, Vendors and Other Resources
Our Tutorials and Projects

We accept Visa, MasterCard, American Express and Discover

We also accept PayPal!

We also accept PayPal

glyph  Click here for printer friendly page ...

PicBasic Compilers

PicBasic Compiler Features

  • Quicker and easier than "C" or assembler
  • Expanded BASIC Stamp I compatible instruction set
  • True compiler provides faster program execution and longer programs than BASIC interpreters
  • I2CIN and I2COUT instructions to access external serial EEPROMs
  • More user variables
  • Peek and Poke instructions to access any PICmicro MCU register from BASIC
  • Serial speeds to 9600 baud
  • In-line assembler and Call support
  • Supports most 14-bit core PICmicro microcontrollers
  • Use in DOS or Windows
  • Compatible with most PICmicro MCU programmers
The PicBasic Compiler instruction set is compatible with the Parallax BASIC Stamp I. BS1 programs can be compiled into PICmicro MCU code and programmed directly into a PICmicro MCU, eliminating the need for a BASIC Stamp module. These programs execute much faster and may be longer than their Stamp equivalents. They may also be protected so no one can copy your code. Other benefits include substantial cost savings over a BASIC Stamp.

All of the PicBasic Compiler library routines act on the 8-bit PORTB of the PICmicro MCU. PicBasic programs may use up to 2K of code space.

The PicBasic Compiler has many features beyond the BS1. Peek and Poke instructions let you use additional microcontroller features not available on the BASIC Stamp I. These include access to PORTA, B, C, D and E (if the particular device has them), A/D converters, hardware serial ports and other on-chip features in BASIC, foregoing the need to use assembly language.

But if you really want to use assembly language instructions, they may be mixed with BASIC instructions through the use of the PicBasic Compiler's in-line assembler and Call instruction. Our PICmicro MCU macro assembler is included and automatically invoked by the PicBasic Compiler.

The I2C commands let the PICmicro MCU talk to external I2C devices, such as serial EEPROMs, using only a 2-wire interface. Two PORTA pins have been dedicated to the task (the particular pins assigned may be easily changed if desired) so there is no need to tie up any of the special purpose PORTB pins.

PBC has more user variables. The BS1 only provides variables from B0 - B13 and W0 - W6. The PicBasic Compiler allows variables from B0 - B79 and W0 - W39 when used with PICmicro MCUs having 96 RAM registers in bank 0 like the PIC16C622 and 16C74.

The PicBasic Compiler is a DOS command line application (it also works in Windows) and runs on PC compatibles. It can create programs for the PIC12C67x, PIC14Cxxx, PIC16C55x, 6xx, 7xx, 84, 92x and PIC16F8xx microcontrollers and works with most PICmicro MCU programmers, including the melabs Serial Programmer. A printed manual and sample programs are included to get you started.

The PicBasic Compiler can now be used inside Microchip's MPLAB IDE. This allows programs to be edited and simulated within Windows. More information is on the MPLAB page.

PicBasic Pro Compiler Features

The PicBasic Pro Compiler gives you direct access to all of the PICmicro MCU registers - I/O ports, A/D converters, hardware serial ports, etc. - easily and in BASIC. It automatically takes care of the page boundaries and RAM banks. It even includes built-in commands to control intelligent LCD modules. Floating-Point calculations are possible with downloaded routines.

The PicBasic Pro Compiler instruction set is upward compatible with the BASIC Stamp II and Pro uses BS2 syntax. Programs can be compiled and programmed directly into a PICmicro MCU, eliminating the need for a BASIC Stamp module. These programs execute much faster and may be longer than their Stamp equivalents. They may also be protected so no one can copy your code.

The PicBasic Pro Compiler can create programs for any of Microchip's PICmicro microcontrollers and works with most PICmicro MCU programmers, including the melabs Serial Programmer. A printed manual and sample programs are included to get you started.

The PicBasic Pro Compiler can also be used inside Microchip's MPLAB IDE. This allows programs to be edited and simulated within Windows. More information is available the MPLAB installation help page.

PicBasic Pro Compiler now has limited support for the 12-bit core microcontrollers and BASIC source-level debugging. If you are a current PicBasic Pro owner and would like the latest version, please see the upgrade page for upgrade information.
  • True compiler provides faster program execution and longer programs than BASIC interpreters
  • Direct and library routine access to any pin or register
  • Automatic page boundary handling past 2K
  • Bit
  • Real If..Then..Else..Endif
  • Hierarchal expression handling
  • Interrupts in BASIC and assembler
  • BASIC Stamp I and II library
  • Built-in LCD support
  • Oscillator support from 3.58MHz to 40MHz
  • I2C instructions to access more external devices including serial EEPROMs
  • In-line assembler and Call support
  • MPLAB / MPASM / ICE compatibility
  • Use in DOS or Windows
  • Supports all Microchip PICmicro microcontrollers
  • Compatible with most PICmicro MCU programmers

PicBasic vs. PicBasic Pro Comparison

PicBasic Compiler PicBasic Pro Compiler
Limited to first 2K code space.Uses all available code space.
Interrupt handlers must be Assembly language.Interrupt handler routines may be either PicBasic Pro or Assembly.
Uses Peek and Poke commands to access internal registers and move contents to and from pre-defined variables.Internal register names may be used directly even in calculations and conditional statements.
Some built-in commands can only be used on PortB, PortC or GPIO. While all ports may be accessed with Peek and Poke, some aren't available for commands like Serout, Pulsin, etc. Software-based commands may be used on any available port/pin. (Commands that utilize a hardware module are limited to the pins dedicated to that module. Some pins have special characteristics that might cause compatibility issues.)
Clock speed pre-defined at 4MHz.Clock speeds from 3.5975 to 40MHz
BASIC Stamp I compatible variable names pre-defined. Define your own custom variables, including arrays of bits, bytes or words.
Most 14-bit core PICmicro MCUs supported. (see compatibility list) ALL PICmicro MCUs are supported, including 12-bit core, 17CXXX, 18CXXX, and 18FXXX.

Additional commands available only in PicBasic Pro:
  • LCDOut / LCDIn - for controlling parallel interfaced LCD modules.
  • HSerin / HSerout - for controlling the hardware USART available on many PICmicro MCUs.
  • HPWM - for controlling the hardware PWM modules available on many PICmicro MCUs.
  • Serin2 / Serout2 - RS-232 serial commands capable of sending and receiving ASCII formatted numeric data. Serin2 can be invoked with a timeout parameter to avoid lockup caused by missed serial data.
  • Select Case - Visual BASIC style case statement.
  • ReadCode / WriteCode - read and write locations in the code space of self-programming microcontrollers.
  • OWin / OWout - communicate with One Wire devices.
  • USBin / USBout - access the USB module on specially equipped microcontrollers.
  • Xin / Xout - send and receive X-10 commands for household remote control.
  • ADCin - perform analog-to-digital conversion on devices so equipped.
Other PicBasic Pro advantages:
  • Uses 5-10% less code space than standard compiler.
  • Syntax is less demanding
  • Debug information can be generated for Microchip development tools.

Pricing

 
 

Picture of productPicBasic Compiler
from Tinkering Supplies




The low-cost PicBasic Compiler (PBC) makes it easy to write programs for the fast Microchip PICmicro MCU. PBC converts these programs into hex or binary files that can be programmed directly into a PICmicro microcontroller. The easy-to-use BASIC language makes PICmicro MCU programming available to everyone with its English-like instruction set. No more scary assembly language! Catalog number: 17798. Brand: Tinkering Supplies. Brand's Part Number: H01779-01P.

More Product Details ...

  

Stock NumberBuyProduct TitlePriceStatus
H01779-01P Add To CartPicBasic Compiler$99.99 Out of Stock

 
 

Picture of productPicBasic Pro Compiler
from Tinkering Supplies




The low-cost PicBasic Compiler (PBC) makes it easy to write programs for the fast Microchip PICmicro MCU. PBC converts these programs into hex or binary files that can be programmed directly into a PICmicro microcontroller. The easy-to-use BASIC language makes PICmicro MCU programming available to everyone with its English-like instruction set. No more scary assembly language! Catalog number: 17806. Brand: Tinkering Supplies. Brand's Part Number: H01780-01Z.

More Product Details ...

  

Stock NumberBuyProduct TitlePriceStatus
H01780-01Z Add To CartPicBasic Pro Compiler$249.95 In Stock





The content on this page was updated on 9/6/2005