CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-22-2008, 04:42 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?
Decent DIY AVR Programmer

Anybody have one ?

I have an ISP programmer from Jaycar borrowed off a friend, and tried the old four resistor version on the parallel port...nothing working so far.

Call me old fasioned but it seems a little odd to have to buy a $200.00 programmer to program a $6.00 chip.

Trying to program a 2313 btw.

Cheers.

Russell.
Reply With Quote

  #2   Ban this user!
Old 04-22-2008, 08:27 AM
 
Join Date: Sep 2007
Location: Canada
Posts: 16
armstrong360 is on a distinguished road

epineh,
What OS are you using? (Windows Linux ...) I can give you some points as to where to look....
Reply With Quote

  #3   Ban this user!
Old 04-22-2008, 09:22 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Hey armstrong, I use both windows and linux, I guess I would prefer windows as far as physical PC location goes, I am trying a design from here at the moment :

http://electronics-diy.com/avr_programmer.php

any other help would be great.

Russell.
Reply With Quote

  #4   Ban this user!
Old 04-23-2008, 09:00 AM
 
Join Date: Sep 2007
Location: Canada
Posts: 16
armstrong360 is on a distinguished road

OK, I am almost alway running in Linux but may be able to help anyway! I have used the parallel port programming method using sp12 and avrdude. (both these will use the same four resister parallel port programmer) Both of these have windows driver software. Avrdude has a configuration entry for the programmer you have. Sp12 is parallel port only.

http://www.xs4all.nl/~sbolt/e-spider_prog.html
http://www.nongnu.org/avrdude/

Ponyprog should work as well!

So you have built this programmer yourself or borrowed a working programmer from someone else?

What do you have for a circuit for your 2313? From the diagram it appears that you need to have the 2313 powered externally. There is a reset line to the micro, it is pulled up by the 10 k resistor to +5 - power that comes from the board the 2313 is mounted on...

So first thing lets check to make sure you have power on your microprocessor and the 10 k pullup.
Reply With Quote

  #5   Ban this user!
Old 04-25-2008, 12:54 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Here are eagle files for three different programmers. You may want to change them from the 6 pin to the 10 pin isp.
Attached Files
File Type: zip avrisp.zip‎ (57.7 KB, 117 views)
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-26-2008, 11:14 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

I almost had success with the programmer I linked earlier, it firstly said I selected the wrong AVR from the list, which I double checked to be correct, so I tried the auto detect setting (Using PonyProg) and it said programming successful but I don't think it was.

I will have a look at the links given and find out some more.

I had a look at the boards you posted Phil and they look very similiar to the programmer I am using, if I can't get my version going I will try one of those.

Cheers.

Russell.
Reply With Quote

  #7   Ban this user!
Old 04-27-2008, 07:13 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

All three of the ones I posted I've built and they do work. Software compatability thought I prefer the ones that work with ponyprog.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #8   Ban this user!
Old 04-27-2008, 07:29 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Try the Atmel AVR dragon http://search.digikey.com/scripts/Dk...ATAVRDRAGON-ND

I am sorry I did not read the DIY part...., anyways, this one is only $51.00
Attached Thumbnails
Click image for larger version

Name:	ATAVRDRAGON.jpg‎
Views:	49
Size:	161.5 KB
ID:	58576  

Last edited by kreutz; 04-27-2008 at 08:40 PM.
Reply With Quote

  #9   Ban this user!
Old 04-27-2008, 09:15 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

OK well I have had success, it turns out that I didn't have the configuration bits set properly, namely the external oscillator, fuse lock bits were left unprogrammed luckily so I don't have to buy more chips.

Thanks to all who offered help, it is very appreciated.

Russell.
Reply With Quote

  #10   Ban this user!
Old 05-02-2008, 09:19 AM
 
Join Date: May 2008
Location: romania
Posts: 4
izua is on a distinguished road

A very simple one is the STK 300, if you have a parallel port of course.

I've done my on veroboard/stripboard and it has been working very well.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-06-2008, 12:27 AM
 
Join Date: Jan 2006
Location: usa
Posts: 40
punisher454 is on a distinguished road

I built an AVR programmer several years ago, dont remember which plans I used but it only cost me about 10 bucks worth of radio shack components. It worked okay, but I later bought an STK-500 and tossed the old homemade one. Check at AVRFREAKS and you'll find all you need to know about AVR's.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on choosing/buying a decent CNC mill ThaiCho Benchtop Machines 19 08-12-2007 05:00 AM
Building a power supply with decent volt/amperage phantomcow2 General Electronics Discussion 4 03-14-2006 04:33 PM
Power transformers, decent prices rboeser General Electronics Discussion 0 07-13-2005 02:30 PM
Is this a goeed/Decent/Bad, Controller thuffner3 General Electronics Discussion 8 02-12-2004 09:56 AM
Controller good,decent,bad? thuffner3 General Electronics Discussion 0 12-17-2003 09:23 PM




All times are GMT -5. The time now is 11:09 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361