High! I have an old scanning spectrometer that goes from about 1900 to 9000 Angstroms. The scanning motor operates at 115VAC and can turn in either a forward or reverse direction. There are two switches, one at the low wave length end and one at the high wavelength end, which turn off the motor to keep it from ruining the mechanism. When the scanning motor moves from a higher wavelength to the lower shutoff point a red light turns on and the motor stops. When the scanning motor moves from the lower stop toward higher wavelengths the same red light turns off and remains off until the scanning motor reaches the upper switch. At that point, the red light turns on and the motor is turned off. I'm using an TSL2561 light sensor and I want to use the lower switching point as a timing reference (start my Arduino program to log the light intensity from the sensor). I would like to monitor these two switches by using two analog (or digital) inputs to my Arduino Uno. I realize that I need a debounce circuit to handle the switch either turning on or turning off (depending on the rotation of the scanning motor). My question is how can I provide a compatible voltage to the Arduino Uno so that I can detect the state of the two switches? I have attached a PDF file which contains a schematic of the scanning motor circuit. Any suggestions please!!!
Attachments
-
397.1 KB Views: 10