resetting sketch with switch on breadboard

Hi guys

I bought this arduino gsm shield sim 900 and connected it to an arduino uno board and it's working fine with sending sms and calling. To send an sms i need to upload the sketch from the computer, but i want to upload the sketch by using a sketch on a breadboard. So i need a circuit that can upload the sketch for my arduino board, by pressing a button.

Cheers.

What's a "sketch on a breadboard"?

So i need a circuit that can upload the sketch for my arduino board, by pressing a button.

That circuit is already on your board: the reset button.

Where are you trying to upload the sketch from and to?

If you want to upload a sketch to your breadboard one option is to use the UNO as an ISP, which will upload the sketch to the breadboard via the ICSP interface. That needs a bit of work to set up but it's not difficult and is well documented (look for Arduino as ISP).

not exactly.. i want to upload the arduino gsm sketch by pressing a button (made on a breadboard with a little circuit or something) instead of pressing the "upload" button in the arduino program.

mick_ismand:
not exactly.. i want to upload the arduino gsm sketch by pressing a button (made on a breadboard with a little circuit or something) instead of pressing the "upload" button in the arduino program.

What has us confused is that once uploaded , a sketch (program) is permanently in the microcontroller flash... The PC is no longer required. This is true for all Arduino designs. On a breadboard, you have a 2 step process: download the boot loader by ISP and the sketch separately by serial. or, use ISP and download the sketch without the boot loader.

There are programs that can "live" in an Arduino and program the boot loader into a blank chip. Said programs could be modified by a fair programmer to download a full sketch insteanpd of a bootloader.

not exactly.. i want to upload the arduino gsm sketch by pressing a button (made on a breadboard with a little circuit or something) instead of pressing the "upload" button in the arduino program.

As I said, the Arduino is already listening for a new upload when you press the reset button. The problem is, that the connected PC has to be ready to send the new sketch. If not by pressing the upload button how do you expect the sketch to be uploaded is selected on the PC? Or better: How do you imagine the complete process from compiling the new sketch until it's stored in the Arduino's flash memory? If you describe that we may be able to tell you if your imagination is technically possible and maybe how it is possible.