|
|
|
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 20, 2009, 10:00:19 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Sept 30th - The
5th SoR Robot contest
is now open! Win an Axon II!
Robot Forum
72,667
Posts in
9,267
Topics by
5,292
Members
Latest Member:
lepomis
Robot Forum
>
General Misc
>
Misc
>
Fixes for cheap AVR programmers
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: Fixes for cheap AVR programmers (Read 7881 times)
trigger
Full Member
Helpful? 0
Offline
Posts: 115
It's an op amp, not a gun part.
Fixes for cheap AVR programmers
«
on:
March 12, 2007, 10:24:18 PM »
Since Admin had a hard time with his bit-banger (aka, cheap dongle programmer), I dug around and found this very informative post on the topic:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=36591
It appears that the problem with most bit-bangers is oscillations in the SCK line, and adding a low-pass filter on this SCK line reduces those pesky oscillations. I'm just getting started with AVRs, so I don't have a programmer to try it out yet, but I'd be interested to hear if this solves the problem.
Logged
There are 10 kinds of people in this world: those who can read binary, and those who can't.
knightimer
Jr. Member
Helpful? 0
Offline
Posts: 21
Re: Fixes for cheap AVR programmers
«
Reply #1 on:
August 23, 2007, 04:03:17 AM »
hi, um no1 posted here for a while, i was wondering if people can actually post their results about this link if it really works to stop the lagging-ness of the programming?! thanks!
Logged
ed1380
Supreme Robot
Helpful? 2
Offline
Posts: 1,458
Re: Fixes for cheap AVR programmers
«
Reply #2 on:
August 23, 2007, 12:45:22 PM »
just get teh $30 programmer. much better decision.
I learned teh hard way
Logged
Problems making the $50 robot circuit board?
click here.
http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198
HDL_CinC_Dragon
Supreme Robot
Helpful? 5
Offline
Posts: 1,252
Re: Fixes for cheap AVR programmers
«
Reply #3 on:
August 23, 2007, 09:19:56 PM »
Yes knightimer, you can post your success(or failure or other thoughts) in this thread if you like about the topic.
Logged
chyoo
Beginner
Helpful? 0
Offline
Posts: 6
Re: Fixes for cheap AVR programmers
«
Reply #4 on:
November 30, 2007, 04:09:11 PM »
YO MAN HOW IS TI GOING! I NEED TO KNOW IF YOU COULD HELP ME OUT WITH THIS THING HERE, I HAVE BUILD THE CIRCUIT OK I REALY DONT KNOW IF THE LED SHOULD LIGHT AFTER YOU POWER IT OR AFTER YOU PROG IT I HAVE GOTTEN THIS FAR AND NEED SOME HELP TO COMPLEAT IT
THANS MAN
Logged
ed1380
Supreme Robot
Helpful? 2
Offline
Posts: 1,458
Re: Fixes for cheap AVR programmers
«
Reply #5 on:
November 30, 2007, 07:15:47 PM »
no double posting
led will blink after you program it and turn it on
Logged
Problems making the $50 robot circuit board?
click here.
http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198
HDL_CinC_Dragon
Supreme Robot
Helpful? 5
Offline
Posts: 1,252
Re: Fixes for cheap AVR programmers
«
Reply #6 on:
November 30, 2007, 08:42:48 PM »
Quote from: ed1380 on November 30, 2007, 07:15:47 PM
no double posting
led will blink after you program it and turn it on
Mine doesnt
Yeah I dont know why but mine doesnt light up. I checked the LED and the resistor but got nothing but good results. I think there just isnt enough mA sinking though the MCU to power my LED or something... its a low watt LED too (1/4 watt I think?) Ill have to fiddle around with it some more.... I need more perf boards... and maybe a big bread board.... I have some internet shopping to do
Oh, and yes, everything else is working as it should on the robot.
«
Last Edit: November 30, 2007, 08:43:34 PM by HDL_CinC_Dragon
»
Logged
dunk
Expert Roboticist
Supreme Robot
Helpful? 7
Offline
Posts: 842
Re: Fixes for cheap AVR programmers
«
Reply #7 on:
December 01, 2007, 01:45:20 AM »
Quote
YO MAN HOW IS TI GOING! I NEED TO KNOW IF YOU COULD HELP ME OUT WITH THIS THING HERE, I HAVE BUILD THE CIRCUIT OK I REALY DONT KNOW IF THE LED SHOULD LIGHT AFTER YOU POWER IT OR AFTER YOU PROG IT I HAVE GOTTEN THIS FAR AND NEED SOME HELP TO COMPLEAT IT
THANS MAN
it's been asked before on the forum if you search.
the LED does not light untill after you program the AVR.
Quote
Yeah I dont know why but mine doesnt light up.
you got the polarity of the LED round the right way?
what voltage do you measure across the LED with a multimeter?
dunk.
Logged
http://mrdunk.googlepages.com/
cooldog
Supreme Robot
Helpful? 4
Offline
Posts: 711
be nice to nerds, one day they will be your boss
Re: Fixes for cheap AVR programmers
«
Reply #8 on:
December 01, 2007, 05:28:29 AM »
did you accidentally buy a in-fared LED
Logged
robot will rule the world and i will be building them
-admin
favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/
HDL_CinC_Dragon
Supreme Robot
Helpful? 5
Offline
Posts: 1,252
Re: Fixes for cheap AVR programmers
«
Reply #9 on:
December 01, 2007, 09:13:35 AM »
Quote from: cooldog on December 01, 2007, 05:28:29 AM
did you accidentally buy a in-fared LED
Id be pissed lol but no
Quote from: dunk on December 01, 2007, 01:45:20 AM
you got the polarity of the LED round the right way?
what voltage do you measure across the LED with a multimeter?
Im pretty sure ive got the polarities right. The Positive terminal should be the one that runs to the resistor then to the MCU right? Since the current is supposed to be sinking to the MCU?
Im not too sure what voltage I used to test it but im assuming it was very very low voltage. I used my DMM on one of its resistance settings and touched the corresponding poles on the LED and it lit up red a little bit. Ill quadruple check again just to make sure.
Logged
paulstreats
Supreme Robot
Helpful? 12
Offline
Posts: 1,248
Re: Fixes for cheap AVR programmers
«
Reply #10 on:
December 01, 2007, 09:35:44 AM »
its the other way around, the resistor should be connected to the cathode of the led, and then to the mcu by the looks of it.
An easy way to test, and also way for people to test the circuit for shorts who dont have a multimeter is to remove the mcu, attach the batteries then touch a spare piece of wire between an gnd terminal and the mcu pin that the resistor goes to. If the led lights up, then there arent any shorts on the basic power circuits.
Logged
Ro-Bot-X
Contest Winner
Supreme Robot
Helpful? 10
Offline
Posts: 1,117
Current project: MiniEric robot.
Re: Fixes for cheap AVR programmers
«
Reply #11 on:
December 01, 2007, 09:46:13 AM »
Has any one of you worked with
this programmer
? Is it reliable, or not worth building?
Logged
Check out my new blog!
SeriousRobotics
HDL_CinC_Dragon
Supreme Robot
Helpful? 5
Offline
Posts: 1,252
Re: Fixes for cheap AVR programmers
«
Reply #12 on:
December 01, 2007, 09:52:06 AM »
I did your idea with a half dead 9v
I put the positive wire in DIP pin 6 and then the negative wire in DIP pin 8(GND)... then I accidentally put it in pin 7(VCC) and it lit up with that too O_O... same for pins 21(AREF) and 22(GND)... im assuming thats a bad thing... Do I have a short? or is there another component on the board linking them? the vreg perhaps?... oh wait, i think its the ceramic capacitor... it also lights up whenever I touch it to a data pin that has a sensor or servo hooked up to it... hmm. peculiar....
Oh crap, I have to lave for work like right now lo
Logged
pomprocker
Supreme Robot
Helpful? 15
Offline
Posts: 1,411
Sorry miss, I was giving myself an oil-job.
Re: Fixes for cheap AVR programmers
«
Reply #13 on:
July 14, 2008, 06:26:37 PM »
since I like to dig up old posts.....
I found that when using the cheap bit-banger programmer on an old laptop with a serial port directly connected to the programming pins on the $50 robot mcu that it programs and verifies instantly.
When I try to program on my newer laptop using an usb to serial converter with long serial cables then it takes hours!!
Logged
Blog:
Nerd Stuff - Programming, Electronics, Mechanics
HDL_CinC_Dragon
Supreme Robot
Helpful? 5
Offline
Posts: 1,252
Re: Fixes for cheap AVR programmers
«
Reply #14 on:
July 15, 2008, 12:48:40 PM »
Quote from: pomprocker on July 14, 2008, 06:26:37 PM
When I try to program on my newer laptop using an usb to serial converter with long serial cables then it takes hours!!
apparently its the USB to Serial that causes this problem. Personally I havnt used that method and dont ever plan to
Logged
Pages:
[
1
]
Jump to:
Please select a destination:
-----------------------------
General Misc
-----------------------------
=> Misc
=> Robot Videos
-----------------------------
Software
-----------------------------
=> Software
-----------------------------
Electronics
-----------------------------
=> Electronics
-----------------------------
Mechanics and Construction
-----------------------------
=> Mechanics and Construction
Related Topics
Subject
Started by
Replies
Views
Last post
difference between programmers?
Electronics
Admin
11
2557
June 20, 2008, 07:31:30 PM
by
JesseWelling
Programmers. Microcontroller choices. Is there anything more universal?
Software
Hal9000
5
2227
March 04, 2007, 02:24:15 PM
by
Admin
Programmers and microcontrollers
Electronics
mdmedlin
4
436
March 23, 2009, 02:32:06 AM
by
mdmedlin
new Axon code released, v1.08, fixes several bugs
Software
Admin
1
272
August 05, 2009, 06:02:17 PM
by
Admin
Advertise on this Forum
Loading...