RC lights and sounds controller based on arduino nano (include arduino SW sketch)

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • Hey everyone and welcome to my channel!
    In this video I would like to show you how I built lighting and sound system for my RC cars. This lights and sounds module is based on arduino nano. It can control turn signals, headlights, tail lights with brake function, separately brake light and one additional light, for example fog lights... This module provide also horn sound and simulation of engine sound.
    Everything what you need for build of this controller you can find on my patreon side for free!
    Patreon links (DOWNLOAD):
    💾 / rc-lights-and-49189460
    For VIP patreons are available source files for wiring diagram and 3d model of box (Eagle file and Fusion360 file)
    💾 / rc-lights-and-49189947
    if you like this project, you can support it on my patreon site.
    My patreon site:
    ► / martindmodels
    Thank you for watching and stay tuned for next project 😉
    notes:
    - Arduino nano based project
    - box for module is 3d printed on Prusa Mk3 Clone 3d printer
    - in this video I am using DumboRC X6 2.4Ghz 6CH transmitter ► • DumboRC X6 2.4G 6CH Tr...
    - I installed this module on 3D printed RC drift chassis ► • 3D printed 1/10 RC Dri...

КОМЕНТАРІ • 30

  • @contoh6523
    @contoh6523 2 дні тому

    Is it possible without an SD card, and only sound, not including lights?

  • @VicOrlando
    @VicOrlando 2 роки тому +2

    This is awesome! I might have to do this

    • @martinDmodels
      @martinDmodels  2 роки тому +1

      yeah, you can do it for yourself, exterior body parts are now available on thingiverse: www.thingiverse.com/thing:5139356/files

    • @Evilslayer73
      @Evilslayer73 6 місяців тому

      @@martinDmodels link is broken

  • @YetAnotherRcChannel
    @YetAnotherRcChannel 3 роки тому

    Love it👍
    Subscribed✌️

  • @GDIdoujinmediaworks
    @GDIdoujinmediaworks 3 роки тому +2

    Did you know that DumboRC just came out with the X6DC receiver with integrated LED functions for headlights, signals, brakes, reverse, and strobe? (Yeah, after I customized 3 RC receiver readers already, two using Nano and one using STM32.) Oh well. At least I have some American car bodies to light up, you know how US market cars use their brake lights as turn signals? So there's still a place for the custom method. Also modern cars have DRLs (Daytime Running Lights) that turn into turn signals, you can have some fun with RGB LEDs... usually I wire the Red and Green leads to get the yellow/orange, then activate/deactivate the Blue to go back to white light. I also have a Mustang body which I want to create sequential turn signals for. Now I am very curious and I will try your implementation as a base since I could never get the brakes and the reverse lights to function properly (one has to be sacrificed, usually the reverse). I notice you use PulseIn instead of AttachInterrupt, I think it will work better just like how for the "6 channel rc receiver stm32" the version made using input capture mode is faster and more consistent compared to interrupts. Also there is an implementation of engine sounds without having to use an SD card nor mp3 player module -- the sounds are converted into header file data...there's an ESP32 implementation for the Tamiya trucks but its very complex so I'm trying to just extract the sound processing method while combining it with the simpler lights for cars. In any case, your craftmanship is very commendable and maybe one day you can be the next DarkDragonWing or Macky Works Drift!

    • @martinDmodels
      @martinDmodels  3 роки тому +1

      I did not know about X6DC receiver but I definitely try it! Thanks! Idea with RGB leds sounds nice, but for now, I dont have project for this application.... In my code I am using PulseIn only in setup(), then I using modified PulseIn function because PulseIn is very inaccurate when sounds is playing... I dont using interrupts because it has negative effect to sounds playing... Yeah, I found ESP32 project you tolking about, idea with sounds in header sounds great, I will try to implement it to ver2 of my controller :) ... Thanks for good ideas!

  • @im1forfun
    @im1forfun Рік тому

    genius!

  • @antonga1
    @antonga1 6 місяців тому

    Hello,how many ohms are the trims?

    • @martinDmodels
      @martinDmodels  6 місяців тому

      Trims values are not noted in schematic but their value really dont matter because they are like voltage divider so you can use 1k or 3k3 or 10k, what you can find at home. I used 1k on my project.

  • @vidawild5669
    @vidawild5669 Рік тому +1

    Legal faz um projeto desse para controlar com controle de ps3 para um caminhão ... E se vc vender o projeto eu compro .

    • @martinDmodels
      @martinDmodels  Рік тому

      I do not planning it. I dont have PS controller and I also not very interested in trucks. But feel free to modify my code, it is available to everybody for free on my patreon site.

  • @nenebaez4145
    @nenebaez4145 5 місяців тому

    Excellent project, can you share the diagram with me?

  • @antonga1
    @antonga1 5 місяців тому

    Hello, of the entire board, only the right blinker is there, the left one has constant 5v and the sound cannot start. Can you give me some advice?

  • @PyccoloSantos
    @PyccoloSantos Рік тому

    Excuseme, How long can be the wav files, Im thinking using 5 minutes. ty cheers?

    • @martinDmodels
      @martinDmodels  Рік тому

      Hello, to be honest, I don't know. This project is using TMRpcm library and I didn't find info about max length of track in this library. But I know, that some people made music player using this library, so I believe that 5min track should be OK.

  • @AkashJadhavIT
    @AkashJadhavIT Рік тому

    hello Sir, does DC motor also drives via this or we have another setup for that, i am trying to build a small circuit for my small HO scale train locomotive. so i can use same circuit as you did

    • @martinDmodels
      @martinDmodels  Рік тому

      Hello, this is lights/sound control modul, it is not intended to drive motors. This module control LEDs and generate engine sound anccordding to signals from common RC modes receiver. I know nothing about train models and how they are controlled, so I am not sure if this module would be useful to you, but I guess it doesnt.

  • @MuchamadDarmawan
    @MuchamadDarmawan 2 роки тому

    hi, this awesome!!
    what kind of dumborc remote communication settings?

    • @martinDmodels
      @martinDmodels  2 роки тому

      Hello, I did not make any communication settings, remote control is just out of box.

  • @Evilslayer73
    @Evilslayer73 9 місяців тому

    Hi its an awesome project !!can we changed the sound?

    • @martinDmodels
      @martinDmodels  6 місяців тому +1

      Hi, yes, We can. Sound samples are save on sd card

  • @ithaajja5724
    @ithaajja5724 3 роки тому

    how can i change the sound files? i'm using for RC Jeep Offroad

    • @martinDmodels
      @martinDmodels  3 роки тому +3

      You have to replace files on sd card. You need sound samples of your offroad engine in idle rpm , low rpm, middle rpm and high rpm:
      - Iddle rpm is for file idle.wav,
      - low rpm is for 2k.wav file,
      - middle rpm is for 3k.wav file,
      - high rpm is for 4k wav file.
      You also need to make transition sound samples (mix two sounds):
      - transition sound idle to low rpm, file idleTo2k.wav,
      - transition sound idle to middle rpm, file idleTo3k.wav,
      - transition sound idle to high rpm, file idleTo4k.wav,
      - transition sound low to middle rpm, file 2kTo3k.wav,
      - transition sound middle to high rpm, file 3kTo4k.wav,
      - transition sound low to high rpm, file 2kTo4k.wav,
      ... I made transition sound by mixing two sounds in Audacity software.
      I hope this helped!

    • @ithaajja5724
      @ithaajja5724 3 роки тому

      @@martinDmodels Thanks bro.....nice work

  • @bologanbogdan6634
    @bologanbogdan6634 2 роки тому

    Very nice.are you made for sale ? Thx

    • @martinDmodels
      @martinDmodels  2 роки тому

      No, I am not doing it for sale... But if you like to build one, everything what you need to know you can find for free in links in video description.

  • @rj26manrajdevrithalla51
    @rj26manrajdevrithalla51 3 роки тому

    Buy PCB board link send me

    • @martinDmodels
      @martinDmodels  3 роки тому

      I am not selling PCBs, This one was custom made, but you can make one for yourself. If you type "PCB prototyping" into google, you can find companies, which make custom PCB for you for really cheap, all what you need is send them PCB design - you can make your own PCB design or you can download my design on my patreon site: www.patreon.com/posts/rc-lights-and-49189947