ESP32 Arduino RC Sound & Light Controller: Allison Automatic Transmission With Torque Converter!

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • In this video: Testing the new, simulated automatic Allison transmission for my DIY Arduino ESP32 engine sound & light controller. It was inspired by Wombii, who forked my original sound controller project:
    His channel (please support his great work): / @wombiiactual
    His fork of my sound controller: github.com/Wom...
    The Actros in this video has a manual 3 speed transmission as most TAMIYA or Hercules Hobby trucks. In this video, it will always remain in the same gear, because I’m testing the automatic Allison transmission with torque converter. Well, in software only. The load dependent torque converter slip and the smooth gear shifting are fully simulated in software. I recommend to use this new feature, if your vehicle does not have a real shifting transmission or for example for fire trucks. The code is not the same as Wombii’s and way more simplistic, but the result is about the same, I think. Just like in Wombii’s version, all control signals are coming in via SBUS.
    Light & sound controller features:
    - Sampling rate up to 22’050Hz, instead of 16’000
    - Multiple sounds can play simultaneously
    - real DAC outputs, no R/C filter circuit required
    - the variable speed engine sound can play at the same time as an additional sound with fixed speed (a horn or a siren for example)
    - special sounds included like: „Martinshorn“ fire truck horn, US Police siren, Swiss post bus horn, train horn, car horn, MAN TGA truck horn
    - Engine sounds for: Land Rover Defender V8, ford Mustang, Chevy Nova, Dodge Challenger, MG B GT V8, LaFerrari, V8 Trophy Truck, Scania V8, Ural V8, Kenworth, Detroit Diesel etc.
    - Air brake sounds
    - Output for vibrating motor, which simulates engine vibrations
    - Vehicle inertia simulation (if crawler type ESC is connected to pin 33)
    - Virtual clutch, making the engine sound much more realistic (if crawler type ESC is connected to pin 33)
    - Virtual automatic transmission with torque converter
    - Many light functions like headlight, tale light, brake light, indicators, blue light, foglight, sidelights
    - 4 RC servo signal inputs
    - 13 light outputs
    - PWM, PPM & SBUS communication
    - Serial one wire communication with my „Micro RC“ remote system: github.com/The...
    Material links for sound controller:
    - ESP32 board: www.banggood.c...
    - PAM8403 amplifier: www.banggood.c...
    - Speaker: www.banggood.c...
    - Resistors: www.banggood.c...
    - PCB: jlcpcb.com
    More Links:
    - Actros Kit: www.banggood.c...
    - Hobbywing Quicrun WP 1080 Brushed Crawler ESC: www.brack.ch/h...
    - 540 35T brushed motor: www.banggood.c...
    - Servo (you need 2): www.banggood.c...
    Banggood Weekly Coupon Deals: goo.gl/D8B1Mu
    Banggood Weekly Discount Deals: goo.gl/uGS7Lf
    My DIY Open Source Arduino Stuff:
    github.com/The...
    github.com/The...
    github.com/The...
    github.com/The...
    www.thingivers...
    github.com/The...
    bitlunis wav conversion tool: bitluni.net/wp...
    Check out my other RC videos: • Remote control
    My GitHub: github.com/The...
    My Thingiverse: www.thingivers...
    Follow me on Twitter: / thediyguy999
    on Flickr: www.flickr.com...
    and on Instagram: / thediyguy999
    If you want to support this channel: / thediyguy999
    #TheDIYGuy999 #Arduino
  • Věda a technologie

