Featherweight Blue Raven Development Thread: Ground tests

ihbarddx

Well-Known Member
Joined
Jan 18, 2019
Messages
71
Reaction score
12
Location
Pittsburgh
Although there are a number of minor bugs we're cleaning up and the automatic download of time series data is not available yet, I want to look ahead to the last major phone interface feature to be added, which is ground testing of deployment charges.

For people who have used a remote ground test feature for deployment charge sizing with other wireless devices, what features did you like and what would you like to see done differently. Here's my own wish list:

  • Record a short slow-motion video
  • One button starts the countdown and cancels it
  • Show live continuity voltages for each channel
  • Use on-board sensors to record data during the firing (accelerometer, baro sensor for pressure leak, etc.) as if it were a short flight
  • Add an easy way for the user to enter the charge size that was used
  • Keep the slo-mo video, recorded data, and associated charge size together for future reference.
Err... Will time series download involve a hardware change?
 

kjhambrick

Well-Known Member
TRF Supporter
Joined
Mar 27, 2023
Messages
106
Reaction score
47
Location
Round Rock TX
Adrian --

It's even easier to kill the 16g Accelerometer than running the Blue Raven on the Charger.

All I had to do was recharge the battery and the 16g Accelerometer appears dead.

Reloading the latest firmware restored it.

Attached are two images:

1. After charging the battery -- 16g is dead

2. after reloading the firmware -- 16g is restored.

Ideas ?

Thanks

-- kjh
 

Attachments

  • BLRV_0236-Dead_Accel-16g-Screenshot_20230505_124638.jpg
    BLRV_0236-Dead_Accel-16g-Screenshot_20230505_124638.jpg
    372.3 KB · Views: 0
  • BLRV_0236-Accel-Restored-after-firmware-reload-Screenshot_20230505_125538.jpg
    BLRV_0236-Accel-Restored-after-firmware-reload-Screenshot_20230505_125538.jpg
    370.3 KB · Views: 0

Adrian A

Well-Known Member
TRF Sponsor
TRF Supporter
Joined
Jan 21, 2009
Messages
2,801
Reaction score
1,470
Location
Lakewood, CO
Adrian --

It's even easier to kill the 16g Accelerometer than running the Blue Raven on the Charger.

All I had to do was recharge the battery and the 16g Accelerometer appears dead.

Reloading the latest firmware restored it.

Attached are two images:

1. After charging the battery -- 16g is dead

2. after reloading the firmware -- 16g is restored.

Ideas ?

Thanks

-- kjh
It sounds like there is a new interaction with the initialization timing during the power-up that I haven't seen before. I'll be following up with my scope and further testing. Since this hasn't been an issue on previous builds, there is likely some unlucky initialization timing difference that is making the initialization of the accel/ less reliable with the new build. I expect I'll be able to adjust the initialization timing to get back to the reliable start-up of previous builds. Thanks for finding this and narrowing down the conditions where it was happening for you.
 

Adrian A

Well-Known Member
TRF Sponsor
TRF Supporter
Joined
Jan 21, 2009
Messages
2,801
Reaction score
1,470
Location
Lakewood, CO
Err... Will time series download involve a hardware change?
This will be available with a new phone app version and an over-the-air update to the firmware. In the meantime, the time series download is still available through the USB serial port, which is how I have been doing the flight testing over the last year.
 

ihbarddx

Well-Known Member
Joined
Jan 18, 2019
Messages
71
Reaction score
12
Location
Pittsburgh
This will be available with a new phone app version and an over-the-air update to the firmware. In the meantime, the time series download is still available through the USB serial port, which is how I have been doing the flight testing over the last year.
Great!
 

Adrian A

Well-Known Member
TRF Sponsor
TRF Supporter
Joined
Jan 21, 2009
Messages
2,801
Reaction score
1,470
Location
Lakewood, CO
An update on the issue that @kjhambrick saw.

I have isolated the problem and I have a new build that corrects the issue. In build 7d4488f, I had added some code to give the baro sensor a chance to recover if it does not initialize properly, but it turned out that in some cases it would interfere with the accel/gyro sensor initialization. I didn't find the problem before software release because it doesn't show up when the board is mounted on my software development fixture, and it was intermittent when the board is powered up in a normal configuration. Yesterday I was attempting a 2-stage test flight, and the Blue Raven in my sustainer powered up cleanly on Saturday during prep and testing, and on Sunday morning in the prep area. But then when I powered it on again at the pad, the accel/gyro initialization was unsuccessful as long as I had that firmware build installed. While the rocket still the rocket was in the tower, I was able to use the phone app to revert the firmware back to an earlier file that I had stored on the phone and continue.

