Tag Archives: GIRC

GIRC: Reviewing Output in the Processing Console

After I generate a path and convert the data into turn-and-move format, I want to send the data to the arduino-robot. For this I will use the USB/serial cable. But before I send any data, I want to make sure … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

GIRC Distance Commands

In the above illustration, the first Command Element has a command code of 44, which tells us that it is a Move command, and that we are to move 360 plus whatever is in the second Command Element minus 33. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

GIRC Turn Codes

Here we make a 76 degree right turn in GIRC, and this information has to be sent over the USB/Serial cable to the microcontroller aboard the robot. This communication is done with a control code pair. As shown, the first … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

GIRC Path Data Conversion

The user inputs path data to GIRC by clicking points on the screen. Processing then draws segments between the points and calculates x,y coordinate data. This data is then converted into distance and turn data which will then be sent … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Five Stages of Programmer’s Grief

I knew this, but I forgot it yesterday when I was working on GIRC. This convention of inverting the y-axis for screen display isn’t peculiar to Processing, it’s common to many programming languages. There is a way to change the … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

GIRC Path Calculations

(ATTN Google Searchers: Click here for Generation Starship Orinoco.) The user guides the robot in GIRC by creating a path. The path is composed of segments which are created by mouse clicks. The program calculates the length (or distance traveled) … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

GIRC data display with Processing

GIRC (Graphical Interface for Robotic Control) is a program (aka sketch) that is written in Processing and enables the user to graphically program my robot to follow a course. The poor little microcontroller doesn’t understand computer graphics, so I have … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Arduino and Photocell

This is an experiment out of the Getting Started with Arduino book. As you can see, an analog port is connected to a circuit with a photocell (Radio Shack part 276-1657) and resistor (220 ohm). I used a flashlight to … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Budget Arduino Robot Project

Given the problems that I was having on using GIRC (Graphical Interface for Robotic Control) with RC toys, I decided to build my own Arduino-controlled servo-driven robot. Aside from the electronics, the body probably cost less than five dollars. A … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

GIRC: Graphical Interface for Remote Control

GIRC is my program to operate a remote-control vehicle via computer with a graphical user interface. The program is written in Processing and an Arduino is used for the hardware interface. Here’s a screen capture with the path being drawn … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 1 Comment