Offline
Newbie
Karma: 0
Posts: 48
|
 |
« on: August 06, 2011, 03:08:14 pm » |
I've just bought a starter kit that came with an Arduino Uno and I'd like to build a standalone version of an IR Transcoder Sketch (to make my TV remote control my DVD player) and it seems I can't use it to directly program a standalone ATMega 328 chip because of a unresolved software issue with the UNO optiboot bootloader  As a family man with a strict budget for my toys  I'd like to know what the cheapest way to get my sketch from a Uno onto a standalone project. Any ideas please  regards Simon PS Loving Arduino 
|
|
|
|
|
Logged
|
|
|
|
|
Scotland
Offline
God Member
Karma: 3
Posts: 513
Have you had your Arduino fix today?
|
 |
« Reply #1 on: August 06, 2011, 03:12:28 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5453
Strongly opinionated, but not official!
|
 |
« Reply #2 on: August 06, 2011, 03:14:06 pm » |
There are several ways of disabling auto-reset when using ArduinoISP with an Uno. Search the forums for other "bootloader" posts.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #3 on: August 06, 2011, 04:28:23 pm » |
@drew - thats the right price  but are there any instructions on how to use one (or a compatbile equivalent) to upload a Uno sketch with it? @westfw - I've found a few (I've even found a post saying that the Uno does work with ArduinoISP!) - have you got a link to one you used yourself? regards Simon
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 242
Posts: 16491
Available for Design & Build services
|
 |
« Reply #4 on: August 06, 2011, 04:53:50 pm » |
Are you in the US? I'm using this one. http://www.mdfly.com/index.php?main_page=product_info&cPath=5&products_id=415Here it is in action programming my '1284 based "Bobuino" Add these 2 lines to programmers.txt after download/install the driver, link is on the same page. usbasp.name=MDFLY usbasp.protocol=usbasp 
|
|
|
|
|
Logged
|
|
|
|
|
Scotland
Offline
God Member
Karma: 3
Posts: 513
Have you had your Arduino fix today?
|
 |
« Reply #5 on: August 06, 2011, 04:53:50 pm » |
Its easy : Close the IDE unzip this into a folder called hardware in your sketches folder* then start the IDE
*should read :
hardware\usbasp\......
Drew
|
|
|
|
« Last Edit: August 06, 2011, 05:32:24 pm by spycatcher2k »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #6 on: August 07, 2011, 01:51:51 am » |
@drew and crossroads - ta very much  Simon
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #8 on: August 12, 2011, 06:12:44 pm » |
@dc42 I was hoping there was someway to it without addtional hardware (discounting the capacitor or course  My barebone kits of parts has arrived so I'll give your method a go tomorrow and let you know how I got on  Simon
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 242
Posts: 16491
Available for Design & Build services
|
 |
« Reply #9 on: August 12, 2011, 08:24:53 pm » |
This has to be one of the least expensive USB AVR programmers I have seen. http://www.nkcelectronics.com/pocket-avr-programmer.htmlI just received one today. Comes with a 10-pin to 6-pin cable to plug onto ICSP pins as well.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #10 on: August 12, 2011, 08:44:36 pm » |
I'd like to know what the cheapest way to get my sketch from a Uno onto a standalone project. Cheapest method has to be: 1. Upload sketch to your arduino Uno board. 2. Remove 328p chip from Uno and install it in your standalone project 28 pin DIP socket. 3. Purchase replacement $6 328p chip with bootloader and install it into the Uno board. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #11 on: August 13, 2011, 03:44:39 pm » |
I wish my Uno had come like that but it came with a square chip soldered directly to the board  Simon
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #12 on: August 13, 2011, 03:56:22 pm » |
I wish my Uno had come like that but it came with a square chip soldered directly to the board  Simon The is because you have a Uno SMD model, and that is unfortunate. I think I read that they came out with the Uno SMD model because there was a shortage of 328p chips in the DIP package so they started building Uno SMD boards until the supply situation improved. Now they seem to offer both Uno and Uno SMD boards? Not sure if that is all true or not, but as long as the standard DIP version of the Uno is avalible I see no reason in the world one should buy the SMD version. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Humboldt, CA
Offline
Full Member
Karma: 1
Posts: 220
Arduino BBB
|
 |
« Reply #13 on: August 13, 2011, 04:55:21 pm » |
ArduinoISP and bare new chips is cheaper than buying pre-bootloader'd chips. Chips w/bootloader are definitely the easiest.
|
|
|
|
|
Logged
|
|
|
|
|
Toronto, Canada
Offline
Edison Member
Karma: 2
Posts: 1233
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
|
 |
« Reply #14 on: August 14, 2011, 12:42:35 pm » |
@simplesi I know how you feel to be on a low budget. The cheapest way that I am thinking is to get : USB-to-TTL adapter, an ATmega328 with pre-loaded bootloader , a 16 MHz crystal and wires. Check this site to how to do it : http://www.dalewheat.com/The company that I shop for Arduino & PICAXE : http://www.robotshop.com/ca/ but they don't have crystal ( Located in Montreal, Quebec and they have store in the US ) and http://www.hvwtech.com/, they carry crystals, ZIP <-- Zero-Insertion-Socket ( located in Calgary , Alberta ) The only part you need to purchase once is the USB-TTL adapter. I hope this help.
|
|
|
|
|
Logged
|
|
|
|
|
|