Hexa, New Year, New Love

Show us your flight videos and pictures of your aircrafts

Re: Hexa, New Year, New Love

Postby chschmid » Sat May 24, 2014 8:50 pm

All the files needed are here
http://forum.autoquad.org/viewtopic.php?f=25&t=1968&p=11857#p11857

What exactly is not working?
What parts do you have/use?

Cheers
Christof
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: Hexa, New Year, New Love

Postby cofhal » Mon May 26, 2014 2:24 pm

You zip LANC file have this files: LEDs,LANC,and Funtions. Three different sketch, if compiled independent errors occur I try compiler the sketch, funtions, and appear the following errors: all funtions in this scope not declared. Where declares all functions?so does the sketch LESD and LANC.

I need use the LAC for control my sony camara with my RC control.
I have understood to be a single sketch can be compiled.
cofhal
 
Posts: 5
Joined: Thu May 22, 2014 3:31 pm

Re: Hexa, New Year, New Love

Postby chschmid » Mon May 26, 2014 9:25 pm

The sketch is LANC. Put all files in Folder named LANC.
Add the libs (LANC Libraries) to your arduino libraries.
Compile again.
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: Hexa, New Year, New Love

Postby Lyuck » Sat Jul 26, 2014 12:50 pm

Hello everyone,
I hope someone can help me, I uploaded the sketch on an Arduino Mini, which is connected to a receiver OrangeRx R615X and finally powered it all with a 1S lipo.
My problem is that it does not respond properly to commands, observing the status LED blinks do not match.
According to what you can depend on? What should I change?

Waiting for a help greet and thank

Luca
Lyuck
 
Posts: 1
Joined: Sat Jul 26, 2014 12:29 pm

Re: Hexa, New Year, New Love

Postby chschmid » Sat Jul 26, 2014 6:13 pm

Hi Luca
The Arduino Mini is 5V rated. Maybe you want use a 2s Lipo to power the Mini. Check if you have a Atmega 328 on it. The newer ones have. The Zoom PWM has to be centered for the other LANC functions to work.

Cheers
Christof
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: Hexa, New Year, New Love

Postby enak » Fri Jul 17, 2015 3:32 pm

I've tried to compile the sketch using the latest 1.6.5 Arduino and get lots of errors.

First I updated the AP_Common from the latest Arducopter library. This resolved a number of errors.
Next I removed FastSerial. It appears in the newer Arduino software the serial is already non-blocking so this shouldn't be an issue.
Finally I added some definitions into LANC.h for byte, Boolean, LOW and HIGH so that the code would compile.
Code: Select all
#define byte uint8_t
#define boolean bool
#define LOW 0
#define HIGH 1


Since I don't have the adapter cable for my camera yet can someone with a working setup verify if this will work using the latest arduino software?

AP_Common Library https://onedrive.live.com/redir?resid=A ... file%2czip
LANC Sketch https://onedrive.live.com/redir?resid=A ... file%2czip
enak
 
Posts: 1
Joined: Fri Jul 17, 2015 2:37 pm

Previous

Return to AQ Media Showcase

Who is online

Users browsing this forum: No registered users and 3 guests