I am new into Arduino. So if I program the microcontroller using the Arduino board and once it is doing what I want can I just take the microcontroller out of the board and use the microcontroller itself? If so could you please guide me to some tutorials on how to use it?
-
You prise the chip out of the board? What part are you wondering about?Nick Gammon– Nick Gammon ♦02/05/2016 03:42:46Commented Feb 5, 2016 at 3:42
-
@NickGammon Yes I meant taking the chip out and use it as you explained on your answer. Thank you very much!Dilshod– Dilshod02/05/2016 04:02:14Commented Feb 5, 2016 at 4:02
-
@per1234 please stop making trivial, unnecessary edits to old questions. It adds nothing, but uselessly bumps them to the top of the main page, stealing attention from topics that legitimately deserve attention.Chris Stratton– Chris Stratton11/04/2017 19:27:08Commented Nov 4, 2017 at 19:27
1 Answer
I have a post about a breadboard Arduino - in that I demonstrate the minimal amount of parts you need to use the controller (which is not much).
Example of wiring it up:
If you want to use an external crystal or resonator you can add that to the board like this:
8 MHz crystal shown, but you could use 16 MHz. Or change the fuses and use the internal oscillator.
Schematic showing how you could (if you wanted) add an ICSP header and an FTDI header:
-
One quibble regarding that first picture being minimal ... what's your rationale for having a 10KΩ pullup on Reset instead of depending on the internal pullup? (30K-60KΩ, per Electrical Characteristics specs table 30.2, DC Characteristics)James Waldby - jwpat7– James Waldby - jwpat702/05/2016 06:09:44Commented Feb 5, 2016 at 6:09
-
1There were reports of unreliability with only the internal pull-up, but certainly you could try omitting it. I notice you didn't ask me about the diode. ;)02/05/2016 06:58:46Commented Feb 5, 2016 at 6:58
-
I agree though, for minimal you may as well omit the 10k resistor.02/05/2016 06:59:44Commented Feb 5, 2016 at 6:59
-
I assume the diode keeps charge on C3 from pushing reset up to about 10V as RTS goes from low to high and also allows C3 to discharge so RTS can pull Reset low for automatic reset in programmingJames Waldby - jwpat7– James Waldby - jwpat702/05/2016 08:01:41Commented Feb 5, 2016 at 8:01
-
That's roughly it. In certain cases /Reset was being pushed high enough for the chip to enter High Voltage Programming mode, and thus was unresponsive to attempts to program it via the bootloader.02/05/2016 08:06:16Commented Feb 5, 2016 at 8:06