Let's Make Robots!


PID Tutorials for Line Following

Hey there guys. This post is outdated. Visit http://letsmakerobots.com/node/39972 for the updated tutorial.

Hello LMRians,

In this writeup, I will try to create a tutorial for tuning your robot using PID to follow a line. This tutorial won't go deep down into the details of PID and its applications but will just attempt to show how a robot can be tuned with the PID parameters to follow a line.

Scrolls a message in an 8x8 LED matrix
This may not look like 12 hours of work, but I reckon I spent appx 4 hours writing a little program to design the font, about 2 hours making the font, probably … Read more

Trying to fill data into an array for the first time.

Let me apologize right up front if I sound stupid here, this is my first adventure into programming and I'm trying to learn.

What I'm trying to do is use an ultrasonic rangefinder attached to a servo to scan the area in front of the robot in a 180 degree arc, and record the distances at each degree in an array.  Then I want to have my bot scan the area over and over, re-looking that 180 degree arc.  When one of the distances changes, that should trigger the bot to fire a laser at the spot where the "intruder" is.

Synchronizes a cieling full of UV LEDs to music
This project began as a graduation gift to my sister. I thought it would be cool to install lights in our basement that react to music so that it could be used as a … Read more
Plays musical notes using a non-contact LED stylus.
This is 'Allura' - a small synthesiser I built as a platform to test out a few techniques for another project in progress. Read more

Declare an Array in picaxe basic?

I want to make several led's blink in one direction the the other, i figured the best way to do this would be to have the output pins in an array then use a 'for next loop' to loop thru them.

But the manual dosen't say how to declare an array, so how do you declare an array?

Using Picaxe 28x1


led array

I would like to make an Led array say 5x5 or so but if a wanted to only light these lights

0  0  0  0  0

0  0  0  0  0

0  0  0  0  0

0  0  0  1  1

0  0  0  0  1 

how would i Do it without doing this?

0  0  0  0  0

0  0  0  0  0

0  0  0  0  0

0  0  0  1  1

0  0  0  1  1

Are they flashing really fast of somthing similar?

(0 is of 1 is on)

Thanks for helping