Servers by jDrones

BeagleBone Blue released, Linux-enabled autopilot for 80$

linux
hardware
arduplane
arducopter
ardupilot

(James Pattison) #189

Start a new thread.
Perhaps under Development.


(Thalaivar) #190

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


(ppoirier) #191

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


(Dhruv Laad) #192

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


(ppoirier) #193

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).


(Finncopter) #194

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.


(ppoirier) #195

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.


(Finncopter) #196

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?


(ppoirier) #197

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


(Finncopter) #198

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…


(John R) #199

Can the Blue run Ardutracker?


(James Pattison) #200

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)?


(John R) #201

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:


(James Pattison) #202

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).


(John R) #203

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


(James Pattison) #204

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.


(Mirko Denecke) #205

@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


(John R) #206

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


(Holo Holo) #207

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