Offline
Newbie
Karma: 0
Posts: 3
|
 |
« on: November 15, 2012, 05:06:25 pm » |
Hello all, this is my first post I would like to say hi as I don't see a introduction section. I just received my Arduino Uno in the mail, coded my first blinking LED and I love it. Now I have a sequence of blinking LED's I want to put in a project, but I don't want to use up my Arduino Uno for that. Is there a way the Arduino Uno can program a chip to copy over the function that I programed onto the Uno. How do I get the code I wrote in the Uno to a chip so I can make the project without loosing my Uno.
Thanks for the help in advance. -Nick
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 119
Posts: 10172
|
 |
« Reply #1 on: November 15, 2012, 05:10:43 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #2 on: November 15, 2012, 05:27:38 pm » |
So one way is to write your sketch and upload it into the Uno board. Then power off the board, remove the 328p chip from it's socket and move it to your standalone PCB or breadboard or wired into a larger project. Then just buy a new $5 328p chip/with bootloader preinstalled into your arduino board. Lather, rinse, and repeat as required. If you progress into burning your own bootloader on to blank chips you can save a couple of dollars per cycle.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 3
|
 |
« Reply #3 on: November 15, 2012, 08:42:43 pm » |
sweet thanks for the info. Is there a layout that I can see which pins do what for the 328p chip.
Thanks again.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 119
Posts: 10172
|
 |
« Reply #4 on: November 15, 2012, 09:11:55 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
London
Offline
Sr. Member
Karma: 4
Posts: 266
|
 |
« Reply #5 on: November 16, 2012, 11:14:25 pm » |
So one way is to write your sketch and upload it into the Uno board. Then power off the board, remove the 328p chip from it's socket and move it to your standalone PCB or breadboard or wired into a larger project. Then just buy a new $5 328p chip/with bootloader preinstalled into your arduino board. Lather, rinse, and repeat as required. If you progress into burning your own bootloader on to blank chips you can save a couple of dollars per cycle.
Lefty
How do you do that if you've got a Uno with an SMD chip?
|
|
|
|
|
Logged
|
|
|
|
|
California
Online
Edison Member
Karma: 41
Posts: 1872
|
 |
« Reply #6 on: November 16, 2012, 11:20:04 pm » |
How do you do that if you've got a Uno with an SMD chip?
You don't; You use the Uno to program any new chip you get.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #7 on: November 16, 2012, 11:22:41 pm » |
So one way is to write your sketch and upload it into the Uno board. Then power off the board, remove the 328p chip from it's socket and move it to your standalone PCB or breadboard or wired into a larger project. Then just buy a new $5 328p chip/with bootloader preinstalled into your arduino board. Lather, rinse, and repeat as required. If you progress into burning your own bootloader on to blank chips you can save a couple of dollars per cycle.
Lefty
How do you do that if you've got a Uno with an SMD chip? Well of course you don't. The UNO SMD board was first released when there was a industry shortage/long lead time delay on the DIP 328p chips making the delivery of the standard Uno delayed/backordered. Today there is no good reason to buy a SMD uno over a DIP uno board, and several good reasons to buy the DIP version. Easy repair for damaged AVR chip. Easy development for standalone chips. Are they priced differently? Again a SMD Uno is a poor choice as long as the DIP version is available. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
London
Offline
Sr. Member
Karma: 4
Posts: 266
|
 |
« Reply #8 on: November 17, 2012, 09:17:23 pm » |
How do you do that if you've got a Uno with an SMD chip?
Well of course you don't. The UNO SMD board was first released when there was a industry shortage/long lead time delay on the DIP 328p chips making the delivery of the standard Uno delayed/backordered. Today there is no good reason to buy a SMD uno over a DIP uno board, and several good reasons to buy the DIP version. Easy repair for damaged AVR chip. Easy development for standalone chips. Are they priced differently? Again a SMD Uno is a poor choice as long as the DIP version is available. Lefty It was a present. I didn't buy it 
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #9 on: November 17, 2012, 09:21:19 pm » |
How do you do that if you've got a Uno with an SMD chip?
Well of course you don't. The UNO SMD board was first released when there was a industry shortage/long lead time delay on the DIP 328p chips making the delivery of the standard Uno delayed/backordered. Today there is no good reason to buy a SMD uno over a DIP uno board, and several good reasons to buy the DIP version. Easy repair for damaged AVR chip. Easy development for standalone chips. Are they priced differently? Again a SMD Uno is a poor choice as long as the DIP version is available. Lefty It was a present. I didn't buy it   Yes, I use to have an aunt that would buy me funny looking shirts for Christmas. The kind that would get a kid beat up in school if worn. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
|
|
London
Offline
Sr. Member
Karma: 4
Posts: 266
|
 |
« Reply #11 on: November 18, 2012, 11:19:34 pm » |
 Yes, I use to have an aunt that would buy me funny looking shirts for Christmas. The kind that would get a kid beat up in school if worn. Lefty It's a long time since I was in school and nobody here will beat me up for having an SMD Uno, will they? 
|
|
|
|
|
Logged
|
|
|
|
|
|