Using rs20Ax4 without a flight controller?

Hi,

I'm kind of new to the whole drone building scene and I was wondering if it is possible to wire up a rs20Ax4 ESC without a flight controller.
I want to wire it directly to my Arduino mega without the controller.

All the tutorials I can find bang on about using a flight controller. but is it not possible to just use an arduino, gyro and barometer and acctually learn how things work instead of the "hey, here is your 1 stop solution for learning nothing..."

Is it possible and can anyone point out some tutorials or something to get me started?
All the tutorials I can find bang on about using a flight controller.

Yes, you can drive 4 ESCs with an arduino.
You will be diving head first into a lot of complex ideas that you need to master before you will have a flyable quadcopter.

If you are up for the challenge, this could be a fun project.

Hi,

Is it possible to use the RS20Ax4 without a flight controller?
I cant get it or my motors to work.

If you mean a Racerstar RS20Ax4 ESC then yes.

For more help perhaps you'd like to tell us what you are trying to use it with including the code you're using and exactly how everything is wired and powered.

Steve

Ikxux:
I cant get it or my motors to work.

This is not a helpful statement at all.

Post code (use code tags).
Post a wiring diagram.
Post details on your power supply.
Explain what you expected to happen and what actually happened.

Good point, I wasn't very specific.

I don't have a dedicated flight controller. I was wondering if it is possible to cut the controller out of the equation and wire the RS20Ax4 directly to the arduino mega.
All diagrams I have found show the RS20Ax4 wired to a flight controller.

I want to wire the RS20Ax4 directly to the arduino and wire a 3 axis gyro, barometer, gps, transmitter/transciever later but keep everything separate (not an integrated all singing all dancing flight controller) so I can learn as I go and not just have a board handed to me.

So again we ask...what exactly is it that you have tried that you say doesn't work?

Show us some code you've tried and the way everything is connected and what you are powering everything with. Then tell us exactly what happens when you try it.

Us trying guess what you've done and why it didn't work is a pointless exercise.

BTW it is perfectly possible to connect all the things you've mentioned so far. But writing the code to make them work together to make a functioning drone is far from a trivial task (probably why most people use purpose-built flight controller).

Steve

“I want to wire the RS20Ax4 directly to the arduino”

I am confused as too why your NOT thinking your mega IS the flight controller in that senario.

BTW it is perfectly possible to connect all the things you've mentioned so far. But writing the code to make them work together to make a functioning drone is far from a trivial task (probably why most people use purpose-built flight controller).

Lovely jubly.

Sorry for the confusion.

I have 4 Racestar BR2206 motors wired up to a RS20Ax4 esc. I was wondering how to connect said esc to the arduino mega & power supply (11.1v 2600mAh 60C LiPo battery).
I wanted to know if it would be possible to connect the esc directly to the arduino or if it was absolutely necessary to buy a dedicated flight controller. (question answered)

"I want to wire the RS20Ax4 directly to the arduino"

I am confused as too why your NOT thinking your mega IS the flight controller in that senario.

That is what I was asking :smiley:

I didn't want to just buy a flight controller and have done with it as I want to learn and overcome obstacles as I go, i'm sure there will be many.

My code? Well... I'll get there :wink:

Thanks to everybody for taking their time to answer my question! ;D

Ikxux:
My code? Well... I'll get there :wink:

It sounds from your previous discussion like you tried to hook up the arduino but could not make your motors run.
Have you attempted that?
It comes with connectors that can go directly into a receiver.


Can you use those to connect to the pins of the arduino?

Then it should be a simple matter of using 4 servo objects, properly arming and then writing values to the servo to make the motors run.

The knob tutorial is a good place to start.

I think you're saying you have all the answers you need for now so that's good. Let us know how you get on.

Steve