• Hallo Zusammen, Aufgrund der aktuellen Situation setzten wir die Möglichkeit aus, sich mit Gmail zu registrieren. Wir bitten um Verständnis Das RCMP Team

Projekt ESP32 Arduino RC Sound und Licht Controller

* Can't edit this into my previous post it seems *
v6.6 and 4.9
A fault I'm finding when I increase escBrake Steps to 50 and above - works sometimes briefly, then gets locked in drivestate 2 or 4 (braking) with no throttle response.
Maybe a constraint issue?
Same as what I described a few posts up.
 
Zuletzt bearbeitet:
[QUOTE = "TheDIYGuy999, post: 300971, member: 4076"]
Sorry, I'm a bit behind, hope to be able to answer your remaining questions tomorrow ...
[/ QUOTE]
That's ok, your work is much appreciated :)
I've added custom engine shutdown sounds to my build and also some Toyota petrol / diesel .h files.
Happy to share if you like.
 
Bildschirmfoto 2021-03-03 um 06.46.43.png
This connection looks questionable. Is it properly soldered and insulated?
I ordered new ESP32 and three amplifiers. Will see. Maybe ESP is the problem.
There may be a short somewhere on your board, causing the ESP32 to crash due to pin overcurrent.
Hi all should we split the English conversation into an own threat?
I prefer to keep everything together.
More testing of v6.6 is bringing up some errors on some of the vehicle.h files.
Many of them are missing the trailer coupling data eg V8 Mustang etc.
Do they require a type of dummy sound file like some of the others sound types?
This is a bug and was already fixed in v6.61. Thanks for reporting.
Next question - how do I get full brake force (via pin33) ??
You always have full brake force during standstill. however, it depends on your ESC's "drag brake" settings.
Have a look at:
Bildschirmfoto 2021-03-03 um 06.58.29.png
full brake application for those emergency moments.
The brake ramp time (how fast the brakes are applied) is depending on:
Bildschirmfoto 2021-03-03 um 07.02.21.png
However, there it a bug, if bigger than 30. I will hopefully solve it in the next version. I'm already working on it.
 
[QUOTE = "TheDIYGuy999, post: 301124, member: 4076"]

Den Anhang 85343 betrachten

[/ QUOTE]
I have played with escReversePlus, it seems to shift the ramp start point up.
The downside is it's just like moving the throttle trim for more rev / brake - the neutral point is shifted, will start driving in reverse if value is high enough, plus there's no return to zero throttle at stick zero.
May I suggest a multiplier (ramp rate modifier) rather than a start point movement? In effect it would be just doing the same as escBrakeSteps, once the bug is fixed then escReversePlus may be obsolete.
Apologies if I've misunderstood it's workings and danke for your responses :)
 
Sehe ich doch richtig das bei PWM das Lenkservo am Board durchgeschleift wird?!
Ja, das ist richtig
Wenn bloß mein English nicht so eingerostet wäre...
Google translate?
Dann habe ich bei adjustmentsRemote.h die FLYSKY_FS_I6X auskommentiert. Hab zwar eine DUMBORC hier mit 6 Kanälen, aber ich wüsste nicht wie ich die einbinden könnte.
Schau dir mal die folgenden Bilder an:
Bildschirmfoto 2021-03-03 um 07.14.19.png
Bildschirmfoto 2021-03-03 um 07.14.45.png
Du kannst z.B. das Flysky Profil kopieren und dann die Einstellungen entsprechend anpassen

Siehe "adjustmentsRemote.xlsx"
und wenn möglich würde ich gern noch einen Kanal mit reinnehmen von der Winde. Geht das auf einem Proportionalkanal das dort z.B. das Motorengeräusch mit etwas angehobener Drehzahl als Dauerdrehzahl läuft?
Das ist momentan nicht vorgesehen. Können wir anschauen, sobald die Basics laufen.
 
Shaker hab ich gar nichts auskommentiert, ist keiner vorhanden. Da schmeisst er mir aber gerade einen Fehler raus
Ein Shaker muss immer gewählt sein, auch wenn keiner angeschlossen ist.
So sieht die ganze Verkabelung derzeit aus. Empfänger mit den Ch Plätzen vom Arduino verbunden. Lenkung auf Ch1, Getriebe auf 2 und Gas auf 3. Der ESC ist mit ESC vom Board verbunden.
Du musst UNBEDINGT vor dem Anschliessen der PWM Verkabelung "#define SBUS_COMMUNICATION" auskommentieren wie markiert:
Bildschirmfoto 2021-03-03 um 09.30.01.png