The most recent phone app build automatically starts an update to the latest firmware, and so I wasn't able to use the app again after reverting the firmware, and had to rely on the beeps. The beeps indicated continuity on my airstart channels after I closed the screw switch I use to isolate them, but I forgot that channels assigned to be an airstart function come up in a software-disarmed state for additional safety. I launched and the airstart did not light because of the lack of software arming.

The actions I'm taking based on this are:
1. Find and fix the source of the problem (done)
2. Add a cancel button to make it possible to avoid the automatic firmware update from the phone.
3. Make it more obvious in the live data screen when there is a sensor problem that makes the altimeter no-go for launch. At the moment it gives you an indication that there's a problem, but it doesn't jump out and grab you.
4. Include a software-disarmed channel in the new go-for-launch summary and in the channel ready beeps
5. Add testing the build with the Blue Raven powered outside of my development test fixture to my list of regression tests that I need to do before releasing a build.

A new app release with the corrected binary should be available tomorrow.
 

kjhambrick

Well-Known Member
TRF Supporter
Joined
Mar 27, 2023
Messages
106
Reaction score
47
Location
Round Rock TX
That is awesome, Adrian, great debugging there.

Sorry about the sustainer failure.

Q1: Did you still get drogue -and-or- main deployment from the Blue Raven ?

Last Wednesday or so, I requested a firmware update via the Featherweight Contact Page and I received an email from the Firebase App Distribution with an update link and your release notes.

Very easy to bump the Blue Raven firmware revision via my Android Phone !

Q2: Do I need to send an email to receive an upgrade link for the latest firmware when it's ready or is the email automatically sent to owners of the Blue Raven ?

I am in no rush -- my next opportunity to fly will be June 3 and I still don't have a rocket ready yet ( need to glass and finish a new 48mm main chute tube for a good, 25 year old Fin Can I've got laying around ).

But the Blue Raven is still fun to play with on the ground :)

Thanks for the update and good luck !

-- kjh
 

Adrian A

Well-Known Member
TRF Sponsor
TRF Supporter
Joined
Jan 21, 2009
Messages
2,801
Reaction score
1,470
Location
Lakewood, CO
That is awesome, Adrian, great debugging there.

Sorry about the sustainer failure.

Q1: Did you still get drogue -and-or- main deployment from the Blue Raven ?
Yes. All standard functions except for airstarts come up in the software armed state at power-up. So the airstart didn't ignite, but the apo and main fired.
Last Wednesday or so, I requested a firmware update via the Featherweight Contact Page and I received an email from the Firebase App Distribution with an update link and your release notes.

Very easy to bump the Blue Raven firmware revision via my Android Phone !

Q2: Do I need to send an email to receive an upgrade link for the latest firmware when it's ready or is the email automatically sent to owners of the Blue Raven ?
I think it's sent automatically.
 
Last edited:

Adrian A

Well-Known Member
TRF Sponsor
TRF Supporter
Joined
Jan 21, 2009
Messages
2,801
Reaction score
1,470
Location
Lakewood, CO
I just released the new app build 171 for Android and iPhone, which includes new firmware that corrects the problem discussed above for build 167 (iOS) and build 168 (Android). As a rule I don't make previous releases unavailable for people who have installed them, but I'm making an exception for builds 167 and 168 because that problem can affect critical functions of the Blue Raven.

We are getting close to having the ground test functionality working; it could be available this week. It may get done ahead of the data download capability because it's a simpler interface between the phone and the Blue Raven.
 

kjhambrick

Well-Known Member
TRF Supporter
Joined
Mar 27, 2023
Messages
106
Reaction score
47
Location
Round Rock TX
Thanks Adrian.

Downloading now.

-- kjh

p.s. I received an email from the Firebase App Distribution that notified me of the new Firmware. Very nice !
 
Last edited:

kjhambrick

Well-Known Member
TRF Supporter
Joined
Mar 27, 2023
Messages
106
Reaction score
47
Location
Round Rock TX
Very nice Adrian !

You've been busy !!

I tried it yesterday afternoon -- Version 1.0.0 178 ( c22abd1 ) runs great !

I've got Flight Sim and Ground Test Data to review on my Linux Box now ( BlueTooth -> Phone -> email -> Linux File System )

Will test ( i.e. try to 'break it' ) tonight after work :)

Thanks.

-- kjh
 
Top