Leds in 2.6 and camera roll trouble

Finally made some flights with 2.5.5 after months of trouble just getting it flying acceptably.Now i have a few minor issues:1I want to put on some led strips,does any one know which an pins supplies which led function in the new 2.6 code by Robert Lefebvre?2My camera mount roll adjustment is very jerky around centre, small movements of the copter makes the camera gimbal move a long way across centre,after that it moves ok, tilting the copter the other way,also works fine until around centre, then it jerks for quite a distance, any one seen this?Thanks for all the hard work!Geir

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • +1 for the camera jerk near center.  did you find a fix?

  • Hello,

    Here is a snapshot of the LEDs related code where you can see the name of pins in both APM1 and APM2

     

    #if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
    #define COPTER_LED_1 AN4   // Motor or Aux LED
    #define COPTER_LED_2 AN5   // Motor LED or Beeper
    #define COPTER_LED_3 AN6  // Motor or GPS LED
    #define COPTER_LED_4 AN7  // Motor LED
    #define COPTER_LED_5 AN8 // Motor LED
    #define COPTER_LED_6 AN9  // Motor LED
    #define COPTER_LED_7 AN10  // Motor LED
    #define COPTER_LED_8 AN11  // Motor LED
    #elif CONFIG_APM_HARDWARE == APM_HARDWARE_APM1
    #define COPTER_LED_1 AN8   // Motor or Aux LED
    #define COPTER_LED_2 AN9   // Motor LED
    #define COPTER_LED_3 AN10  // Motor or GPS LED
    #define COPTER_LED_4 AN11  // Motor LED
    #define COPTER_LED_5 AN12 // Motor LED
    #define COPTER_LED_6 AN13  // Motor LED
    #define COPTER_LED_7 AN14  // Motor LED
    #define COPTER_LED_8 AN15  // Motor LED

This reply was deleted.

Activity

Jørn Ramnæs liked VIDEO LINK's profile
12 hours ago
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
17 hours ago
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
19 hours ago
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
22 hours ago
Hank Deucker left a comment on PIXHAWK
"Tomorrow, I am thinking about the wording at the moment."
yesterday
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
Wednesday
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
Tuesday
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
Tuesday
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
Monday
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
Sunday
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
DIY Robocars via Twitter
RT @Heavy02011: Join us Saturday online: Virtual Race League: @DIYRobocars Race #2 - Parking Lot Nerds https://t.co/aJUu4sdutx #Meetup via…
May 22
DIY Robocars via Twitter
RT @donkey_car: Yay, we are part of the virtual @makerfaire with @diyrobocars. Come see our race or better yet train a model and race with…
May 21
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars Virtual AI Race is going to be part of the virtual @makerfaire on Sat! https://t.co/wnMDAboLID
May 20
DIY Robocars via Twitter
RT @tawnkramer: Please join us next week for our second DIYRobocars online race. We will be using a new Mountain Track course! https://t.co…
May 19
DIY Robocars via Twitter
RT @SmallpixelCar: I realized that the size of the cones in @diyrobocars is known. If we can detect the bounding box, which can be done wit…
May 19
More…