go_away

Recent Posts

Pages: 1 ... 3 4 5 6 7 ... 10
41
Electronics / Re: 50 dollar robot question
« Last post by jkerns on November 18, 2014, 01:33:58 PM »
I would suggest that we keep this all in one thread to minimize confusion.

The maximum frequency for the programmer needs to be less than 1/4 of the clock frequency of the chip. Most AVR chips that I have used come with a default clock speed of 1MHz so you need to be somewhat below 250KHz (allow a margin for error). There are two places that you need to set this up. One is to click on the icon with the lightning bolt (see attachment capture1) and the other is where it says "ATMega... right below. See capture2 and capture3 for how those should look. Also, you need to click save after setting the clock speed for this project for it to take effect.

EDIT: I just checked, the error message you show in the other thread is the error I get when the ISP clock speed is too high - so that is likely to be one of your problems.

A VOM is a Vold - Ohm Meter or multimeter. You really want to get one to check your pinout. Check that you have 5 Volts where you need 5 volts, check that you have ground where you need ground (including the programmer pins). Check that the pin at the programmer connector actually connects to the correct pin on the chip socket (cold solder joints may look like they are connected, but...)

Don't hook up the connector both ways. Figure out which is the correct way and connect. The red stripe goes to the end of the headers with the connection to the MISO pin.

If you get the same results both ways, I suspect that you have a problem with the wiring.

When you hook up correctly and power up, there should be a red LED that turns green on the programmer. If you reverse the connection the LED should flash red. If these are not happening, correct your wiring errors.
42
Electronics / Re: 50 dollar robot question
« Last post by Zevoo on November 18, 2014, 10:30:56 AM »
Double check your wiring - all connections made and no solder bridges between adjacent pins. It wouldn't be the first time. I assume you have some kind of VOM.

What device are you using to program with? What is the clock speed for the programmer (needs to be 175 Khz or less)?

Does AVR Studio recognize your programmer?

I'm using the VAR ISP mkII programmer and yes AVR studio recognises it. I have chcecked and everything is soldered where it needs to be soldered; no pins have accidentally soldered together.
About the programmer speed, do I need to set it below 200 Khz for it to read the microcontroller etc? What is a VOM?
43
Software / Re: 50 Dollar robot programming problem
« Last post by Zevoo on November 18, 2014, 10:25:11 AM »
"Target connector seems to be reversed" - any chance that you plugged the 6 pin connector backwards the second try?

I have plugged the programmer both ways. It says that it seems to be reversed both ways...
any other ideas why I am not able to program it?
44
Software / Re: 50 Dollar robot programming problem
« Last post by Zevoo on November 18, 2014, 10:24:04 AM »
I have plugged the programmer both ways. It says that it seems to be reversed both ways...
any other ideas why I am not able to program it?
45
Software / Re: 50 Dollar robot programming problem
« Last post by jkerns on November 17, 2014, 08:13:23 PM »
"Target connector seems to be reversed" - any chance that you plugged the 6 pin connector backwards the second try?
46
Electronics / Re: 50 dollar robot question
« Last post by jkerns on November 17, 2014, 08:11:27 PM »
Double check your wiring - all connections made and no solder bridges between adjacent pins. It wouldn't be the first time. I assume you have some kind of VOM.

What device are you using to program with? What is the clock speed for the programmer (needs to be 175 Khz or less)?

Does AVR Studio recognize your programmer?
47
Mechanics and Construction / 3 wheel vs. 4 wheel, 2 motors vs. 3 motors,
« Last post by gkiverm123 on November 17, 2014, 04:58:38 PM »
Hello all,

1) I'm just getting started with robotics and am building a sumo bot. I plan to use a differential steering system. Now I'm unsure whether to use an arrangement with 3 wheel or 4 wheels. I found this link http://www.robotshop.com/blog/en/what-wheels-should-my-robot-use-3654 very helpful, but it doesn't really explain which one would be better for speed or torque, etc. 

2) The other thing I was thinking was, if I do go with 3 wheels, would it make sense to have the third upper wheel (that doesn't have a pair) also motorized? So, basically, each wheel would be connected to a motor. The two backs ones would be used for steering and forward/backward movement. The upper wheel would only help in moving forward/backward.

Thank you!
48
Mechanics and Construction / Re: Modifying servos
« Last post by pedromatias on November 17, 2014, 02:15:25 PM »
http://www.motorrad-testbericht.at/magazin/suzuki/naked/sv650/suzuki_sv650_2.jpg
Welcome to my world dude, I am a 13 year old maker from Guatemala and I too don't have radio shack or amazon. I would go for an Arduino micro controller, they are not the cheapest but there are a lot of tutorials out there on how to use them. Make a quick search on Google, let me know if you need more help cause I am more than willing to help you with the coding and design of the robot.

I know what a arduino is, I just don't have enough money for it :'( . The only resources I have available to me are: my Dell laptop running Xubuntu, my mom's toshiba laptop running Windows 8.1 and the pieces I mentioned on my original post. I know how to code (a bit), but it's mostly web design (HTML/CSS, which is just markup and pretty fonts, and I'm thinking about learning Python). How did you teach yourself to code robots? That's mostly C or C++ right? I don't see many good resources for beginners out there for those languages. I'm thinking about buying a raspberry pi, because you can use Python for that and that's much easier for a noob like me. Plus it's cheaper than a Arduino.  ;).
You probably want to use avrdude for downloading the .hex file to the AVR chip https://learn.adafruit.com/usbtinyisp/download

You might be able to use the Atmel Studio (a free download), but I have not tried that with a raw .hex file.

The $50 robot tutorial should show how to hook things up if you read all the way through.

I'm going to try it with the atmel studio.
49
Software / 50 Dollar robot programming problem
« Last post by Zevoo on November 17, 2014, 02:09:07 PM »
I tried to program my robot using the latest AVR studio. The first time it did output the Device Signature but I didnt attempt to program the robot. I then try to program but it read the device signature and outputting an error saying that it was unable to enter programming mode.
Can someone help me because I tried for hours and I did not get anywhere.
50
Electronics / 50 dollar robot question
« Last post by Zevoo on November 17, 2014, 01:24:13 PM »
Hello guys. So I have soldered all my components onto my pcb and followed the tutorial. When you plug the power into the pcb does the LED have to flash (I plugged the power in and it didnt flash) or does it flash after you program the micro-controller?  I have tried to program my robot using latest AVR  studio and I couldnt because it couldnt get the device signature... and there was electricity flowing because the programmer picked it up.
Pages: 1 ... 3 4 5 6 7 ... 10

Get Your Ad Here

data_list