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

Friday,May 10, 2024, 12:22:19

Login with username, password and session length

Shoutbox

Gaza07:
02 May 2024 08:07:52
Who are most people ??? I think the person you are referring to has put in a lot of effort to keep things moving  :rolleyes:
hoverfly:
01 May 2024 10:16:12
Most people I have spoken to are pizzed off with the yellow peril  flooding the forum,go figure. :whistling:
Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Members
  • Total Members: 8,197
  • Latest: bluebat
Stats
  • Total Posts: 201,428
  • Total Topics: 20,261
  • Online today: 21
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 19
Total: 19

Theme Changer





3d - Printworx

Crius aiop v2 Am I ready and baro problem

Started by Bking1340, Friday,July 19, 2013, 12:09:02

Previous topic - Next topic

Bking1340

Have posted this at rcgroups with no reply

Good day all

Okay I have managed to install software/firmware with arduino(megapirate) on my v2 board - Am going to leave the gps/bluetooth for later - Just want to see if my X quad will fly.

I struggled with esc calibration for 4 hours, seems like I moved the throttle stick too slow from 100% to 0% - fixed now

What I did so far: Uploaded megapirate using arduino with correct programming lines enabled/disabled, baro sensor, x quad, gps disabled etc.
In mission planner i did - rx/acc calibration, flight modes - which are just stabilization and acro mode for now. Compass calibration.

If I give right rudder - activates board, motors speed up in correct direction when throttle are increased. When I tilt the quad front/back/left/right, the opposite motors increase speed. The same goes with tx ail/elev input - correct motors increase speed.
Do you think I`m ready for a test flight?

One problem I see is that I dont get a altitude reading in mission planner - It just indicates 0.00. Is there maybe a way to activate the baro somewhere - I made sure that the correct baro are indicated in arduino software - If I move the quad around I can see the horizon changing correctly in mission planner and seems like compass are working, but no altitude reading. Am I missing something?

Thanks all

Jumpy07

 Note: normally you have to reverse ELE in Mission Planner..

Baro is always active ..  you should be able to see changes in the raw data from it in Mission Planner.. make sure you have a bit of foam over it... could be you haven';t edited the sketch properly to define the correct baro.. 



BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Bking1340

Yes when I spooled up and gave elev input my motors were not behaving correctly, so I reversed elev.
I left the sketch as is where you define the baro, as it seems like it was the correct one for my RCtimer Crius aiop v2 as per your .pdf guide (#define CONFIG_BARO AP_BARO_MS5611_I2C). Thanks by the way for that guide, it helped me a lot.
Is there maybe a way I can test if the baro is not faulty?

Jumpy07

Cheers, good to get some feedback..

If you connect the USB and fire up mission planner.. go into Command Line Interface... at the cursor type test hit return, then type altitude hit return.. this will display the baro readings  .. if you lift the multi up and down it should change.


BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Bking1340

Jumpy I tried that, but it did nothing. Think I have found my solution:
I have just deleted mission planner 1.2.60 mav 1.0 (1.2.55 asked me a few days earlier if I want to update to the latest version - I did) and installed 1.2.55 mav 1.0 and now my barometer and everything else are working perfectly.
Am I missing something in the latest 1.2.60 mav 1.0?


jivy43

Bking. I have the same issue. I too tried various versions of mission planner and the altitude did not show in the flight data. When I installed 1.2.55 the altitude was displayed but even at rest it was constantly changing, much like the gps was. So after reading Jumpy';s post I went to the cli (terminal) and ran test altitude. No data was displayed at all. I then ran test gps and I received a constant updating of data. I will sometime tonight run a test compass the verify that data. I know both the gps and compass works in the flight data display.
If you have run the cli test altitude and received data good. If you have not run the test I would do so just to confirm the baro works.

Gaza07

Its normal for the baro to vary even when sat on the floor  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

jivy43

Quote from: Gaza07 on Tuesday,August 27, 2013, 06:09:44
Its normal for the baro to vary even when sat on the floor  ~~

Glad the hear that. I did run the compass test in cli a received "unhealthy" scrolling very rapidly. I have not calibrated the compass, so the message is correct. It does show me that data is being received from the compass.

I still do not get data from the baro as I should. Will continue to find a solution.

jivy43

I finally verified my baro was working by disconnecting the gps and then checking the flight data in mission planner. Altitude values were displayed. Now I am trying to solve why no data is shown in the cli when I run test - altitude.

gvzb19

I had the same problem with the baro not working.  Just read zero for all the altitude readings.

The following sequence solved it for me - I have no idea why.

I tried to follow the CLI test procedure but the CLI seemed to freeze and report nothing.  It did not respond to <Enter>
I pressed "Connect APM" to reconnect
I typed "test" and then "gps" and go the expected "not healthy" message
When I hit <Enter> to exit the Mission Planner seemed to update the EEPROM and intialize iteslf and the now all is working!  See the log below.

The only problem is that when I go back to flght data in the MP the USB disconnects and when I press reconnect the altitude readings do no come through again.  It seems that the MP is not correctly initializing the AIO in the following way?

3Initialising APM...R
Q`';fQ
`';?3barometer calibration complete+
Ready to FLY QBQ



I will try to downgrade the MP to a previous version.

Here is the log:


not healthy
not healthy
not healthy
not healthy
not healthy
not

Init MegaPirateNG V2.8 R3

Free RAM: 1955
FW Ver: 120
----------------------------------------


Firmware change: erasing EEPROM...
done.

Press ENTER 3 times for CLI

3GROUND START?Init GyroQ`';?*QC^`';*Q.P`';PQ`';?IMU
----------------------------------------
G_off: 0.01, 0.01, -0.01
A_off: 0.00, 0.00, 0.00


3Initialising APM...R
Q`';fQ
`';?3barometer calibration complete+
Ready to FLY QBQ
Q@uQ~?Q?Q?Q?QQ-{Q?Q#?QQgMegaPirateNG V2.8 R3]
MegaPirateNG V2.8 R3] test
test] altitude
Hit Enter to exit.

Qp`';r3Initialising APM...{?QN `';.?3!barometer calibration completeA?alt: -21cm, pres: 98818mbar, temp: 311/100degC, raw pres: 8282790, raw temp: 8502030
alt: -17cm, pres: 98818mbar, temp: 311/100degC, raw pres: 8282786, raw temp: 8502043
alt: -13cm, pres: 98817mbar, temp: 311/100degC, raw pres: 8282740, raw temp: 8502136
alt: -8cm, pres: 98818mbar, temp: 311/100degC, raw pres: 8282739, raw temp: 8502186
alt: -2cm, pres: 98818mbar, temp: 311/100degC, raw pres: 8282721, raw temp: 8502219

Lars

Hi
I have the same problem.
It';s getting a little too many unresolved problems with this card. It is probably because I do not have enough knowledge of electronics and programming. It is simply too complicated to get all functions to work while independent of specific software. Leave the dying ship and look for another card.
Feels a little bitter to give up when I bought all the accessories and then you are forced to abandon the latest software.
I put CRIUS AIOP aside and retrieve it again in another project if it finds that there has been progress. :cry

/Lars

barneyg

Can I suggest trying Multi wii on this board rather than MegaPirate.  Not quite as fully featured in the Mission planner stakes but you can still do RTH and loiter with a GPS and I found it nicer to fly with for my quad.