Monday, January 24, 2011

Serial in and out

The Major project for Jan 20 was to demonstrate communication between the picaxe in serial mode. It was mighty frustrating because I did not understand the general properties of the picaxe chip. The major hurtle was realizing that pins 2 and 6 both need to have a path to ground in order for serial communication to work. The functional layout is below:

Using the picaxe programming editor, I was able to upload the following code.

Using the Terminal emulator built into the program allows serial communication with the picaxe chip. The next step is to combine serial communication with motor control and the hack a toy project will be complete.

-B

No comments:

Post a Comment