Today was a totally different day when compared to the other
days. We made an attempt to make a practical approach of what we have learned
so far. Sir gave us 8 questions and asked us to solve two questions in groups
with two in each group. Each group was to solve two different questions and
there should be a question from octave and one from electronics .
The questions chosen by my group are given below,
1. Identify the brightest point in an image using octave.
2. Design and implement circuit that will turn on a DC motor
in the presence of light source.
For
finding the brightest point we thought of adding the RGB factor of each pixel
and then compare with an initially assigned maximum value. If the sum obtained
from a particular pixel is found to be greater than the maximum value then it
will be substituted in the max variable. Executing this logic in two loops to
navigate through row and column and a third loop to add the RGB factor of each
pixel, the brightest point will be obtained. We could, to an extent implement
the code and we tried it with two images.
Next attempt was to design the electronic circuit
We used the circuit given above to make the motor run in the
presence of light.
Light dependent resistor also called an LDR is a resistor whose
resistance value depends on the light falling on it. When the light falls on
the resistor its effective resistance decreases and vice versa. We need a high
resistance value at the base for better performance of the motor. That was in
fact the most challenging part about the circuit. The circuit was wired up
properly but the LDR was not seen to get properly activated and hence the motor
was not properly seen to be working.
No comments:
Post a Comment