Group work - Input Devices

So this week's group assignment was to take analog an digital input from any inout devices.

For this week, since we are out of inventory, So we decided to upload Blink code in one of the board, and test it over the DSO, as digital input and for the analog input, We used a DC Motor. It may look a bit strange how a DC motor as an input device

Well, to support this, Lets go to the princple of working of the motor. It works on the principle that "Whenever a current carrying condutor is place in a magnetic field it experiences a force, and due to this force the motor shaft rotates". It may be seen that the construction of motr and generator are same, So for the same reason what we'll do is, we'll connect the motor to the DSO and rotate the shaft of the motor, and see what analog voltage is generated.

Measuring Digtal Input

Here Blink code was uploaded to the Board which we named as RAKIT, and the DSO probes were placed between output pin and ground

Code
void setup()
 {
pinMode(13, OUTPUT); //  initialize digital pin 13 as an output.

}
// the loop function runs over and over again forever
void loop()
{
digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
delay(1000);                       // wait for a second
digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
delay(1000);                       // wait for a second
}

Image Image

For uploading the code and setting while uploadin have been documented in the weekly assignments

Observations
On the DSO Screen, It may be noticed that digital pulses with a time gap of 1 seconds were observed with peak value of voltage of 5V.

Also it was obeserved that the pulses were not perfectly smooth, it may be due to probes

Measuring Analog Input

For measuring the analog signals, We connected both the terminals fo the motos with the probes of the DSO and then we rotated the motor shaft manually.

Image Image

Observations
Analog signal was clearly visualized on the DSO Screen.( An Analog signal is any continous signal for which the time varying feature (variable) of the signal is a representation of some other time varying signal i.e analogous to another time varying signal, This is also the reason why wave form is rising up and down with time.)

DSO was measuring voltage w.r.t Time and A peak voltage of about +10V was observed.

When the motor shaft direction is reversed the signal also changes the ploarity and a reverse peak voltage of about -8V was observed

Top