Comparing 8 analog signals and outputting the largest one

  • Thread starter Thread starter royzizzle
  • Start date Start date
  • Tags Tags
    Analog Signals
Click For Summary
SUMMARY

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.

PREREQUISITES
  • Understanding of analog signal processing
  • Familiarity with comparators and their functions
  • Knowledge of microcontrollers, specifically Picaxe and Arduino
  • Basic concepts of analog switches, particularly the 4066 model
NEXT STEPS
  • Research the specifications and applications of the 4066 analog switch
  • Learn how to implement A to D conversion using Arduino
  • Explore programming techniques for Picaxe microcontrollers
  • Investigate power-saving strategies in analog signal processing
USEFUL FOR

Electronics enthusiasts, undergraduate students in electrical engineering, and hobbyists working on projects involving analog signal comparison and microcontroller applications.

royzizzle
Messages
48
Reaction score
0
I drew a circuit using paint for this function. I was wondering what kind of individual comparator should I use to save the most power.

Also, what are some less noob ways of going about this?

sorry if stupid question. I am an undergrad
 

Attachments

  • comparator circuit.jpg
    comparator circuit.jpg
    31.3 KB · Views: 477
Engineering news on Phys.org
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.
 
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.

Thanks! that helped a lot
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
953
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
6
Views
3K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
37
Views
7K