Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Re: Upload Timeout Error on Mega 2560 - Not Sure What Changed on: January 30, 2014, 08:34:55 pm
Hey I got the same problem, I tried to load different codes and some of them made it,

but by now I get to upload a code, but then this message appears, even though load is complete:

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

Don't have any idea of how to fix it, please help
2  Using Arduino / Programming Questions / Re: Continuous Rotation Servo Problems on: January 28, 2014, 01:51:18 pm
Thanks Robin2 for your kind response.

I already fixed the problem, took me like an hour twisting the screw until it stayed still, also needed to open it to perform a better adjustment.

By trim pot I mean servo’s potentiometer access port (screw).

I though I had failed cause the servo was spinning only in one direction and not the other way around, possibly due to bad twisting and damage of the screw, but fortunately that was not my case.

Here is the datasheet and code, just in case.

http://www.chd.hk/UploadFiles/Att/2012111512192137.pdf

Code:
#include <Servo.h>
Servo RServo;
Servo LServo;
 
void setup() {
  RServo.attach(3);
  RServo.writeMicroseconds(1500);  // Stop
  LServo.attach(4);
  LServo.writeMicroseconds(1500);
}

void loop() { }

Regards
3  Using Arduino / Programming Questions / Re: Continuous Rotation Servo Problems on: January 28, 2014, 11:02:54 am
I found this topic and although I don't have the very same problem, I hope someone here could take a look at it.

Here is the thing, I was calibrating my continuous rotation servo AR-3606HB, using the trim pot access port, but failed in the process though I did this very carefully. Now it seems to spin at the same speed and just can't find the stop pot.

Is there anyway to solve this?

Thanks in advance
4  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 09, 2013, 08:13:16 pm
Here is the datasheet of the replacement part...

https://www.dropbox.com/s/4cwzfn4evx2c4u8/ds1117.pdf?m

Haven't checked the voltage at the input and output yet, Im out of town this weekend,

And Yes, its still operating from the USB cable.

Nothing seems to have changed by replacing the voltage regulator

Thanks for your time
5  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 09, 2013, 03:45:55 pm
Anyone could give me a hand on this?

Please!!! I'll really appreciate it

Cheers
6  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 04, 2013, 06:59:47 pm
Like I told you in the last post I replaced the original NCP1117 voltage regulator for a generic one. I thought the problem was the output voltage that seemed to be at 3.3V but turns out there's a wide voltage range that works for.

The problem was that the one I replaced it for has a different pin configuration and that was the reason it didn't work at the first try.

Today I got a new voltage regulator with the same pin config than the original, replaced it and No, it's not working yet. smiley-cry

So I don't know whatelse can I do? I think I'm out of ideas.

Regards
7  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 02, 2013, 02:52:16 pm
The voltage regulator should be at 3.3V or 5V? I already replaced for one at 3.3V. And its not working yet with my battery... I'll apreciate your response.

Thanks
8  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 02, 2013, 11:29:49 am
Thanks again,

This one...

https://www.dropbox.com/s/fxf7sy8mvlho0z0/47uFdcap.jpg?m

Right? Sorry I shoulda noticed thats a cap before.

Cheers
9  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 02, 2013, 11:19:28 am
https://www.dropbox.com/s/w80uupelq1m968l/voltageregncap.jpg?m
10  Using Arduino / General Electronics / Re: Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 02, 2013, 11:10:33 am
Thanks for your time.

Do you mean these...



???

Regards
11  Using Arduino / General Electronics / Apply External Vin Power Backwards on Arduino Mega 2560 R3 on: March 02, 2013, 09:05:51 am
The title of my topic says it all.

I was desperately testing different codes for my mobile robot, all of a sudden I hooked up the wires from my 7.4V  @ 1Ah LiPo battery in the Vin and GND pins backwards and then my board crashed  smiley-eek. I didn't look up at the wires polarity properly cause I had been doing that for days but s**** happens. smiley-red

Fortunately I could use it again, powered it via USB cable, but given the circumstances I'll need an external power source. The thing is that I don't know what component has been damaged; thought it could be the voltage regulator, but if anyone could give me an advice on this, I'll truly appreciate it.

And even more if there is a way of fix it, even though it sounds pretty difficult.

Thanks in advance
12  Using Arduino / Sensors / Re: GY-521 gyroscope/accelerometer breakout board on: January 30, 2013, 12:35:48 pm
Thanks Krodal, I really appreciate your time!

Your code works perfectly on my arduino board and that way the GY-521 is doing good too.

I loaded the code and serial monitor the output (acc, temp, gyro). Tilted the board and the values change, they seem to be correct.

I spent the night trying the code by Jeff Rowberg, but Im sort of a rookie on this area, and tryna figure out what memory adresses is all about was kinda of
confusing for me but at the end of the day I guess my basic background programming skills helped me out. Created the directory for the MPU6050 and I2Cdev
libraries and then they appeared on the IDE!!. But as Im tryna get a 3D visual demonstration of the board motion I ran the MPU6050_DMP6.ino code and the
displayed error is something Ive been having troubles for the last hours. It says that there's something wrong with Quaternion.h. Certainly is something about a missing library in the arduino directory, the thing I don't know which other library I need to add in order to get this code working, is it the helper_3dmath.h? if it is, is possible to create a sortof library directory with just one file in it (.h)? cause I read on the arduino hacking libraries instructions a library needs 2 or more files.

If I get this done, I mean the MPU6050_DMP6.ino working, could you please tell me the steps to run the Processing sketch? and which is the code? I guess its
the MPUTeapot.pde on the Jeff Rowberg site, am I right? By steps I mean the way of linking arduino sketch to Processing 3D sketch.

So please I'll appreciate your comments on this!!

Regards
13  Using Arduino / Sensors / Re: GY-521 gyroscope/accelerometer breakout board on: January 29, 2013, 12:56:26 pm
I forgot one question about my pre-planned sketch of the wiring on my arduino mega board, is there anyway of using the pins from A15 to A10 like I told you in the last message? Its because thats how I had design my connections and a little change in that desing affects my hardware distribution.

Talking bout my other doubts, Im so much of a new in this whole connection stuff, and I can't see clearly on the sketch where are the pins selection, particularly for the XDA, XCL, ADO and INT pins. I dont know where to hook up these pins.

Im in a hurry, so i'll appreciate your fast response!
14  Using Arduino / Sensors / Re: GY-521 gyroscope/accelerometer breakout board on: January 29, 2013, 11:45:53 am
Krodal,

Thanks for your info. I was in another parallel universe too, and my question is related to this one,
just that in my case I have an arduino mega 2560, and there is a communication pins section, that has SDA and SCL pins, but if I hook pin A4 to SDA and A5 to SCL respectively, the scanner doesnt found any I2C devices. Even though if I connect them to the SDA and SCL pins on the arduino, it does work!!
So Im just curious why does this happen? or is there anything going wrong on my boad?.

I also had sketched up how to make the connections and had planned to hookup the GY521 pins from pins A15 to A10 on the arduino, being the A15 the SCL input and A10 the INT. Although Im new in this device I have some doubts, hope you can help me.

Im using this device to obtain orientation (x, y, theta) from a mobile autonomous robot with differential steering based on Arduino.

Cheers

Cheers
Pages: [1]