Welcome to Multi-Rotor UK. Please login or sign up.

Friday,September 20, 2019, 16:58:13

Login with username, password and session length

Shoutbox

ched:
31 Aug 2019 20:37:03
Looking forward to BFU #9 footage  :D Hope you all had a great time
Gaza07:
31 Aug 2019 04:46:44
Hope you all have a great day today at the BFU 9  :beer2:
dp106:
29 Aug 2019 11:19:07
try again now, hopefully it should be resolved...
Gaza07:
29 Aug 2019 11:17:40
Should be fixed now
hoverfly:
29 Aug 2019 11:12:33
replies with only a few words are being rejected as file too big.. :hmm:
dp106:
29 Aug 2019 11:09:33
3D Site also affected
dp106:
29 Aug 2019 11:09:11
Gaza is on the case
dp106:
29 Aug 2019 11:09:03
there are currently issues with the forum
dp106:
29 Aug 2019 11:06:07
test
ched:
28 Aug 2019 17:28:19
Cheers Andy7.
Members
Stats
  • Total Posts: 196831
  • Total Topics: 19836
  • Online Today: 53
  • Online Ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 1
Guests: 30
Total: 31

Theme Changer





3d - Printworx

Printing 3d Forum

CRIUS AIOP v2 setup + MPNG 2.8R3 + MP 1.2.46 : NO CLI / LEDS / BUZZER

Started by Phil1970, Sunday,September 08, 2013, 12:02:13

Previous topic - Next topic

Phil1970

Hi everyone,

For two weeks have I been struggling with COPTER_LEDS, without succes. I tried different versions of MPNG, 2.9.1R8 gave me the motor rev-up twitch (known problem). So I reverted back to the last known stable version, 2.8R3.

Please note that in order to succesfully upload 2.8R3 to the AIOPv2 you must not use Ardupilot-Arduino 1.0.3 or higher. That would fail and return a long list of errors. For some reason, 2.8R3 can only be uploaded while using Arduino 1.0.1.. I got just one problem, CLI (terminal) in MP doesn';t return the version number and unable to enter setup in terminal. All the rest works, radio calibration, pids, etc...   I did';nt have this when using MPNG 2.9.6.

If someone has a solution for this, please let me know. My current version of MP is 1.2.46

So yes, I finetuned APM_Config.h for the V2, baro and gps following GAZA';s guide. So far so good. I even got the copter leds working (partially....). I followed LAKIS instructions and got green and red leds flashing after booting the AOIPv2, but when my hexa has gps lock, green leds go out. Also when I arm the hexa, red leds go out.

If someone would be so kind to review my coding, I';d apreciate it. Here it is: http://www.easycash.be/files/ArduCopter.zip

For the record, this is how I did my LEDS: two left arms: reds leds, two right arms green leds.
All the positive terminals of the (4strips) 12V leds are on the positive terminal of a 3S lipo
The negative terminals of the green leds are on port 17 of a ULN2803A
The negative terminals of the red leds are on port 18 of the same ULN2803A
Port 1 of the ULN2803A go to analogue pin A5 of the AIOPv2
Port 2 of the ULN2803A go to analogue pin A4 of the AIOPv2
ULN2803A goes to negative terminal of the 3S lipo.

I got an arduino buzzer from HK (3 wires); the negative wire is on the negative pin of a spare motor pinout
The positive and signal wire are together on the AIOPv2 analogue wire A6.

Copter_leds are enabled and I put ';127'; in MP.

I have a feeling I am so close to a working led config,  but with my nose on it, I maybe missing something...

sevet

http://www.rcgroups.com/forums/showpost.php?p=24469344&postcount=5309

Negative of battery goes to ULN 9  (you probably have this)
Also, some configuration need to be made,

I almost got it working on MPNG 3.0.1-R2, GPS and ARM leds work, couldn';t get buzzer working.... yet...

Phil1970

I am currently on MPNG 3.0.1 R1. I read that Sir Alex is working on the copter_leds and this issue will be fixed with 3.0.1-R3. Maybe I should wait. But if you have a working code for R1 or R2, I am willing to give it a try.

Of course, this is a community effort, so thanks and respect to all contributors and testers of the MPNG project.