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.
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.
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:
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 trace measurement of a 1kHz signal measured from the phototransistor on the main robot breadboard:
After confirming the functionality of the phototransistor circuit using the oscilloscope
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’
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