PICAXE line limitations?

General Robotics Forum - All aspects of robots and their applications. 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
PICAXE line limitations? artswan 01-25-2006
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by artswan on January 25, 2006, 9:57 am
I have been using Picaxe microprocessors in my robotic designs for
about a year now, and I love it. However, one of the constant
criticisms I find listed on the net about Picaxes is the limited lines
of code they can store (600 lines for X series devices). Considering
this line count does not include white spaces and blank lines, to me
that seems like a lot of code space. I was wanting to know how many
robotics hobbyists out there use more than 600 lines of code in their
robot designs? Like I said, 600 lines seems like a lot of code lines
for one person to write.


Posted by on January 25, 2006, 5:37 pm

artswan wrote:
> I have been using Picaxe microprocessors in my robotic designs for
> about a year now, and I love it. However, one of the constant
> criticisms I find listed on the net about Picaxes is the limited lines
> of code they can store (600 lines for X series devices). Considering
> this line count does not include white spaces and blank lines, to me
> that seems like a lot of code space. I was wanting to know how many
> robotics hobbyists out there use more than 600 lines of code in their
> robot designs? Like I said, 600 lines seems like a lot of code lines
> for one person to write.


As a hobbyist myself, projects sometimes grow, an extra sensor here,
more functionality there, as opposed to a more professional project
with a fixed brief. Multiply that by what used to take me 600 lines I
can probably do in 150 now with a couple of sub routines and a flag
here and there.

How many lines? Currently I building and processing my robots maps with
a dedicated LPC2104 and GNU GCC, in hind sight I should have used the
LPC2106 as change in sensor now means that I could have increased the
maps resolution and the code space is already at 34k. Don't get me
wrong there a lot of optimisation that can be done but it's a fluid
design stage not production optimisation. 600 lines for a line
follower is great but how about a maze mouse or mapping a house?

I also think that although they may be saying code space what they may
also be including in that statement is resources (storage and code),
speed and the flexibility a native as apposed to PCODE may give.
Don't get me wrong I wish the PicAxe range had been for me years ago
as Intel Basic 85 on a wire wrap board was a learning curve and a half
for me! They really are as cheap as chips compared to a Basic Stamp,
but adding more code storage may not be the solution. Looking at the
BasicX-24p for example with 8000+ lines of code user will hit a speed
and flexibility issues long before storage space.


Posted by Don McKenzie on January 26, 2006, 5:39 pm
artswan wrote:

> I have been using Picaxe microprocessors in my robotic designs for
> about a year now, and I love it. However, one of the constant
> criticisms I find listed on the net about Picaxes is the limited lines
> of code they can store (600 lines for X series devices). Considering
> this line count does not include white spaces and blank lines, to me
> that seems like a lot of code space. I was wanting to know how many
> robotics hobbyists out there use more than 600 lines of code in their
> robot designs? Like I said, 600 lines seems like a lot of code lines
> for one person to write.

I think it's time you do what thousands of others have done, and move on
from the slow and resticted pic basic interpreters.

http://www.dontronics.com/auto.html will explain a fair bit.
You need a pic programmer, and a good Basic or C compiler.

http://www.dontronics.com/cat_index_hard_pic.html
http://www.dontronics.com/cat_index_soft_pic.html

Don...



--
Don McKenzie
E-Mail Contact Page: http://www.dontronics.com/e-mail.html

Micro,TTL,USB to 1.5" color LCD http://www.dontronics.com/micro-lcd.html
USB,RS232 or TTL to VGA Monitor http://www.dontronics.com/micro-vga.html
World's smallest USB 2 TTL Conv http://www.dontronics.com/micro-usb.html


The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy