Pages: [1]   Go Down
Author Topic: uploading code to arduino uno to use without arduino  (Read 380 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there!
I have bought this chip : http://www.dipmicro.com/store/CPU-ARD328P
But i tried to remove it from the board and uploading the sketch onto this chip then i tried to hook up without arduino uno board, and it doesnt seems to work..
Can you explain me how to upload a sketch to this arduino : http://www.dipmicro.com/store/CPU-ARD328P ?

thank you very much!
have a great evening!
marC:)
Logged

California
Offline Offline
Sr. Member
****
Karma: 2
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I believe you are saying that you put the chip in the arduino, uploaded the code, then took it out of the arduino and it did not work. If that is the case then you are simply missing a couple of components that are necessary for the chip to work on its own. (Notice on the page you linked that some of the photos show it set up on a breadboard. You need those other parts too.)

http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard

The first three steps, plus whatever wiring your project needs, will get your running as long as you upload the code to the chip first.
« Last Edit: December 09, 2012, 09:38:23 pm by stoopkid » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.

I have all the components connected to my stand-alone atmega 380 but it doesn't upload any sketches using a USB to RS323 converter, I connected my TX and RX to it, do I have to do anything else? thanks.
Logged

SG
Offline Offline
Sr. Member
****
Karma: 7
Posts: 419
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Where you get this "atmega 380"? do it come with bootloader?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.ebay.co.uk/itm/221111572348?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

itcomes with arduino uno bootloaded, but Im having problems uploading the scripts.
Logged

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 67
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not sure but you may have the TX and RX lines swapped, swap them and give it a shot. Another thing is that you might have to power cycle or reset the chip right before uploading the program to put the boot loader into the programming mode.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK I'VE GOT IT, I didn't read it at first but with this converter you have to connect its DTR pin to the reset button of the AtMega with a coupling capacitor, this way it resets right before being programmed, another thing that I had wrong is the programer selected in Arduino GUI, it has to be usb. Thanks
Logged

Pages: [1]   Go Up
Jump to: