1
\$\begingroup\$

I'm currently working on setting up a logic circuit using ICs (SN74LS08N, HD74LS04P and CD4075BCN) and LEDs. I looked at their datasheets and I found that the maximum voltage supply to the ICs is 5.25V.

Which type of battery should I use as the source?

I currently found 2 solutions on the internet, one is getting a 9V battery with LM7805 voltage regulator IC and the other one is connecting 3 AAA batteries in series.

Which one is better for my circuit?

\$\endgroup\$

4 Answers 4

1
\$\begingroup\$

Just use a 9 volt battery and a 7805 regulator.

  • You can get a 7805 from wherever you got your logic ICs. Other regulators aren't as commonly available, and other regulators aren't as forgiving as the 7805 (it isn't picky about the surrounding circuit and is pretty rugged electrically.)
  • 9 volt batteries can't deliver enough current to burn things out if you wire something wrong.
  • It is easy to tell when to replace the battery - when the 7805 output drops below 5V.

Simple and reliable is best if you are just beginning.

I mean, consider what happens if your circuit doesn't work.

If you are using one of the "better" regulators, then they can oscillate if the circuit (input and output capacitance) is wrong. The output voltage will be wrong (and vary thousands of times a second.) How will you find that as a beginner?

If you use a stack of 1.5V batteries, how will you be sure that you didn't get more than 5V long enough to damage something?

  1. Only power the circuit when you are using it (saves battery power.)
  2. Use a new battery when you go to demonstrate it to your instructor.
  3. Buy a bunch of 100 nanofarad capacitors when you buy your 7805. Place one 100nF capacitor across the power supply pins of every IC in the circuit - right at the IC. Everytime a digital IC switches states, it draws a spurt of current. That can cause the voltage at the IC to dip, which can cause the IC to misbehave. The capacitors make up for the little spurts and keep the voltage steady - your circuit will be more reliable. These are known as "decoupling capacitors."
  4. If your circuit doesn't work, you can touch the ICs with your finger. If any IC is noticeably warmer than the others, then you can start looking for wiring problems around that IC. A 9 volt battery can deliver enough current to make things get warm, but not enough to burn your finger (or go bang.) The AA 1.5V cells can easily deliver enough current to burn a finger or worse.
  5. Build your 5V regulator circuit by itself first, and make sure it delivers 5V before you attach any of your logic ICs to it.

The other answers give good advice in general, but you are a student just starting out. Simple and reliable are more important than any other considerations - for now.

As you go further into electronic things, you can look into more sophisticated regulators or other batteries.

For now, do what always works and has a very low chance of going wrong - you aren't yet equipped to deal with problems.

\$\endgroup\$
1
\$\begingroup\$

Since you have planned to use battery as a power source with Logic gates, it is better to use low quiescent current regulators than 7805. Because 7805 is old one. There are new and upgraded regulators for low quiescent current applications.

With that in mind, you can use MCP1702 series regulator for your project. The main objective here is you are using battery. So, the current consumption from the battery should be less in order to extend the life of battery whether it is 9V or AAA batteries.

So, I suggest this IC for you. The delivering current of MCP1702 is more than enough for Logic gates ICs. More info you can found in it's data sheet.

Circuit is so simple as you might have seen in 7805 circuit.

Data sheet : https://www.microchip.com/wwwproducts/en/en028178

enter image description here

\$\endgroup\$
1
\$\begingroup\$

I sometimes use 4 NiMH AA or AAA cells in series for approximately 5V. Freshly charged they can exceed the 5.25V, but not usually by much and under load they drop a little further. Their nominal voltage is only 1.2 volts each but fresh off a charger they can read around 1.4V. They will drop down from that pretty rapidly under load (eg. a flashlight). For a little security you could always put a 1n4002 type rectifier in series to drop the voltage by a bit, but I've never bothered. They don't hold that high voltage for very long and settle into the region of their nominal voltage pretty quickly for the long haul.

The nice thing about NiMH is they have a pretty flat discharge curve, meaning that your circuit will stay in the operating voltage region for longer before the battery is too exhausted to power the circuit, compared to using 3 alcaline cells, which lose voltage even faster owing to their steeper discharge curve.

\$\endgroup\$
0
\$\begingroup\$

You could use a USB power supply (or cell phone charger - same thing) as a 5 volt power supply - saves buying batteries.

\$\endgroup\$
2
  • \$\begingroup\$ Yeah it would be nice, unfortunately, it is my school project and the project rubrics require us to design a breadboard circuit with a battery source. Sorry for not specify this in question. \$\endgroup\$
    – Nobu Nobu
    Commented Dec 26, 2020 at 5:59
  • \$\begingroup\$ Wouldn't a USB "battery bank" count as a battery? $4 from the dollar store, very convenient. Just have to strip an old USB cable to get at the power leads. \$\endgroup\$
    – DarylK
    Commented Dec 28, 2020 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.