Author Topic: I have an arduino uno, want to remove the chip and program with it  (Read 5248 times)

0 Members and 1 Guest are viewing this topic.

Offline zcamTopic starter

  • Newbie
  • Posts: 4
Is that possible to put the avr chip on UNO to bread board and still use IDE to program the avr chip (through for example ISP) using the UNO board without avr chip?

In short, I only have one UNO. Can I use THE AVR chip on other place while still be able to program it without using extra programming hardware?

I found that there is no FTDI on my UNO. Could that be a show stopper for this purpose?

Thanks
 

Offline 3db

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: gb
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #1 on: June 07, 2016, 11:10:51 pm »
Is that possible to put the avr chip on UNO to bread board and still use IDE to program the avr chip (through for example ISP) using the UNO board without avr chip?

In short, I only have one UNO. Can I use THE AVR chip on other place while still be able to program it without using extra programming hardware?

I found that there is no FTDI on my UNO. Could that be a show stopper for this purpose?

Thanks

Yes but you will need a few other support components.
Your UNO will have a USB to serial chip or an MCU.

3DB  ;D
 

Offline zcamTopic starter

  • Newbie
  • Posts: 4
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #2 on: June 08, 2016, 08:21:30 am »
Hi, Thanks 3DB

I have AT16U2 on the board to handle usb stuff but I am not sure it will do the job?

I have a 8MHz crystal and 22pF x2 cap hooked up. So what could be the next step.

If there is no way of doing this without help of extra board that can burn the boatload onto my ATMEGA328P, then I  will try this: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard with the help of another Leonardo. :)

But I just wander if I can do the job without extra downloader?
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #3 on: June 08, 2016, 10:17:08 am »
I generally add an ICSP header to my projects and use this little guy for the programming, you can select him straight from the ide.

Otherwise you can use the arduino as isp example and break out the pins as shown,

http://www.ebay.com.au/itm/like/191821167214?lpid=107&chn=ps

« Last Edit: June 08, 2016, 10:19:19 am by Rerouter »
 

Offline zcamTopic starter

  • Newbie
  • Posts: 4
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #4 on: June 08, 2016, 01:06:42 pm »
I found this useful : http://www.open-electronics.org/arduino-isp-in-system-programming-and-stand-alone-circuits/

There should be many out there. But the conclusion may be sad since I have to use another Arduino board.
 

Offline 3db

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: gb
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #5 on: June 08, 2016, 02:52:37 pm »
I found this useful : http://www.open-electronics.org/arduino-isp-in-system-programming-and-stand-alone-circuits/

There should be many out there. But the conclusion may be sad since I have to use another Arduino board.

The easy option is to get some AtMega328 chips.
Then you can use the Arduino  to program them using the ArduinoISP option as others have mentioned .

Nano's are also cheap from China or ebay/Amazon.
It's also worth having a USB to serial device.
There are lots of them out there.
There's an eeprom programmer mentioned in the UNI T 210E thread that can also be used as usb to serial.

3DB  ;D


 

 
 

Offline JacquesBBB

  • Frequent Contributor
  • **
  • Posts: 829
  • Country: fr
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #6 on: June 08, 2016, 03:48:28 pm »
For nearly  the price of an Atmeg328, you can buy a fully functionnal arduino  nano  which you can even put on a breadboard.

http://www.ebay.com/itm/MINI-USB-Nano-V3-0-ATmega328P-CH340G-5V-16M-Micro-controller-board-Arduino-M47-/291548871778?hash=item43e1aabc62:g:HNsAAOSwLa9UYdnI
 

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2254
  • Country: ca
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #7 on: June 08, 2016, 04:49:22 pm »
For nearly  the price of an Atmeg328, you can buy a fully functionnal arduino  nano  which you can even put on a breadboard.

http://www.ebay.com/itm/MINI-USB-Nano-V3-0-ATmega328P-CH340G-5V-16M-Micro-controller-board-Arduino-M47-/291548871778?hash=item43e1aabc62:g:HNsAAOSwLa9UYdnI

That's right, the ATmega328P in DIP package is expensive, and costs as much as a fully populated Nano (or UNO) clone with the '328 in a QFP package. For this reason, I chose to buy UNO clones with the QFP package instead of the more expensive ones using the DIP package. If I should fry the '328, I can replace the entire UNO for less cost than replacing just the ATMega328 DIP-package chip. As a bonus, the ATMega328P in QFP package has 2 additional analog-only input pins, which are accessible on the Nano and on some UNO clones.

You can either just pop the entire Nano onto the breadboard (it is the size of the 32-pin wide DIP chip) and use it as-is, or you can use it as an ICSP programmer for the ATMega328p chip (after uploading a programmer sketch to the Nano).
 

Offline 3db

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: gb
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #8 on: June 09, 2016, 12:27:35 am »
I guess we have this too.
http://www.ebay.com/itm/1-PCS-ATMEGA328P-PU-Microcontrolle-r-With-ARDUINO-UNO-R3-Bootloader-FUL-/301848386608?hash=item464790dc30:g:cDMAAOSw5dNWmJtH

My idea was that the OP could play with a virgin chip and burn the bootloader himself.
He could also run the chip without a crystal  etc and learn about the fuses etc.

3DB   :D
 

Offline EazyCzE

  • Newbie
  • Posts: 5
  • Country: cz
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #9 on: June 11, 2016, 10:34:59 am »
And how about http://vonkonow.com/wordpress/2012/10/nanino-the-diy-friendly-arduino/ ? You just need external programmer.
 

Offline ali6x944

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: I have an arduino uno, want to remove the chip and program with it
« Reply #10 on: June 13, 2016, 11:06:37 pm »
i think u could do it with a Bluetooth module an tx rx pins of the avr...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf