Intelligent-Physical-Systems


Project maintained by jim59 Hosted on GitHub Pages — Theme by mattgraham

Lab 2

For this lab we were able to build a simple infrared (IR) light detection circuit with three phototransistors on BotMobile & a display component of the base station on a separate breadboard

Accomplishment: BotMobile can now detect IR light using phototransistors -> will later be used to detect treasures which consist of IR LEDs that are positioned randomly in the maze and are blinking at some frequency.

Phase I

For the first phase of this lab, we built a circuit used to measure voltage on a phototransistor on the main robot breadboard as shown in green box on the image below.

Phototransistor circuit on BotMobile

We also built an IR emitting circuit (on a separate breadboard) to emulate a treasure and used it to test the phototransistor circuit to ensure that BotMobile will be able to measure the IR signals from treasures.

& then connected the IR LED circuit to a signal generator that acted as a power source for the LED.

IR LED on BotMobile

We used the oscilloscope to confirm that the signal generator is indeed generating a sinusoidal waveform with a the set frequency (1kHz) and a peak-to-peak voltage of 1.2V

Oscilloscope trace signal showing the trace for the 1kHz signal:

Phototransistor circuit on BotMobile

We then measured the signal that the phototransistor is transducing -> (1kHz then 9kHz from the IR LED)

Oscilloscope trace measurement of a 1kHz signal measured from the phototransistor on the main robot breadboard:

Oscilloscope signal for 1kHz

Oscilloscope trace measurement of a 1kHz signal measured from the phototransistor on the main robot breadboard:

Oscilloscope signal for 9kHz

After confirming the functionality of the phototransistor circuit using the oscilloscope

Serial Monitor frequency readings

Phase II

For the second phase of the lab, we built the display component of the base station on a separate breadboard, which we will later add Radio Frequency (RF) communication capability later on.

The base station consisted of a Nano, 4-digit 7-segment display, transisitors, and resistors

The image below shows the base station circuit displaying the number ‘2468’

image for base station image for base station

Also modified the refresh period of the 7-segment display and observed the effect on the display for different periods (10s, 311s, 600s, 1000s)

10ms

311ms

600ms

1000ms

Next Steps: Adding an audio aspect to BotMobile