Servers by jDrones

Loading firmware to raspberry pi 3 B without existing firmware (first time)

Hi so I’m trying to make a boat.
What I have access to is a windows laptop, a raspberry pi 3 B, a DC motor, 2 servos, some wires and a power source.
The plan:
Set up ardupilot rover for boats on the raspberry pi, connect it to mission planner on my laptop.
Connect the servo and DC motor to the raspberry pi.
Specify the pins for the servo to be used as a rudder and the DC motor to be used as a propeller

The problem(s):
I’ve been reading the docs (here) and I found this page after a looong search but had no clue which one of those to download. Until I found this page which talks about ardupilot for raspberry so I thought I should download the navio one and clicked that file and now I have a file called ardurover and it’s not dot anything.
So I installed the STM32 cube programmer like the guide in the docs says and now I’m having a hard time because the raspberry pi 3 b has only one micro usb connector and that connector only supports power, not data so I don’t know how to have this STM32cube programmer talk to the raspi.
But I also already transfered the ardurover (without the dot anything) file to the raspi so does anybody have a clue about how to start the raspi as a rover in my situation? I also have an ethernet cable I can connect between my laptop and the raspi and I don’t have any USB cable that has the same USB A type on both ends.

I also commented my problems here


Ardupilot needs to be run on autopilot hardware. Only the Raspberry Pi will not be enough. Emlids Navio2 is a HAT to be connected to the GPIO header of a Raspberry Pi. It provides all the sensors and connections for a working autopilot. Ardupilot will then run as a linux program on the RPi, using the sensors. That is what you downloaded.
Any programming devices are only needed if somehow a MCU based flightcontroller got bricked. They are of no use for a Raspberry Pi.

1 Like

Hi, thanks for answering me, I really appreciate it.
So I have a couple of questions.
Can I still make a suuuuuper basic (maybe literally only one forward thrust on/off) “autopilot” with just the raspi and the DC motor?
What do you mean when you say programming devices?

I don’t have this navio2 HAT (yet?) and I understand that the ardupilot firmware needs to have some stuff to work 100% but I’m just trying to make a super basic beginning type thing (like this guy talks about in this video ) of a boat and then when I get that working I can look into the next step. Which probably is to get those sensors (magnetometer, accelerometer and gyroscope (two sets?), barometer, antenna (not sure about it, might get a 4G connection instead to use the telecommunications network for long missions but that’s way out in the future I suppose) and LEDs? I would also like a way of measuring wind direction and strength).

But yeah, in my mind, version 1 would be something like this:

  • Turn on the raspi
  • SSH into it
  • Say go
  • Motor spins
  • Say stop
  • Motor stops spinning

And that’s it.
I don’t know how ardupilot handles being turned on without for example a barometer but I don’t think it’s absolutely 100% required so I’m wondering what does autopilot hardware mean?
Thanks again, I’m trying to understand and also not to spend too much time and money on this.

A Raspberry Pi can certainly do what you are planing to do with it, but it does not have much to do with an autopilot. Ardupilot will not help you with this, either. Ardupilot needs to run on specific hardware (microcontroller based flightcontrollers) or on a computer (Raspberry Pi) with specific hardware attached to it (Navio2 i.e.). Without any hardware/sensors Ardupilot will do nothing.
I would buy a cheap STM32 based flightcontroller (not an APM2.8!!!) and use the Raspberry Pi as a companion computer. Here is a list of supported flightcontrollers:

P.S.: Starting this kind of hobby (or any hobby) with the plan to not spend to much time and money on it, it might be better to not do it at all.

Servers by jDrones