ESC programming with Spektrum Satellite?

Post Reply
Scotch
Posts: 6
Joined: Fri Sep 07, 2012 10:58 pm

ESC programming with Spektrum Satellite?

Post by Scotch »

Hello,
it is possible that THROTTLE signal, 1 to 1, by forward to one or all engine outputs?
Then you could at the same time so that all ESC programming.
Especially the use of satellite receivers that would be very helpful.
Even an extra program for the Arduino would help me a lot.
The attempts to read the Satellite Reciver with an Arduino Pro Mini,
far had been successful.
My transmitter is a Graupner mc-19 (12 channels) with spectrum transmitter
When I click on a Pro Micro On Game the New MultiWii version, then funktionier the satellite.
Unfortunately I lose the overview in the program code because it's too big and my programming skills are also not the most best.
Maybe I can hire someone to help.
Sorry for the bad english, I'm from Germany and have the text translated by Google.

German original
Hallo,
ist es möglich, dass THROTTLE Signal, 1 zu 1 an einen oder allen Motorausgänge durchzuleiten?
Dann könnte man damit alle ESC gleichzeitig Programmieren.
Gerade beim Einsatz von Satelliten Empfängern wäre dies sehr hilfreich.
Auch ein extra Program für den Arduino würde mir sehr weiterhelfen.
Die Versuche den Satelliten Reciver mit einem Arduino Pro Mini auszulesen,
waren bis jetzt nicht erfolgreich.
Mein Sender ist ein Graupner mc-19 (12 Kanäle) mit Spektrum Sendemodul
Wenn ich auf einem Pro Micro die Aktuelle MultiWii Version aufspiele, dann funktionier der Satellit.
Leider verliere ich im Programmcode die Übersicht da er zu umfangreich ist und meine Programmierkenntnisse auch nich die besten sind.
Vieleicht kann mir hire jemand weiter helfen.
Sorry für das schlechte Englisch, ich komme aus Germany und hab den Text mit Google übersetzt.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: ESC programming with Spektrum Satellite?

Post by Hamburger »

You can compile a special version of multiwii that only does ESC programming and no flying.
Search near end of config.h

Scotch
Posts: 6
Joined: Fri Sep 07, 2012 10:58 pm

Re: ESC programming with Spektrum Satellite?

Post by Scotch »

Hello Hamburger,
thanks for your answer.
If I understand correctly, so I can only but prorammieren the gas path.
But I want to change all the settings from the ESC.

Now I'm also a bit more came forward.
I have a 1.8 so far compressed that I have the data from the spectrum satellite
can output via serial port.
Here I am on the Pro Mini rx pin Tx pin on the satellite and the FTDI
The issue is a bit sluggish.
Next, I'll try to output the data to an i2c display.
My slimmed-down version I once inserted as an attachment here.

Code: Select all

********************************************************************
Its for use with Arduino Pro Mini 386 16MHz 5V


Spektrum Satelit:
orange   to   3,3v (ext regulator)!!!!!
gray     to   Pro Mini RX Pin
black    to   Pro Mini GND

FTDI:
GND     to Pro Mini GND
RX      to Pro Mint TX

A serial Monitor prints ROLL  PITCH  YAW THROTTLE  AUX1
********************************************************************

Hallo Hamburger,
danke für deine Antwort.
Wenn ich das richtig verstehe, kann ich damit aber nur den Gasweg prorammieren.
Ich möchte aber alle Einstellungen vom ESC ändern können .

Nun bin ich auch schon etwas weiter voran gekommen.
Ich habe die 1.8 soweit komprimiert, dass ich die daten vom Spektrum Satellit
per Serial Port ausgeben kann.
Dabei hab ich am Pro Mini am rx Pin den Satellit und am Tx Pin den FTDI
Die Ausgabe ist allerdings etwas träge.
Als nächstes werde ich mal versuchen, die Daten auf einem i2c Display auszugeben.
Meine abgespeckte Version hab ich mal als Dateianhang hier eingefügt.
Attachments
read_Spektrum.zip
reduced MultiWii 1_8, to read from the spectrum satellite
(11.29 KiB) Downloaded 140 times

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: ESC programming with Spektrum Satellite?

Post by LenzGr »

Scotch wrote:If I understand correctly, so I can only but prorammieren the gas path.
But I want to change all the settings from the ESC.

I'm confused. What other settings are you referring to? Are you looking into using an Arduino board to replace the programming card?

Scotch
Posts: 6
Joined: Fri Sep 07, 2012 10:58 pm

Re: ESC programming with Spektrum Satellite?

Post by Scotch »

LenzGr wrote:
Scotch wrote:... Are you looking into using an Arduino board to replace the programming card?

Hello Lenz,
your assumption is correct.
Often motors and ESC are installed permanently (Soldered)
Then a softwar solution would be ideal for settings to be changed later.
Regards
Ingo

ReadError
Posts: 70
Joined: Sun Sep 09, 2012 11:08 pm

Re: ESC programming with Spektrum Satellite?

Post by ReadError »

Sounds like way too much effort, I would suggest the following (lazy):
1) SimonK those ESCs, who needs settings anyways?
2) Buy a programming card.

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: ESC programming with Spektrum Satellite?

Post by LenzGr »

I have to agree with ReadError - I flashed my HK SS20 with the SimonK firmware and this made a big difference (less noise, much more agile flight characteristics). No programming card needed.

But if you insist, here is some Arduino code that supposedly allows you to emulate a programming card: http://www.frank-zhao.com/cache/escprog ... rdhack.php

Scotch
Posts: 6
Joined: Fri Sep 07, 2012 10:58 pm

Re: ESC programming with Spektrum Satellite?

Post by Scotch »

Hello,
the SimonK are of course a great thing. 8-)
But I have installed on my Little Copter the XP-7A.
Have the Sil µC and unfortunately goes no SimonK :-(


Programming card is also bad because the ESC's are soldered and the Arduino also.
@ Lenzz
thanks for the link.
As I have previously written my Programming Skills are still begrennst fairly and with the English I do me hard ...
will probably take a while until I climb through there. :oops:
But the ID is good.

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: ESC programming with Spektrum Satellite?

Post by LenzGr »

Scotch wrote:Hello,
the SimonK are of course a great thing. 8-)
But I have installed on my Little Copter the XP-7A.
Have the Sil µC and unfortunately goes no SimonK :-(

No worries, there are optimized firmwares for SiLabs-based ESCs as well: http://oddcopter.com/2012/07/18/flashin ... -firmware/
Programming card is also bad because the ESC's are soldered and the Arduino also.

Hmm, it's usually a good idea to have plugs that allow to quickly replace components. But how often would you have to reprogram the ESCs anyway? I calibrated them once and haven't changed the configuration since then.

Scotch
Posts: 6
Joined: Fri Sep 07, 2012 10:58 pm

Re: ESC programming with Spektrum Satellite?

Post by Scotch »

Thanks for the link, I'll look at you

You're right, once set, the controller indicative of the normal case.
Then I'll take the controls again and the Flydumini
external program.

Danke für den Link, werde ich mir mal anschauen

Du hast recht, einmal einstellen der Regler richt im normalfall aus.
Dann werde ich die Regler noch mal vom Flydumini nehmen und
extern programmieren.

Post Reply