go_away

Recent Posts

Pages: 1 ... 4 5 6 7 8 ... 10
51
Software / Re: Choice of Robot Programming Language
« Last post by SeekingVision on November 19, 2014, 08:52:11 AM »
I'm trying to use a computer to control all decisions and want to use vs c++ for everything but in the interest of moving things along quicker with hardware interactions development, I use vb and pass info back and forth between programs using the clipboard. It the end I will have the whole system running on c++ but that will require a lot of time to accomplish. Use what ever works for you and then if you need more speed just port it to a faster group of code. That's my take anyway.
52
Electronics / Re: 50 dollar robot question
« Last post by jkerns on November 19, 2014, 08:11:23 AM »
Set the ISP clock to LESS than 1/4 of the microprocessor clock frequency. Equal to 1/4 the frequency only works sometimes.

Did you check for continuity between all 6 pins on the programming header and your chip using a meter?
53
Misc / Misc. Robotics pieces for sale
« Last post by gabuehl on November 18, 2014, 05:35:17 PM »
Hello Robot Guys and Gals,

I just found this forum and it looks pretty interesting so far.  The reason I was searching for a robotics forum is that I have a bunch of misc rotating actuators, grippers, control boxes, conveyers, etc for sale.  They all came from laboratory robotic core systems.  The main instruments all sold off, but I have a lot of the integration pieces let.  I am not sure if any of it is anything you guys could use, but if you are interested, let me know.  It is all just sitting around my warehouse now.
54
Electronics / Re: 50 dollar robot question
« Last post by Zevoo on November 18, 2014, 04:33:36 PM »
I have corrected some of the pins which seemed not right to me (2 in total) and indeed when I plugged in the programmer it flashed red and when I plugged it in the other it flashed green. I set the ISP to 1/4 that of the chip's frequency. (it was the default anyway). I plugged everything in and went onto device programming, checked the voltage and it output 5.4 V clicked read device and it still output the same error. After that when I clicked to read the voltage it output a voltage below the required one (btw LED still didnt flash on the pcb). After several tries the console in the background started outputting the message that the target was not found.... ; /
what's up with it now? :O
55
Electronics / How to control a servo movement with 2 NO push buttons?
« Last post by combsd on November 18, 2014, 02:15:31 PM »
I am new to this forum and would like help with controlling the movement of a servo. I have designed a circuit that will manually control a servo using a potentiometer and an IC 555 timer but cannot figure out how to control a servo using a couple of NO buttons. The buttons would have to cause a change in resistance when pushed similar to a Pot. That is this new circuit would replace the Pot with a circuit and two NO buttons. One button would move the servo one direction while pushed down and the other would move the servo the other direction.  I am sure (if I knew how) a microprocessor could be programmed to do the job but it seems like an over kill for a simple process.

I would really appreciate any guidance you may have available help and a schematic would be most appreciated. Thanks for your help!


56
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.
57
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?
58
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?
59
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?
60
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?
Pages: 1 ... 4 5 6 7 8 ... 10

Get Your Ad Here