Hello,
I would like to ask you to share what would be the optmal procedure for setting up PIDs. Right now I am trying to make 'road tests' of ArduPiot with the latest software (dated 22.09 I believe).
My setup is simplified a lil:
1. ArduPilot
2. ESC on OUT1
3. GPS(EM411 or MTK)
4. Servo TowerPro SG90 on OUT2 for rudder visualisation.

After I switch the battery the rudder servo travels clockwise till it cannot rotate anymore (I am working with 3rd servo now - two was eaten by Ardu ;)). While I drove the car sometimes there are small servo rotations but they are barely visible.

I have changed servo max/min position as follows:
#define max16_yaw 1800 //Servo max position
#define min16_yaw 1200 //Servo min position
It didnt give me any visible result.

What should I change next? Please help

Views: 122

Reply to This

Replies to This Discussion

There is some problem when connecting to ATmea168 with AVRISP mkII in AVRStudio:"There seems to be a short circuit on the ISP connector. The SCK line(s) appear to be short-circuited. The peration will be aborted."
I have checked, unsoldered ATmega128 pins and soldered again. The problem is still here. I will check it once more tomorrow.
Assuming you've got the connector in the right way, it sounds like you've blown the Atmega chip. When you say "unsoldered the Atmega pins" do you mean you actually unsoldered the chip? If so, my hat's off to you--that's hard.
Thank you Chris but I meant pin connectors on PCB :). I will try to unsolder ATmega and put the new one. So as far as I understand the prcedure would be:
1. Change ATmega168 with fresh one
2. Reload software via FTDI board
3. Check the fuses via AVRISP
4. Tests, tests, tests...
I will post my experiences here :)
Michal: to be honest, it's so hard to unsolder a surface-mount chip and resolder another one that it might be easier to just buy another board. That's why we make them so cheap!
Hi Michal I had sort of the same problem when I unchecked DIV8 fuse this weekend. I followed the Attiny programing instructions and could set my mux with a spare channel on my radio as advertised, but the mux LED was flickering with eratic servo movements. I quickly picked-up a problem from my side "Now you can go back to the "Main" tab and change the Settings to 2Mhz" as Chris stated. And Whola! it was working correctly now.

Hope this help.
Thank you Gagarien. I have to wait a little for a new board. I definately didnt change settings to 2Mhz as you described. This could be the cause but I will never now since I fried the ATmega168.
Finally I have the new ArduPilot! At the begginning the new board had the same issues as the previous one. Serious servo glitches (connected to ArduPilot) was so wild that it was obvious for me something is wrong with RF noise around. I have changed RC Rx to Corona RP8D1 and put all devices to a small FPV platform.


Tonight I took a ride in my car with fuselage only. After setting up all equipment and turning it on I can say all glitches gone!. I set ArduPilot (ver1) to RTL mode and rudder movement proves that it will be flying well in autonomous mode. Next report should be from field testing (when weather permit).
The conclusion is that ArduPilot could sometimes amplify RF noise when testing it indoor. This is not a big issue since it is not intended to fly it inside small rooms ;)
Hi Michal, good luck and let us know about your first flights.

RSS

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.

A list of all T3 contests is here

 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service