- This resolution was found to be inadequate at low intensities. At high intensities the unit overflowed.
The IS1 - Stepper motor experiment[4] is aimed to build an understanding of the basic operation of a computer controlled bipolar stepper motor. The main objective here is to learn how to program an Arduino to generate the digital waveform necessary to drive the stepper motor. Different programs are developed that explore various features of the Arduino like outputting digital pulses, reading analog input, and responding to a sensor signal.
The rotation of the stepper motor can be controlled with fine precision. The analog input of the Arduino has a range of 0 - 5V with a least count of 0.00489V at its analog input terminal. The stepper motor can precisely control the goniometer of the Brewster Angle apparatus; meanwhile the Arduino can continuously monitor the detector output with high resolution and determine the maximum obtained intensity with simple logic. Thus, this simple experiment has the potential to remedy the aforementioned drawbacks of the Brewster Angle apparatus, which lay the inspiration for this project.
3. Proposal
The central objectives of this project were:
- To construct an electronic circuit to translate the detector output to Arduino's analog input;
- To build a mechanical assembly needed to transmit the torque of rotation of the stepper motor to the goniometer; and
- To program the Arduino with necessary logic to control the whole assembly.
At the onset itself it must be made clear that this project did not aim to build a commercial-grade equipment to be permanently attached to the Brewster Angle apparatus. Instead, it should be considered as a just a demonstration of the larger real-life application of the stepper motor device.
3.1 Design decisions
In order to achieve the above proposals, foremost the second objective (which required to construct physical hardware), two approaches could be followed:
- Design all the moving parts of the assembly, purchase necessary items and make a dedicated hardware with the help of the department workshop.
- Utilise whatever mechanical components available in the M.Sc. Labs to construct the assembly, which can be dismantled and returned back to their sources after use.
Owing to the time constraints on the project, I chose to follow the latter, do-it-yourself approach. This allowed me to jump right into the implementation of the project without delay, gave immediate feedback about what worked and what didn't, and liberated me from any dependency on external sources to explore on my own.
3.2 Expected challenges
This posed the challenging part of the experiment, which was engineering the moving parts myself, which involved handling mechanical devices like gears, belts, pulleys, etc. As I resolved to reuse existing lab equipments, I was also required to modify the main components in a non-permanent fashion. I decided on a trial-and-error approach to arrive at a working solution.
4. Experiment
4.1 Understanding the detector
The detector of the Brewster Angle apparatus uses a photodiode[3] as its sensor. The output is fed into the measurement unit via a universal 3.5mm audio jack-and-plug connection. The photodiode is operated in photoconductive mode[5], with the measurement unit providing a biasing voltage of 5V via the same connection (this was determined using a multimeter and a spare 3.5mm plug). The unit then internally measures the current that flows in the circuit. When no light is incident on the photodiode, its resistance is very high (≈MΩ) and almost no current flows in the circuit. When it is exposed to light, its resistance decreases and the current increases.
This operation of the photodiode was replicated using the circuit given in fig. 1. The biasing voltage was taken from the built-in 5V DC output pin of the Arduino itself, eliminating the need for an external voltage source. As the Arduino could measure only analog voltage values, a variable shunt resistance was connected in series with the photodiode, the voltage
2