• 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

Welches Update? Ja, ich bin momentan nicht an der Software am arbeiten, da ich mit dem Kenworth Projekt und anderem ausgelastet bin.
what/which one resistors should I use if I will replace potetionmeter
Use two 10k resistors, each of them between an outer and the center hole.
Nice! Can you provide details about this display?
 

GeeKaa

Mitglied
Nice! Can you provide details about this display?
It's the same display you use.
Sawed off edge with a fine hacksaw. Then detached the display from the PCB.
The display is placed in a metal box and is fixed with double-sided tape.
This can be done easily (very carefully) with the tool I use to open i-phones or a knife. If necessary, heat it a little.
Removal of the adhesive layer goes well with acetone. (Nail cleaner from the XYL)
In the dashboard of the actros there is enough space to mount the display and the print next to each other.
Now carefully make an opening in the dashboard:unsure:.

1.JPG
2.JPG
 

FrikkieBester

Mitglied
It's the same display you use.
Sawed off edge with a fine hacksaw. Then detached the display from the PCB.
The display is placed in a metal box and is fixed with double-sided tape.
This can be done easily (very carefully) with the tool I use to open i-phones or a knife. If necessary, heat it a little.
Removal of the adhesive layer goes well with acetone. (Nail cleaner from the XYL)
In the dashboard of the actros there is enough space to mount the display and the print next to each other.
Now carefully make an opening in the dashboard:unsure:.

Den Anhang 120833 betrachten
Den Anhang 120837 betrachten
That is a very good idea! Will try that with the next one!
 

aattsani

Mitglied
Martin, ich habe gerade Visual Code auf einem neuen Laptop installiert, aber es schlägt immer wieder fehl. Irgendwas stimmt nicht?
Tangkapan layar (2).png
Code:
> Executing task: C:\Users\user\.platformio\penv\Scripts\platformio.exe run <

Processing esp32dev (platform: espressif32@3.0.0; board: esp32dev; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.0.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 3.10004.210126 (1.0.4)
 - tool-esptoolpy 1.30000.201119 (3.0.0)
 - tool-openocd-esp32 2.1000.20210721 (10.0)
 - toolchain-xtensa32 2.50200.97 (5.2.0)
Converting src.ino
C:/Users/user/Documents/SoundEngine/Rc_Engine_Sound_ESP32-master/src/src.ino:148:0: warning: "HEADLIGHT_PIN" redefined
 #define HEADLIGHT_PIN 3 // 3 = RX0 pin, (1 = TX0 is not usable) white headllights
 ^
C:/Users/user/Documents/SoundEngine/Rc_Engine_Sound_ESP32-master/src/src.ino:146:0: note: this is the location of the previous definition
 #define HEADLIGHT_PIN 0 // White headllights connected to pin D0, which only exists on the 36 pin ESP32 board (causes boot issues, if used!)
 ^
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/TheDIYGuy999/statusLED
UserSideException: Please install Git client from https://git-scm.com/downloads:
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 181:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\user\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py", line 597:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\user\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py", line 285:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\user\.platformio\platforms\espressif32\builder\main.py", line 225:
    target_elf = env.BuildProgram()
  File "C:\Users\user\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
    return self.method(*nargs, **kwargs)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\user\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
    return self.method(*nargs, **kwargs)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 141:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\user\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
    return self.method(*nargs, **kwargs)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1104:
    project.install_dependencies()
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 940:
    lm.install(spec)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
    pkg = self._install(
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 93:
    return super(LibraryPackageManager, self)._install(
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
    pkg = self.install_from_url(spec.url, spec, silent=silent)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
    vcs = VCSClientFactory.new(tmp_dir, url)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:
    obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 138:
    super(GitClient, self).__init__(*args, **kwargs)
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 72:
    self.check_client()
  File "C:\Users\user\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 161:
    raise UserSideException(
================================================== [FAILED] Took 2.35 seconds ==================================================
The terminal process "C:\Users\user\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
 

Nolethai

Mitglied
Hello Gerad ,
i still trying to find place for my ESP32 Sound & light controller. I hope i will be successful the next days.
You found a place already?
Kindley regards
Norbert
 

Nolethai

Mitglied
Hello Gerard,
where you order yur display? my display not have such a beautyful backcover like yours. Maybe you have a link for me?
Thank you.
Yesterday my pcb and some electricparts came. Now i am waiting for the missing parts.
Some companys in China (Aliexpress) sent quickly and some need`s 1-2 weeks for prepare sending.
Kindly regards Norbert
 

Nolethai

Mitglied
Hallo Martin,
gestern sind meine PCB`s und einige Teile dafür gekommen. Andere Teile sind nich gar nicht abgeschickt (seit 1-2 Wochen). Mal sehen wann die kommen. Ich habe die PCB`s dieses mal nicht mit DHL sondern normal schicken lassen und habe somit nur 2,74 Euro Porto bezahlt. Der Versand hat nicht wesentlich länger gedauert. Das Paket war eine Woche länger unterwegs als mit DHL (DHL kostet 19,10 Euro).

Jetzt habe ich noch eine Frage: Ich habe mir einen Servo für die Sattelplatte eingebaut, aber irgendwie komme ich mit der Einrichtung nicht klar. An welchen Chanel am ESP wird dieser angeschlossen und wie wird der über die Fernbedienung gesteuert?

Viele Grüße
Norbert
 

B33lz3bub

Mitglied
Hallo Norbert,
ich glaube du hast dir auch die Flysky i6X zugelegt und hoffentlich schon laut Martins Anleitung konfiguriert (siehe sein Excel File) :).
Mein 5th Wheel Servo ist am CH4 angeschlossen und gesteuert wird er bei mir mit dem linken Steuerknüppel lange nach rechts wenn der Schalter SWA (der ganz links) auf 75% (also runter) gestellt ist.
Bei meiner Einbauweise habe ich den Servoweg für CH4 im Code ändern müssen, muss bei dir aber nicht zutreffen.
Auszug 7_adjustmentsServo.h:
// Servo limits
const uint16_t CH1L = 1000, CH1C = 1500, CH1R = 2000; // CH1 steering left, center, right
const uint16_t CH2L = 1000, CH2C = 1500, CH2R = 2000; // CH2 transmission gear 1, 2, 3
const uint16_t CH3L = 1000, CH3C = 1500, CH3R = 2000; // CH3 Beacons (modes are switched, if position changes from 1000 to 2000us)
const uint16_t CH4L = 1100, CH4R = 1900; // CH4 trailer coupler (5th. wheel) locked, unlocked

Ich habe dir meine Steuerknüppel Funktionen im Anhang mitgeschickt, vielleicht ist das leichter verständlich.

Martin hat aber auch die Möglichkeit im Code eingebaut den Servo mit dem Schalter SWB zu schalten (ist in der gleichen Datei zu ändern).

//#define MODE2_TRAILER_UNLOCKING // The mode 2 button is used for trailer unlocking by servo CH4 (sound1 triggering will not work!)

LG Emanuel
 

Anhänge

GeeKaa

Mitglied
Hello Norbert.
link from Martin:

And I am going to order this.
 
Zuletzt bearbeitet:
Top Bottom