HighSchoolRobots.com

The cheapest way to get into robotics
Home
Site Map
Why JAL?
Getting started with JAL
Tiny Bootloader
Serial Cable
VHS Cassette bot
Servo controller board
Downloads
Contact Us
Your first JAL program
Jal 2 Using variables
Jal 3 FOR loops and ports
Jal 4 IF THEN and 7 segme
Jal 5 Inputs and WHILE lo
Jaluino servo shield
Cheap Serial LCD
I chose JAL for my robotics classes because I was limited to only one semester. JAL seemed to be the easiest language to teach due to its natural readability. Below is a comparison between JAL and basic.
This is a simple blinky light program in JAL

forever loop
pin_b4 = high
delay_100ms(5)
pin_b4 = low
delay_100ms(5)
end loop

Though both are easy to use and highly readable, the JAL program is a little more self explanatory in my opinion, and the compiler is free. Being a compiled language, JAL code will run at the full speed of your chip. JAL is free and the pic chips are very cheap. You can get a small 8 pin chip for under a dollar and the 16f88 is about $2.

If you would like to get started with JAL check the
getting started with JAL page for some quick tips and links.
And here it is in basic

Start:
HIGH 15
PAUSE 500
LOW 15
PAUSE 500
GOTO Start

The most popular microcontroller using the basic language is the basic stamp. The basic stamp is a PIC (or Scenix SX) loaded with firmware. It costs $25 and up. Since it is an interpreter, the basic stamp runs somewhat slower and has less space left for programs.