question regarding power supply

I have done the programming of my counter code. And now I am taking out the Atmega328 to test it out on a breadboard. I am also using a wifi shield, i am planning on using batteries/battery to power the circuit. May i know the recommended voltage for powering up the circuit?

Thanks in advance!

interestlearner:
I have done the programming of my counter code. And now I am taking out the Atmega328 to test it out on a breadboard. I am also using a wifi shield, i am planning on using batteries/battery to power the circuit. May i know the recommended voltage for powering up the circuit?
Thanks in advance!

If you want 5V to power the chip, via the Vin connection, you really want a battery supply >= 7VDC. Depending on current drain, the Arduino on-board regulator needs up to 1.2V higher than the 5V chip supply.
The 'Getting Started' page says 7V to 12V, but it's better to stay nearer to 7V to 9V to avoid excessive dissipation in the regulator.
Make sure your batteries have a suitable capacity for running your shield + Arduino for the amount of time that you want it to run between recharges. Ideally, you'll need to recharge your batteries before they get down to 6V.

OldSteve:
If you want 5V to power the chip, via the Vin connection, you really want a battery supply >= 7VDC. Depending on current drain, the Arduino on-board regulator needs up to 1.2V higher than the 5V chip supply.
The 'Getting Started' page says 7V to 12V, but it's better to stay nearer to 7V to 9V to avoid excessive dissipation in the regulator.
Make sure your batteries have a suitable capacity for running your shield + Arduino for the amount of time that you want it to run between recharges. Ideally, you'll need to recharge your batteries before they get down to 6V.

I am thinking of using 9V battery, however theres no voltage regulator on my breadboard circuit, will that affect the circuit or damage either the wifi shield or atmega? Sorry if this sounded dumb but i want to make sure Thanks!

interestlearner:
I am thinking of using 9V battery, however theres no voltage regulator on my breadboard circuit, will that affect the circuit or damage either the wifi shield or atmega? Sorry if this sounded dumb but i want to make sure Thanks!

You must use a 5V regulator. If you provide 9V to the chip or the shield, you will kill them!

A 9V battery won't last very long, either. They have a very low capacity.

OldSteve:
You must use a 5V regulator. If you provide 9V to the chip or the shield, you will kill them!

A 9V battery won't last very long, either. They have a very low capacity.

hmm ok thanks for the help!

interestlearner:
hmm ok thanks for the help!

No problem. Sorry to be a spoilsport. :smiley:

The datasheet for all shields and components includes the maximum and minimum voltages that can be supplied, along with the recommended voltages. Same goes for the Arduino, in the 'Getting Started' page. Datasheets usually also give an indication of the current that the device uses, too.
It's a good idea to always look at the specs before using any part. Then you won't get any unexpected surprises.

OldSteve:
No problem. Sorry to be a spoilsport. :smiley:

The datasheet for all shields and components includes the maximum and minimum voltages that can be supplied, along with the recommended voltages. Same goes for the Arduino, in the 'Getting Started' page. Datasheets usually also give an indication of the current that the device uses, too.
It's a good idea to always look at the specs before using any part. Then you won't get any unexpected surprises.

just one more question, will the wifi shield work just with the atmega?

interestlearner:
just one more question, will the wifi shield work just with the atmega?

I figured that you must have already looked into that side of your project.

I've never used a wi-fi shield. There's more info on the connections here:-
Arduino WiFi shield

Hi,

It sounds like you are not using an Aduino Board, but have breadboarded the 328.
How are you going to program your 328?

If you have breadboarded just the minimum to run the 328, then you will need to program ISCP?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Can you post a picture of your project please?

Tom.... :slight_smile:

TomGeorge:
Hi,

It sounds like you are not using an Aduino Board, but have breadboarded the 328.
How are you going to program your 328?

If you have breadboarded just the minimum to run the 328, then you will need to program ISCP?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Can you post a picture of your project please?

Tom.... :slight_smile:

He is breadboarding it, and also says in the opening post that the chip is already programmed, so no ICSP needed.
And I'd like to see the schematic too.

TomGeorge:
Hi,

It sounds like you are not using an Aduino Board, but have breadboarded the 328.
How are you going to program your 328?

If you have breadboarded just the minimum to run the 328, then you will need to program ISCP?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Can you post a picture of your project please?

Tom.... :slight_smile:

I am sorry but what i am doing now is a modification of previous project so i am currently combining 2 projects into 1 so theres no schematics i could find. However what i am thinking of right now is the sentence "Requires an Arduino board (not included)" so does that mean it doesnt work with just the atmega?

