BeagleBone Blue released, Linux-enabled autopilot for 80$

Start a new thread.
Perhaps under Development.

Apologies for being off topic, I have started it here, if you could help me:

https://discuss.ardupilot.org/t/implementing-a-custom-flight-controller-using-ardupilot-codebase/25237

@emmanuel Cool
Please join us on the BBB Channel, so we can discuss about test and updating the documentation

Is it safe to power the BBBlue directly by a 3S lipo through the DC Jack??

As showned in the specs: https://beagleboard.org/blue

Battery: 2-cell LiPo support with balancing, 9-18V charger input

So 3S is within the specs but the best is having a 2S connected in the battery connector so you can use Jack for recharging and being enable power on the servo bus from the battery (that is the only way).

Iā€™ve managed to calibrate radio with Mission Planner. Also ā€œarmingā€ seems to work so that I can see text ā€œArmedā€ in flight data main window.

But I think Iā€™ve problems to calibrate escā€™s (yellow XXD which Iā€™ve checked that they work ok with my old APM):
*banggood./4X-XXD-HW30A-30A-Brushless-Motor-ESC-For-Airplane-Quadcopter-p-961966.html

First I did
sudo systemctl disable ArduCopter.service
sudo systemctl stop ArduCopter.service
and after that reboot

Iā€™ve been trying to calibrate with script from here:

  • Connected esc 1 wires to servo connector 1 in Beaglebone Blue
  • then followed instructions from script
  • esc gave beeps and tone like with old APM 2.8 so I believed it went ok
  • then removed esc, and changed esc 2 to servo connector 1 and so on for all others, changed esc 3 to connector 1 ā€¦

After that
sudo systemctl enable ArduCopter.service
sudo systemctl start ArduCopter.service
and reboot

Then connected with 192.168.1.16, port 5760, board gives correct altitude and level seems to be ok. When I move and change position of quadcopter with my hands I can see it in Mission Planner.

Then I use remote control to arm it like Iā€™ve done with apm2.8. Text ā€œarmedā€ appear to screen. Escā€™s beep like those which are not calibrated properly.

The calibration process is not really easy to work with linux based system, I generally calibrate them ā€˜ā€˜old schoolā€™ā€™ with a a receiver.
The rc calibration tool on this github (angelsantamaria) comes from the robotic cape utilities that are aimed at rc servos.

Thank you very much, now motors spin ok.

Iā€™m planning to build a drone which can be activated remotely from internet (I already has a rover which has very basic design) and which could do a very simple automatic mission to send pictures from open area 300 x 300m, altitude max 100m. and land back approximately 3x3m agrage (sliding door will open remotely too).

Switching drone ā€œoffā€ after mission ā€¦ Iā€™ve no idea how to do that properly. With rover I just move it manually under ā€œinfrared transmitterā€ which switches it off when I send key & message from Telegram Bot (I think itā€™s safer, not so much need to play with firewalls and so on).

Anyway for me itā€™s enough if drone can come back to inside ā€œgarageā€.

Anyone used Panasonic 18650 cells with Beaglebone? Keeping lipo-batteries 90-100% full whole time when drone is switched off will degrade batteries I guess. Maybe 18650 or some other battery type is better?

Please note that drone must be flying in accordance of laws. For example, here in Canada, the vehicle must be flown with an operator having a visual contact and a mean to take control = Radio Control.

For Precision landing you can use a visual trcking device like IR Lock

Uh, it seems that similar laws here. I need to check choices, maybe continue to develop more rover or so on. Anyway this is interesting device with Linuxā€¦

Can the Blue run Ardutracker?

Iā€™m not sure about the Blue, but Iā€™ve compiled tracker for BBBMini before.
Do you have a build environment set up (either native on the BB, or cross compile)?

I donā€™t have any BBs yetā€¦

As far as build environments? yikes, a old laptop running Ubuntu 16.04. Havenā€™t really ā€œbuiltā€ anything, but I am good at directions :slight_smile:

Hereā€™s tracker for bbblue and bbbmini:
https://goo.gl/6SCDf4
https://goo.gl/biHfmC

I build from master, so this is basically untested (but tracker doesnā€™t move as fast as the other targets, so should be fine).

Did you just build these? Thanks!
I really need to learn how to do this. Now I have to order that Blue :slight_smile:

Thanks Again

No worries. Mirko and Patrick have done all the work - I just typed a few lines in the console.
The build instructions are pretty good in Mirkoā€™s wiki, and the ardupilot site.

@Rusty_Jones Hi Rusty, you can check https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md#cross-compile-ardupilot-faster-with-ubuntu-computer but use:

  • git checkout master
  • ./waf configure --board=blue
  • ./waf antennatracker

Regards
Mirko

1 Like

OK, thanks. Ordered a Blue and should have it next week, then Iā€™ll get to playing.

Hello All

Please can someone tell me how to connect motors to which PWM on BBBlue? Im connecting according to this image for pixhawk.

I understand it is showing from TOP VIEW?:

(quad X)

Motor/ESC #1 (right - front) - PWM1 on BBBlue
Motor/ESC #2 (left - back) - PWM2 on BBBlue
Motor/ESC #3 (left - front) - PWM3 on BBBlue
Motor/ESC #4 (right - back) - PWM4 on BBBlue

But my drone finishing up side down all the time after somersault in random direction. Are those connections ok or it should be connected other way?

Drone was calibrated with setting ESC_CALLIBRATION to ā€œstart up and automatically calibrateā€ in QGroundControl under linux.

I tried calibrating from Mission Planner under windows with same results.

Regards
holo

Hi mirkix thanks for the great project. I am fairly new to programing and have decided to use beaglebone blue as a platform to programing. I have tried to follow your guid installing ardupilot on bbblue but when i write the command sudo /home/debian/arducopter-quad -C udp: my ip adress:14550 -B /dev/ttyO5, bash doesnt recongnise the command. Am i missing any steps? Is it enough with downloading the compiled files or do i have to build it?