1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
konstantin123 [22]
3 years ago
12

Put four red LED as a straight line and connect each of them to a corresponding analog output. Connect a potentiometer to a 5 Vo

lt power source. Divide the 0 to 5 Volt output of the potentiometer into four parts (0 ~ 1.25 Volt, 1.25 to 2.5 Volt, 2.5 to 3.75 volt, and 3.75 to 5 Volt). Write a program to change the brightness of a LED with respect to the voltage. For each 1.25 V interval, the brightness of one LED will be proportional to the output voltage of the connected potentiometer.
Engineering
1 answer:
N76 [4]3 years ago
3 0

Explanation:

There has been no information about related to which programming language is to be used, writing code algorithm.

Defining I/O's ;

Analogue output

A01, A02, A03,AO4

Analogue Input;

AI_1   // potentiometer input

// Based on controller used, assign channels to I/O's

// code

int voltage

Voltage = AI_1;

If (Voltage > 0 && Voltage < 1.25)

 {

   A01 = voltage

   A02 = 0;

   A03= 0

   AO4= 0

 }

If (Voltage > 1.25 && Voltage < 2.5)

 {

   A01 = 1.25

   A02 = (Voltage -1.25);

   A03= 0

   AO4= 0

 }

If (Voltage > 2.5 && Voltage < 3.75)

 {

   A01 = 1.25

   A02 = 1.25

   A03=  (Voltage - 2.5);

   AO4= 0

 }

else

 {

   A01 = 1.25

   A02 = 1.25

   A03=  1.25

   AO4= (Voltage - 3.75);

 }

return

You might be interested in
Waste that is generated by a business is called a _____________.
matrenka [14]
It is called a ‘Waste Stream’

This should be right! Hope this helps, have a great day!
8 0
3 years ago
How do I put a picture on here for my graph equation??
Pavel [41]

Answer:

Take a screenshot of it and when you go to question you will see a paperclip looking thing

Explanation:

8 0
4 years ago
Read 2 more answers
Question 2
ValentinkaMS [17]

Answer:

r h ch y TC GG ch hh h h

No se

Explanation:

No seibibk h j h uh t t t

3 0
2 years ago
What the advantages and disadvantages of steam distillation??
In-s [12.5K]

Explanation:

Advantages:

-An efficient method of water softening for smaller purposes.

-Cheap

-Reusable

Disadvantages:

-Unwanted elements can be found in the distilled water.

-Very high levels of acidity

-Doesn't contain any oxygen, very tasteless.

4 0
3 years ago
Chegg Discuss why stress-strain behavior of material is critical than just the ultimate strength of the material. What propertie
DanielleElmas [232]

Answer:

Throughout the clarification section elsewhere here, the definition of the concern is mentioned.

Explanation:

  • The stress-strain curve provides designers with a long list of critical parameters that are needed for utility development. Including capacity, longevity, elasticity, apparent viscosity, tension electricity, resilience, as well as flexural strength, a load-pressure assignment gave us several mechanical households at a certain point of operation. It also assists in manufacturing.
  • During which the overarching force can inform us about the maximum energy either workload the substance will experience, which could also be inferred within the action of the stress-strain. The dynamic properties can be seen by pre maximum activity because it will be before even the maximum yield intensity as well as the posted maximum would display plastic behavior however after the peak becomes achieved, the natural frequencies continue to decline.
4 0
3 years ago
Other questions:
  • Does a thicker core make an electromagnet stronger?
    13·1 answer
  • Data becomes information when it is__________ in some way and made___________
    5·1 answer
  • Consider a fully-clamped circular diaphragm poly-Si with a radius of 250 μm and a thickness of 4 μm. Assume that Young’s modulus
    14·1 answer
  • To reduce the drag coefficient and thus improve the fuel efficiency of cars,the design of side rearview mirrors has changed dram
    11·1 answer
  • Draw the schematics of stress versus strain plot of a metal, and illustrate, (a) modulus of elasticity, (b) yield strength, (c)
    12·1 answer
  • How can we prevent chemical hazards in labotary
    9·1 answer
  • Two technicians are discussing a vehicle that will not start. Tech A states that a problem with the immobilizer system may be th
    9·1 answer
  • A 20 dBm power source is connected to the input of a directional coupler having a coupling factor of 20 dB, a directivity of 35
    8·1 answer
  • A concrete block making company is developing an aggregate capacity plan from the following sales forecast for its 6” and 8” con
    7·1 answer
  • Determine the normal stress acting perpendicular to the seam, when the tube is subjected to an axial compressive force of 200
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!