Journal Entries


Tarhonda    Justin

Wednesday, January 23, 2002  (Lecture)

    Today,  before the lecture, we quickly viewed some upgrades for our web page for the first time as a team.  We only had about 5 or 10 minutes, but it was fun and exciting to see all of the different free things you can download to add some color to a page.

    The lecture for the day consisted of an in-depth study of how the RCX microprocessor works.  The Power Point Presentation for the RCX Lecture contains pictorial information on the internal workings of the microprocessor as well as study notes.

The RCX Brick

The lecture began with informational facts about the Lego Brick:

The RCX communicates with the infra red tower through an infra red transmitter/receiver on its front.  This allows for program downloads and system checks.

Firmware

The RCX also has an external part to its operating system called firmware.  This software is stored in RAM and can be continually upgraded for programming purposes.  This operating system allows the RCX to recognize program languages an takes up the majority of RAM leaving 6,000 bytes for programs by the user (approximately 1000 lines of instructions).  This is small in comparison to a personal computer but is large in comparison to the RCX microprocessor.

LCD Display

The LCD displays:

Power Levels

For a demonstration of the output port power levels, an oscilloscope was used.  This enabled us to see the value of voltage readouts at different power setting of the RCX.  However, even though the LCD displays 8, the highest programmable power level is 7 (this is because the levels start at 0 which is equal to 1).

Notes:

Passive loads These types of sensors have no resistance.

Active Loads

Input Port

Input port readings with no load have a voltage drop of 5 volts equal to 1023 by the A/D converter.

Notes:


Voltage Law: The sum of a voltage drop on a closed loop = 0
Ohm's Law: Voltage drop across a resistor = Resistance*Current = RI  (V=IR)
To determine resistance or current in the RCX:   -5 + IR +IRL = 0 or I= 5/(R + RL)
Therefore voltage across the load resistor of the RCX: VRCX = IRL = 5RL/(10,000 + RL)
The LCD readout: LCD = 1023RL/(10,000 + RL)

Homework:  Read chapter 4