interestlearner:
I am sorry but what i am doing now is a modification of previous project so i am currently combining 2 projects into 1 so theres no schematics i could find. However what i am thinking of right now is the sentence "Requires an Arduino board (not included)" so does that mean it doesnt work with just the atmega?

It means that it needs a controller chip and sockets to plug into. It's intended for an Arduino board, of course. It's an Arduino shield. That's not to say it won't work on a separate board. You just add whatever's necessary on your board. A breadboard is only temporary, too, for prototyping. Not really suited to a permanent circuit. And the shield won't plug directly into a breadboard.

And are you saying that you don't have the shield yet? When you said "I have done the programming of my counter code. And now I am taking out the Atmega328 to test it out on a breadboard. I am also using a wifi shield", I took it to mean that you'd written and tested the whole thing and were now moving to a breadboard.

I think you're jumping the gun a little, don't you?
Get the whole thing running on the Arduino, then consider a breadboard.

Hi,

I have done the programming of my counter code. And now I am taking out the Atmega328 to test it out on a breadboard.

How have you programmed the 328?
"Taking out" what do you mean?

As Steve has said, get it running with Arduino Board and WiFi Shield, then think about making it smaller without the Arduino Board overheads.

Tom...... :slight_smile:

OldSteve:
It means that it needs a controller chip and sockets to plug into. It's intended for an Arduino board, of course. It's an Arduino shield. That's not to say it won't work on a separate board. You just add whatever's necessary on your board. A breadboard is only temporary, too, for prototyping. Not really suited to a permanent circuit. And the shield won't plug directly into a breadboard.

And are you saying that you don't have the shield yet? When you said "I have done the programming of my counter code. And now I am taking out the Atmega328 to test it out on a breadboard. I am also using a wifi shield", I took it to mean that you'd written and tested the whole thing and were now moving to a breadboard.

I think you're jumping the gun a little, don't you?
Get the whole thing running on the Arduino, then consider a breadboard.

Yup i had it running perfectly on the Arduino Board.My next part of the project is testing the atmega on the breadboard then after testing, soldering it on a circuit board.

TomGeorge:
Hi,
How have you programmed the 328?
"Taking out" what do you mean?

As Steve has said, get it running with Arduino Board and WiFi Shield, then think about making it smaller without the Arduino Board overheads.

Tom...... :slight_smile:

Yes i have program the code in 328.

interestlearner:
Yup i had it running perfectly on the Arduino Board.My next part of the project is testing the atmega on the breadboard then after testing, soldering it on a circuit board.
Yes i have program the code in 328.

Good, now we're all on the same page.
Then all you need to do is check the documentation on the shield, work out the connections that matter, duplicate them on the breadboard, and Bob's your uncle.

so theres no schematics i could find

I'm not surprised. You should draw up the schematic for your project. No one else will have exactly the same connections as your custom circuit. Especially since you're combining two projects into one.

It's not a good idea to work without a schematic diagram in front of you. I've been doing this stuff for decades, but still wouldn't work on anything much more complex than connecting a LED without a diagram. First thing I do is draw up the schematic, working from the relevant datasheets.

OldSteve:
Good, now we're all on the same page.
Then all you need to do is check the documentation on the shield, work out the connections that matter, duplicate them on the breadboard, and Bob's your uncle.
I'm not surprised. You should draw up the schematic for your project. No one else will have exactly the same connections as your custom circuit. Especially since you're combining two projects into one.

It's not a good idea to work without a schematic diagram in front of you. I've been doing this stuff for decades, but still wouldn't work on anything much more complex than connecting a LED without a diagram. First thing I do is draw up the schematic, working from the relevant datasheets.

hmm thats true i will do that soon. But i am pretty sure the connections are all good, just that i dont understand why the wifi shield isn't turn on but thanks.

interestlearner:
hmm thats true i will do that soon. But i am pretty sure the connections are all good, just that i dont understand why the wifi shield isn't turn on but thanks.

Well no one here can help without seeing your schematic, your program and maybe a photo of the setup, showing your connections.

Hi,
What model/make is your WIFi shield? (Source/link to data/schematic)

Thanks Tom.... :slight_smile:

OldSteve:
Well no one here can help without seeing your schematic, your program and maybe a photo of the setup, showing your connections.

TomGeorge:
Hi,
What model/make is your WIFi shield? (Source/link to data/schematic)

Thanks Tom.... :slight_smile:

OldSteve:
Well no one here can help without seeing your schematic, your program and maybe a photo of the setup, showing your connections.

hmm i will get back to you the day after..because i currently dont have the required information and the project with me, Sorry and thanks once again