Water Flow Rate in a Six Digit Seven Segment Display using Arduino (Part 1 of 3)

<<<< Previous : Circuit to Read Data from a Water Flow Sensor using Arduino

In the previous blog, we saw the circuit for sensing the flow of water through a water flow meter using an arduino mega. Here, we will design a circuit for displaying the rate of flow of water in a 6 digit seven segment display. Circuit is given below. If the circuit is not clear, open this link in a new tab for a better view of the circuit.

Before starting the circuit, you must read tutorials on,

4000-4000-another-copy (4th copy)

If the circuit is not clear, open this link in a new tab for a better view of the circuit.

Connections between arduino mega and flow sensor can be summarized as :

  • Red wire of water flow sensor is connected to the 5V pin of arduino uno.
  • Black wire of water flow sensor is connected to the Gnd pin of arduino uno.
  • Yellow wire of water flow sensor is connected to the digital pin 2 of arduino uno. A pull up resistor is connected to the digital pin 2 of arduino uno.

Connections between arduino mega and 74HC595 ICs can be summarized as :

  • Digital Pin 12 of arduino uno is connected to the pin 14 of first 74HC595 IC.
  • Digital Pin 11 of arduino uno is connected to the pin 12 of both 74HC595 ICs.
  • Digital Pin 10 of arduino uno is connected to the pin 11 of both 74HC595 ICs.

Connections between two 74HC595 ICs can be summarized as :

  • Pin 9 of first 74HC595 should be connected to the pin 14 of second 74HC595.
  • Pin 12 of both 74HC595 ICs should be connected together.
  • Pin 11 of both 74HC595 ICs should be connected together.

Connections between 6 common cathode seven segment displays can be summarized as :

  • ‘A’ terminal of all common cathode seven segment displays should be connected together.
  • ‘B’ terminal of all common cathode seven segment displays should be connected together.
  • ‘C’ terminal of all common cathode seven segment displays should be connected together.
  • ‘D’ terminal of all common cathode seven segment displays should be connected together.
  • ‘E’ terminal of all common cathode seven segment displays should be connected together.
  • ‘F’ terminal of all common cathode seven segment displays should be connected together.
  • ‘G’ terminal of all common cathode seven segment displays should be connected together.
  • ‘dp’ terminal of all common cathode seven segment displays should be connected together.

Connections between cluster of seven segment displays and first 74HC595 can be summarized as :

  • Cathode terminal of 1st seven segment display should be connected to the pin 15 of first 74HC595.
  • Cathode terminal of 2nd seven segment display should be connected to the pin 1 of first 74HC595.
  • Cathode terminal of 3rd seven segment display should be connected to the pin 2 of first 74HC595.
  • Cathode terminal of 4th seven segment display should be connected to the pin 3 of first 74HC595.
  • Cathode terminal of 5th seven segment display should be connected to the pin 4 of first 74HC595.
  • Cathode terminal of 6th seven segment display should be connected to the pin 5 of first 74HC595.

Connections between cluster of seven segment displays and second 74HC595 can be summarized as :

  • ‘A’ terminal of all seven segment displays should be connected to the pin 15 of second 74HC595.
  • ‘B’ terminal of all seven segment displays should be connected to the pin 1 of second 74HC595.
  • ‘C’ terminal of all seven segment displays should be connected to the pin 2 of second 74HC595.
  • ‘D’ terminal of all seven segment displays should be connected to the pin 3 of second 74HC595.
  • ‘E’ terminal of all seven segment displays should be connected to the pin 4 of second 74HC595.
  • ‘F’ terminal of all seven segment displays should be connected to the pin 5 of second 74HC595.
  • ‘G’ terminal of all seven segment displays should be connected to the pin 6 of second 74HC595.
  • ‘dp’ terminal of all seven segment displays should be connected to the pin 7 of second 74HC595.

Other connections :

  • Pin 8 and pin 13 of both 74HC595 ICs should be connected to the ground terminal of external power supply.
  • Pin 10 and pin 16 of both 74HC595 ICs should be connected to 5V.
  • Gnd pin of arduino uno and external voltage source should be connected together.

Continued in Next Part (Part 2) >>>>

(Visited 3,616 times, 1 visits today)
paulpp644
A deep electronic enthusiast who spent most of my time for electronic experiments. I am also interested in publishing my experiments in my blog for helping other electronics enthusiasts.