Bei adjustmentESC.h bin ich dann aber schon wieder mit meinem Latein am Ende...
Nimm mal die folgenden Einstellungen:
Bildschirmfoto 2021-03-03 um 09.33.15.png
Falls dann das Fahrzeug zu schnell ist, kannst du "escPulseSpan" erhöhen.
 

Onkel_Tom

Mitglied
Nachtrag zu gestern abend, Sketch läuft bei der Kompilierung durch.
Derzeit anderes Problem, selbst das durchgeschleifte Lenkservo zeigt keine Reaktion.
Werde mal die Funke überprüfen.
 

StGe79

Mitglied
Hello, first thanks for this cool project!
I have the same problem with rebooting of the ESP32.
An older FW version from you was running to test. This was working with the same used solder hardware! (I will use this for my childs for an "Feuerwehrauto" with an accelerator pedal and steering wheel and various buttons for flashing lights and siren. directly connected to the ESP32. without RC (-; )

The ESP32 is connected in the moment only with the PAM8403.

With the newest FW after flashing I get a loop of rebootings.

Gruß
 

StGe79

Mitglied
Hello, first thanks for this cool project!
I have the same problem with rebooting of the ESP32.
An older FW version from you was running to test. This was working with the same used solder hardware! (I will use this for my childs for an "Feuerwehrauto" with an accelerator pedal and steering wheel and various buttons for flashing lights and siren. directly connected to the ESP32. without RC (-; )

The ESP32 is connected in the moment only with the PAM8403.

With the newest FW after flashing I get a loop of rebootings.

Gruß
Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
Guru Meditation Error: Core 0 panic'ed (IntegerDivideByZero). Exception was unhandled.
Core 0 register dump:
PC : 0x400ed1d1 PS : 0x00060430 A0 : 0x800d26c8 A1 : 0x3ffda6a0
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000cce
A6 : 0x00000ccb A7 : 0x400d23a9 A8 : 0x00000000 A9 : 0x3ffda680
A10 : 0x00000015 A11 : 0x00000000 A12 : 0x00000015 A13 : 0x00001880
A14 : 0x00000000 A15 : 0x3ffc2100 SAR : 0x0000000a EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x40002390 LEND : 0x4000239f LCOUNT : 0x00000000

ELF file SHA256: 0000000000000000

Backtrace: 0x400ed1d1:0x3ffda6a0 0x400d26c5:0x3ffda6c0 0x400d2741:0x3ffda6f0 0x4008751d:0x3ffda710

Rebooting...
ets Jun 8 2016 00:22:57
 
Nachtrag zu gestern abend, Sketch läuft bei der Kompilierung durch.
Derzeit anderes Problem, selbst das durchgeschleifte Lenkservo zeigt keine Reaktion.
Werde mal die Funke überprüfen.
Dann ist es an der Zeit, den Fehler systematisch einzukreisen:
  • Das Servo direkt am Empfänger prüfen, ev. auch an einem Servotester
  • Spannungen prüfen
  • etc.
Hoffentlich hast du den Empfänger nicht an den im SBUS Modus programmierten Soundcontroller angeschlossen. Das kann trotz den 330 Ohm Widerständen im dümmsten Fall zu Schäden führen, da die CHx Anschlüsse in diesem Fall als Ausgänge verwendet werden.

You're welcome
With the newest FW after flashing I get a loop of rebootings.
Are you sure about that? Which version is working?

Guru Meditation Error: Core 0 panic'ed (IntegerDivideByZero). Exception was unhandled.
Hmm, interesting. I never had this issue. Having a look at the serial monitor while clicking is a good idea, because clicking is an indicator for endless crash & reboot loops.

my folder name was too long.
I shortened it, now I have no more reboot problems..
Interesting... What OS and Arduino IDE are you using?

I tried with different esp, amp and pcb - still speaker popping. I dont know whats wrong :(
Try to shorten your folder name as mentioned above, use the latest IDE version and set your board according to:
settings.png

So should I try flash older firmware? Is it possible to get older firmware?
Click:
Bildschirmfoto 2021-03-06 um 08.35.42.png
then select the version you want
 

Amaral

Mitglied
I tried to shorten folder name. Still same problem.

How to change port to: /dev/cu.... ? I have com3 there.

What I should see in Serial Monitor after flashing esp32?
 
Top Bottom