royzizzle
- 48
- 0
This discussion focuses on comparing eight analog signals to identify and output the largest one using comparators and microcontrollers. The recommended approach involves utilizing a microcontroller, such as a Picaxe chip or an Arduino, to read the analog inputs through A to D converters. The output control signal can then activate an analog switch, like the 4066, to allow the highest signal to pass through. This method is efficient and conserves power while providing a clear output based on the highest input signal.
PREREQUISITESElectronics enthusiasts, undergraduate students in electrical engineering, and hobbyists working on projects involving analog signal comparison and microcontroller applications.
vk6kro said:Comparators give a high output if one input is higher than the other, and a low output if they are the other way around.
They don't pass one of the inputs through to the output. You either get 5 volts or nothing (if "high" is 5 volts)
There are analog switches (like the 4066) which allow analog signals to pass through if a control input is high but stop signals if the control input is low.
Realistically, you should do this with a micro like a Picaxe chip or an Arduino.
You could read the inputs with the A to D converters of the micro and output a 5 volt control signal on an output pin which then switches an analog switch to let that signal through to the output.