Good news: project works. Bad news: eats batteries like popcorn.
Hello again, I wanted to thank you all for straightening out my programming problemearlier. Ends up that there was a bad solder joint in my cable I made that was preventing me from using the INS and OUTS correctly that were causing my LCD displays not to work. I have made massive improvements in my LCD + RFID scanner however I now have a new problem. I am eating batteries like mad!
I have the RFID reader running off of Vdd at the top of the mini breadboard while the LCD is behind it's own +5v regulator and is attached to Vin. The project works properly as expected however the battery only has about an hour's lifespan before the LCD will only turn on when data's been sent to it then will ultimately not work at all. It appears that there's not enough power to run everything, but I don't think I'm running anything too powerful.
I checked the wiring as I know that running the LCD off of the on-board regulator will closely push it's limits if not break it but I'm not sure about the RFID reader.
Am I simply running too much off of a 9V battery? Should I put the RFID reader on the same +5v regulator as the LCD? (The regulator is a 7805, rated for 1A and according to the datasheet for my LCD, it's current consumption is 363mA)
As always, thanks for your help and your recommendations.
I have the RFID reader running off of Vdd at the top of the mini breadboard while the LCD is behind it's own +5v regulator and is attached to Vin. The project works properly as expected however the battery only has about an hour's lifespan before the LCD will only turn on when data's been sent to it then will ultimately not work at all. It appears that there's not enough power to run everything, but I don't think I'm running anything too powerful.
I checked the wiring as I know that running the LCD off of the on-board regulator will closely push it's limits if not break it but I'm not sure about the RFID reader.
Am I simply running too much off of a 9V battery? Should I put the RFID reader on the same +5v regulator as the LCD? (The regulator is a 7805, rated for 1A and according to the datasheet for my LCD, it's current consumption is 363mA)
As always, thanks for your help and your recommendations.
Comments
data.energizer.com/PDFs/522.pdf
Does the LCD have a backlight? That can be an extra drain. Read the datasheet and see what functions (if any) are the biggest current hogs for the LCD and then see what you can do to minimize current drain.
Also, from the documentation, it looks like whenever the RFID reader is enabled, it's searching for nearby tags. That means it's using more power than it would be if it was idle. Putting the reader on a duty cycle would help (say .5 sec on, .5 sec off). Unless you expect things to be whizzing by really fast, the reader shouldn't miss anything.
Hope that helps,
Dave
Is there some reason you can't power this off a wall-wart? And why is your LCD pulling so much current, is it back-lit? And is this project supposed to be powered continuously, or would it be enough to press a button, read an RFID tag, make a display, then turn the thing off till next time?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
Duffer
The more voltage drop it has to regulate, the·more heat is given off. Wasted power.
So a 9V battery is a poor choice to power a 5V circuit. High voltage and low current capacity.
You could probably power everything off 3 alkaline AAs or AAAs (4.5 v) for a long time. Better yet, 4 NiMH AAs or AAAs (~5V). This completely eliminates the regulator and is·much more·efficient.
BTW, a 9-volt battery is made of six tiny AAAA cells spot-welded together. See http://www.youtube.com/watch?v=b28uZ427VUM·for useful info how to·open the case,·cut them apart and use them individually. Typically a good 9V alkaline can be had for $3 and yield 6 AAAAs, whereas IF you can find AAAAs individually, you will pay about a buck apiece.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
The LCD is indeed backlit using an LED array. According to the datasheet for the LCD, the LCD *itself* only draws about 2 or 3mA. If this device makes production, I might have the BS2 raise an IO pin high and turn on the LCD for a brief amount of time, then turn it off while the LCD itself remains displaying (like a lot of watches and touchscreen devices do).
This is more of an incremental project, I'm not sure what I'm going to do with the finalized device. It's more of a way for me to get used to using the BS2's IO pins and the RFID reader/LCD
I think the suggestion to go to a wall wart is definitely my next goal however I am concerned about the "noise" with most unregulated wall warts out there. Will the regulators guard against any reasonable amount of noise/brownouts?
Along the same note should I go with a +5V source instead of a +9v replacement without damaging the regulators? My thinking is this would be fine given that there's less power to regulate against, but this is a very short tiptoe into this realm and I am still very new and don't have my footing. [noparse]:)[/noparse]
Thank you all as always. I appreciate your suggestions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
Now, most "unregulated" wall-wart adapters have simply a transformer inside them with a couple of diodes and a capacitor to make a full-wave rectifier. As such, their output tends to be higher than rated at no-load. With a linear regulator, this tends not to be a problem, as long as the voltage doesn't fall below the (output + 'drop-out voltage').
Now, there DO exist "low-drop-out" regulators, like the LM3940, which can regulate with 0.5 volts difference between input and output.
I believe the BOE board has a plain 7805 on it, so a 7.5 volt unregulated wall-wart works fine with this. A 9-volt wall-wart will work also, though the 7805 will get a little warm. As has been said, a linear regulator works by being a variable resistor, so it 'drops' the difference voltage to insure the output voltage stays at 5 volts. This means there's some power (P = IV) being disappated by the 7805 as heat. The larger the voltage difference, the warmer the 7805 gets. But this is not a problem for what you're trying to do -- even 500 mA is pretty small current for a wall-wart with 7805.