Blog Archives

These posts focus on programming robots, as opposed to computers.

Using the VEX LCD with the Arduino


Have you ever needed an easy way to display output from your Arduino?  Sure, it is possible to use the serial monitor when the robot is connected, or to use a blinking LED, but those options don’t always work well. 

Posted in Arduino, electronics, Robot Programming, Tutorial, VEX

ROBOTC Pointers and Stacks Tutorial

RobotC: Pointers and Stacks

Xander over at has written up an excellent tutorial on using pointers in ROBOTC.  This is a great help, especially for programmers like myself who have not (yet) learned C or C++ and pointer usage. He has also written

Posted in Robot Programming, ROBOTC, Tutorial, VEX

ROBOTC: Functions


I recently responded to a question about subroutines on the VEX Forum.  I wrote up a fairly detailed response, so I decided to turn it into a blog post. Oftentimes, in programming, we come across situations where we need to

Posted in Robot Programming, ROBOTC, Tutorial, VEX

Line Following Tutorial Videos for FLL


When you look for FLL robot videos on YouTube, you will often find that the world’s “best” robots often make use of the light/color sensor.  These robots also tend to make some use of line following.  Line following is an

Posted in Control Loops, FLL, NXT, Robot Programming, sensors, Tutorial

Updating NXT Firmware


Have you ever needed to update your NXT firmware, and didn’t know exactly how?  I’ve just uploaded a video to YouTube that shows, step-by-step, how to download the newest version of the NXT firmware. Why should you even bother updating

Posted in NXT, Robot Programming, Tutorial, video

Arrays in ROBOTC


I’ve seen multiple people ask how arrays work in ROBOTC, so I thought I’d write a post about arrays.  Note: I’m going to be describing several routines here that require a knowledge of loops.  Loops are, in general, something that

Posted in NXT, Robot Programming, ROBOTC, Tutorial, VEX

Selecting Autonomous with LCD (ROBOTC)

One of the great features of the VEX LCD screen is that it can be used to select multiple autonomous modes.  However, figuring out how to do so appears to stump many programmers.  In this post, I’ll explain how to

Posted in Robot Programming, ROBOTC, Tutorial, VEX


In an older post, I reviewed the VEX LCD and provided some uses for it.  Now I will explain some of the commands to program the VEX LCD with ROBOTC. Port SetupTo tell ROBOTC which port the LCD is plugged

Posted in Robot Programming, ROBOTC, Tutorial, VEX


What is the VEX LCD, and why should I use it?The VEX LCD is a two line text screen that can display 16 characters per line.  It also has three buttons for user input.  The LCD connects to one of

Posted in Robot Programming, ROBOTC, Tutorial, VEX

A basic control loop for VEX robots

A common task in VEX competitions is to hold an arm at a specified height. However, due to the weight of most robot arms, the programmer can’t just tell the motor power level to go to zero – the arm

Posted in Control Loops, Robot Programming, Tutorial, VEX