Komentáře • 66

  • @derschwarzwalder8403
    @derschwarzwalder8403 Před 3 lety

    You made my day, oder soll ich sagen year 2021?!? Als ich gestern Deine Videos entdeckt habe, meinte meine Frau: Was schaust du denn schon wieder für Bagger-Pornos, dass du das Grinsen nicht mehr aus dem Gesicht bekommst!?!? Ich sag nur, ich hab die Umstzung meiner Träume gefunden, dazu noch auf meinem Lieblings-Mikrikontroller ESP32! Und dann auch noch so programmiert, dass man den Code ohne Informatikstudium versteht! Ganz großes Kino. Endlich fahren RC-Modelle nicht mehr wie getunte Hamster durch die Gegend :-)

    • @TheDIYGuy999
      @TheDIYGuy999  Před 3 lety

      Vielen Dank für das Lob. Ja, das ruckartige Fahren der Modelle hat mich auch immer gestört. Deshalb wird bei meinem System der ESC nicht vom Empfänger, sondern vom Soundcontroller gesteuert. Das ermöglicht es, virtuelle Massenträgheit hinzuzufügen.

  • @WombiiActual
    @WombiiActual Před 4 lety +4

    Wow you work fast! This looks and sounds excellent!

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety +1

      Thank you! 😄 I went an entirely different and more simplistic way than you, but I think the result is about the same. Thanks again for the inspiration.

  • @adonisapolinar5967
    @adonisapolinar5967 Před 4 lety +1

    Thank you very much sir! for the latest updates. V4.12
    will try to upload it later.
    As of now, I am still enjoying V3.8 even if it's Automatic mode is in experimental state..
    Thank you Very Much...

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety +1

      You're welcome. I'm glad when people enjoy it!

  • @rcgarageph7228
    @rcgarageph7228 Před 4 lety +1

    Nice truck I haven't watch your video for a while I miss your videos

  • @TheDIYGuy999
    @TheDIYGuy999  Před 4 lety

    Many thanks for the inspiration to Wombii: czcams.com/channels/fCnbXhobcUa7sznWKsTx1A.html

  • @ozisnice
    @ozisnice Před 4 lety +1

    Great job, can't wait until more of it is done.

  • @pnwRC.
    @pnwRC. Před 4 lety

    Fantastic video! I like how realistic it sounds. The automatic shifting is a nice feature!

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      Thank you

    • @pnwRC.
      @pnwRC. Před 4 lety

      @@TheDIYGuy999 Do you sell this as a kit that's ready to install into a Tamiya truck??

  • @Thuliolima2008
    @Thuliolima2008 Před 4 lety +1

    Perfect

  • @Latvian3Dman
    @Latvian3Dman Před 4 lety +1

    Tweeted this to spread the word about your work ;-)

  • @AatTsani
    @AatTsani Před 4 lety +1

    Verry nice😁😁

  • @hfe1833
    @hfe1833 Před 3 lety

    awesome man,awesome

  • @FredyArtCreative
    @FredyArtCreative Před 4 lety +1

    Wow, awesome engine realistic sound...
    Hi, my brother, be careful with the comments below, it's a scammer

  • @ithaajja5724
    @ithaajja5724 Před 4 lety

    can u please make simple rc light control using arduino promini, for 3ch Austar AX5 transmitter...
    I would be very grateful

  • @RCConstructionHobby
    @RCConstructionHobby Před 4 lety

    do you have instructions on how to connect to a regular 10 channel receiver? from the Arduino to the receiver wiring. great videos! subscribed!

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      Thank you. You can find the pin assignment in code lines 60 - 97 or in the schematic. I recommend to connect the crawler type ESC to pin 33 and SBUS as control signal on pin 39. You can also use standard servo signals and y-cables, connected to pins 13, 12, 14, 27. Also have look at the board labels.

  • @yuby985
    @yuby985 Před 4 lety

    Great

  • @hybrid5132
    @hybrid5132 Před 3 lety

    when you made this Mercedes Actros what did you use for the motor and chip and how, also how would a completely different trailer connect to the lights?

  • @simonyoung6120
    @simonyoung6120 Před 4 lety +1

    Do you have an update version of the software/files to download that includes the statusLED, SBUS and Adjustments. I have tried to compile the sketch and get a lot of errors. like the SBUS.h files states to include it's self. and the main files references serial1 for SBUS but the SBUS files refers to serial 2. seems a bit messy and very confusing. I am new to Ardunio and ESP32. I would love to order your boards and make the controller but if i can't even get the basic code to upload seems fruitless.. any help would be great.

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      You have to install all the libraries, wich are mentioned in the sketch header. They are available on my GitHub. You also need to install the ESP32 board definitions according to: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/

  • @xsterawesome
    @xsterawesome Před 3 lety +1

    Is this really only using the ESP32 built-in DAC? No i2s DAC?

    • @TheDIYGuy999
      @TheDIYGuy999  Před 3 lety

      Yes.You can find the schematic, the PCB files and the software on my GitHub: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32
      Also have a look at my other videos

  • @taskforce3833
    @taskforce3833 Před 4 lety

    greetings again
    marvellous work, now how bout a DAF engine ? :)

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      Hi, thanks. I will add it to the wish list

  • @xautaaja5914
    @xautaaja5914 Před 4 lety +1

    how to disable sound if close the throttle

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      The waste gate sound?
      // Adjust the additional turbo wastegate / blowoff valve sound (set "wastegateVolumePercentage" to "0", if you don't want it)--------
      volatile int wastegateVolumePercentage = 0; // Adjust the wastegate volume (usually = 70%, up to 250%)
      volatile int wastegateIdleVolumePercentage = 1; // Wastegate sound is played, after rapid throttle drop with engaged clutch
      //#include "sounds/WastegateDummy.h"
      #include "sounds/UnimogU1000TurboWastegate.h"
      //#include "sounds/ScanıaR730V8TurboWastegate.h"
      uncomment WasteGateDummy

    • @xautaaja5914
      @xautaaja5914 Před 4 lety

      @@TheDIYGuy999 thank you very much

  • @arsyadplays2595
    @arsyadplays2595 Před 4 lety

    In 1.42 minute you release the thortle
    how to turn off realistic throttle
    after not pressing the trotthel
    is this posible just brake after i close the throttle
    where is the adjustment that I have to do
    thank u

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      Play with these variables:
      // PWM ESC output signal range calibration (connect crawler type ESC to pin 33)-------------------------------------------
      const int16_t escPulseSpan = 1000; // pulseZero +/- this value (> 500 = limited top speed, about 1000 for King Hauler, 1400 = 100km/h with 35T motor)
      const uint8_t escRampTimeFirstGear = 20; // determines, how fast the acceleration and deceleration happens (about 15 - 25, 20 for King Hauler)
      const uint8_t escRampTimeSecondGear = 50; // 50 for King Hauler (this value is always in use for automatic transmission, about 80)
      const uint8_t escRampTimeThirdGear = 75; // 75 for King Hauler
      const uint8_t escBrakeSteps = 30; // determines, how fast the ESC is able to brake down (20 - 30, 30 for King Hauler)
      const uint8_t escAccelerationSteps = 3; // determines, how fast the ESC is able to accelerate (2 - 3, 3 for King Hauler)

    • @arsyadplays2595
      @arsyadplays2595 Před 4 lety

      @@TheDIYGuy999 I did'nt succeed, which point had to be changed..thanks

    • @arsyadplays2595
      @arsyadplays2595 Před 4 lety

      it's been successful, thank you

  • @TheVintageWagen
    @TheVintageWagen Před 4 lety

    Is there option to buy this sound module somewhere or is it custom made?

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety +1

      No, but you can find all the details to build your own in the GitHub link in the video description. Also have a look at my other videos about this controller. The boards can easily be ordered on jlcpcb.com. The firmware is open source an a lot of others have already built this controller successfully.

    • @TheVintageWagen
      @TheVintageWagen Před 4 lety

      @@TheDIYGuy999 thank you. I think it's the best sounding sound unit available on the market! I will try for sure!

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety +1

      ​@@TheVintageWagen Thanks for the praise. Have fun building it. You can find a discussion (in German) about this controller here: www.rc-modellbau-portal.de/index.php?threads/esp32-arduino-rc-sound-und-licht-controller.7183/

  • @patelmarvel7300
    @patelmarvel7300 Před 4 lety

    just a 1 question. can i use arduino nano instead of esp32?

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      No, but I also have a (very limited) version for this processor: github.com/TheDIYGuy999/Rc_Engine_Sound

    • @patelmarvel7300
      @patelmarvel7300 Před 4 lety

      @@TheDIYGuy999 thnks

  • @frenkkotarigan
    @frenkkotarigan Před 4 lety

    In 1.42 minute you release the thortle
    But the wheel still rotate
    Is that setting by system to or esc setting...
    Normaly when the throtle is back to neutral the wheel will stop rotating
    Tq

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety +1

      Yes, this is a function of the sound controller and makes the drive behaviour much more realistic. See in "Adjustments.h"
      // PWM ESC output signal range calibration (connect crawler type ESC to pin 33)-------------------------------------------
      const int16_t escPulseSpan = 1000; // pulseZero +/- this value (> 500 = limited top speed, about 1000 for King Hauler, 1400 = 100km/h with 35T motor)
      const uint8_t escRampTimeFirstGear = 20; // determines, how fast the acceleration and deceleration happens (about 15 - 25, 20 for King Hauler)
      const uint8_t escRampTimeSecondGear = 50; // 50 for King Hauler (this value is always in use for automatic transmission, about 80)
      const uint8_t escRampTimeThirdGear = 75; // 75 for King Hauler
      const uint8_t escBrakeSteps = 30; // determines, how fast the ESC is able to brake down (20 - 30, 30 for King Hauler)
      const uint8_t escAccelerationSteps = 3; // determines, how fast the ESC is able to accelerate (2 - 3, 3 for King Hauler)

    • @frenkkotarigan
      @frenkkotarigan Před 4 lety

      But only work with crawler type esc and connect to pin 33?

    • @frenkkotarigan
      @frenkkotarigan Před 4 lety

      I use Esc Quickrun 1625, can it be connected to pin 33

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety +1

      @@frenkkotarigan No, use the 1060 or 1080

    • @frenkkotarigan
      @frenkkotarigan Před 4 lety

      Ok,i will try with 1060 😊
      Tq sir

  • @adam_-adam
    @adam_-adam Před 4 lety

    I didnt see any torque convertor, isnt a torque convertor two turbines or fans close to each other sumberged in a housing filled with oil"

    • @TheDIYGuy999
      @TheDIYGuy999  Před 4 lety

      There is no real torque converter. It's only existing in software, providing the sound of an automatic transmission with torque converter.

  • @realboombo
    @realboombo Před 4 lety

    Hey, would you sell me the iMac G4 hackintosh? :D