Society of Robots
     | Robot Forum | Robot Tutorials | Robot FAQ |
September 02, 2010, 09:47:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: SoR Robot Chat every friday night. Join us! (forum integration fix coming when I have time)
http://www.societyofrobots.com/robotforum/chat/

Robot Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Fixes for cheap AVR programmers  (Read 9796 times)
0 Members and 1 Guest are viewing this topic.
triggerTopic starter
Full Member
***

Helpful? 0
Offline Offline

Posts: 115


It's an op amp, not a gun part.


View Profile
« on: March 13, 2007, 12:24:18 AM »

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 Offline

Posts: 21


View Profile
« Reply #1 on: August 23, 2007, 06: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 Offline

Posts: 1,475



View Profile
« Reply #2 on: August 23, 2007, 02: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 Offline

Posts: 1,251



View Profile
« Reply #3 on: August 23, 2007, 11: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 Offline

Posts: 6


View Profile
« Reply #4 on: November 30, 2007, 06: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 Offline

Posts: 1,475



View Profile
« Reply #5 on: November 30, 2007, 09: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 Offline

Posts: 1,251



View Profile
« Reply #6 on: November 30, 2007, 10:42:48 PM »

no double posting

led will blink after you program it and turn it on
Mine doesnt Tongue


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 Tongue



Oh, and yes, everything else is working as it should on the robot.
« Last Edit: November 30, 2007, 10:43:34 PM by HDL_CinC_Dragon » Logged
dunk
Expert Roboticist
Supreme Robot
*****

Helpful? 14
Offline Offline

Posts: 1,034



View Profile WWW
« Reply #7 on: December 01, 2007, 03: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

cooldog
Supreme Robot
*****

Helpful? 4
Offline Offline

Posts: 748


be nice to nerds, one day they will be your boss


View Profile
« Reply #8 on: December 01, 2007, 07:28:29 AM »

did you accidentally buy a in-fared LED Roll Eyes Shocked Grin Cheesy Shocked
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 Offline

Posts: 1,251



View Profile
« Reply #9 on: December 01, 2007, 11:13:35 AM »

did you accidentally buy a in-fared LED Roll Eyes Shocked Grin Cheesy Shocked
Id be pissed lol but no

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? 15
Offline Offline

Posts: 1,322



View Profile WWW
« Reply #10 on: December 01, 2007, 11: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? 19
Offline Offline

Posts: 1,282


Current project: MiniEric robot.


View Profile
« Reply #11 on: December 01, 2007, 11: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 Offline

Posts: 1,251



View Profile
« Reply #12 on: December 01, 2007, 11:52:06 AM »

I did your idea with a half dead 9v Tongue

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 Offline

Posts: 1,430


Sorry miss, I was giving myself an oil-job.


View Profile WWW
« Reply #13 on: July 14, 2008, 08: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

HDL_CinC_Dragon
Supreme Robot
*****

Helpful? 5
Offline Offline

Posts: 1,251



View Profile
« Reply #14 on: July 15, 2008, 02:48:40 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 Tongue
Logged
Pages: [1]
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
difference between programmers?
Electronics
Admin 11 2992 Last post June 20, 2008, 09:31:30 PM
by JesseWelling
Programmers. Microcontroller choices. Is there anything more universal?
Software
Hal9000 5 2625 Last post March 04, 2007, 04:24:15 PM
by Admin
Programmers and microcontrollers
Electronics
mdmedlin 4 744 Last post March 23, 2009, 04:32:06 AM
by mdmedlin
new Axon code released, v1.08, fixes several bugs
Software
Admin 1 562 Last post August 05, 2009, 08:02:17 PM
by Admin
Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!


Advertise on this Forum