I just fired up my ESP32 Sound board for the first time and I can't describe how awesome it was to hear it roar to life and to know I'd made it, not bought it. Thanks for making this possible by sharing your design and software! I'm looking forward to more of your great projects!
@@TheDIYGuy999 Having problems getting the shaker motor to run. Continuity, +5 and grounds are all where they should be. I replaced the Mosfet,but that didn't fix the problem. I see you added a 10k resistor to the shaker circuit that does not appear in your hand drawn diagram in the RC_Engine_Sound_ESP32-Master files. Why was that added?
@@jps99 the 10k resistor is just a pulldown resistor, preventing the gate from floating around while uploading the code. Which mosfet type did you use? You need a logic level N-channel type.
@@TheDIYGuy999 I used an IRF540 which is an N channel device. FYI, I'm using the V1 36 pin board, so thanks for pointing out the issues. I also have the 30 pin boards so I may try one of them.
@@jps99 This FET is not logic level compatible, VGS can be up to 4V, so it may not switch on properly with 3.3V. Depending on your motor, it may not run with the values in my configuration. Try with 255 for full speed
HOLY CRAP, IT'S WORKING!!! When i power the x1 off my battery and let the esc power the rest, it works! Now I've just got to fine tune things. Like, make it start BEFORE it starts moving. And figure out my horn...
I always told you wire it according to the instructions ;-). If you don't want it to drive before the engine is running, connect the ESC to the "ESC" connector, not to the receiver. I strongly recommend to use the Hobbywing 1080 ESC to achieve perfect results.
@@TheDIYGuy999 you're talking about the 3 pins marked ESC below the receiver inputs instead of the extra ch3 input? What do i change in the code to make ch4 run a horn from a push button? Also, the LEDs im using have resistors pre-wired in the leads. How do I use those, since the board is designed to incorporate resistors on the board?
@@lordsanityfree Yes, I do, that's why it's labelled "ESC". Connect your push button channel to input to CH4, uncomment //DEBUG, add "Serial.println(pulseWidth[3]);" to the DEBUG section, if not already there, read the values in the serial monitorwhile pressing the button, then change the void triggerHorn() function, if the value is not around 1500. Your LED wires with resistors are perfect. The board labelling says "use series resistors for the LED". The resistors on the board are for the transistors bases.
@@TheDIYGuy999 heres my end goal for lighting. Head and tail lights always on. Easy, just plug them into the rx. Working turn signals. Easy, board is already set up for that. Reverse lights that come on only when moving backward. ??? Bumper mounted fog lights and light bar controlled by one of my 3 position switches for OFF/ BUMPER ONLY/ BOTH. Can this board do all that?
Hey! Just arrived here! This project is just awesome! I'm ok about all the coding and electronic stuff, but I'm struggling on how to add new engines sounds. It'll be nice to have a video tutorial on that when you have some spare time :) Cheers!
Finally! The custom designed PCB arrived from JLCPCB and allows me to show you how to assemble the Arduino DIY ESP32 Open Source RC Sound & Light Controller. What do you think? Let me know in the comments. Until next time!
Brilliant! I received my boards from OshPark a couple of days ago. I've started the assembly and I'll have to check for the track issue you mentioned in the video. I am looking forward to hearing the esp32 in action.
This looks amazing. I think this would work for RC planes like my Spitfire. I think all I would need is start, rev, idea, outoffuel and hornS (for guns) sound files. However, I don't see / hear engine shutdown. An airplane engine has all that inertia of the prop so it doesn't just "stop". Thoughts ? Also can you provide a complete link for ordering the PCB. Thanks so much.
Nice jobb have orded pcb and component put hav an question how to split rear and brake lights so i can use odder rear lights not only Tamiya but Carson 7 chamber
Thanks. There is an additional output for brake lights on pin 32, but you have to use an external NPN driver transistor with base resistor. The behaviour can easily be changed in the "void brakeLightsSub()" function
Excellent work. Just put my order in for the board, and order some of the components from Amazon. So looking forward to putting this project together and putting it in my grand hauler.
Thank you. Have a look at the PDF in this directory: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB and: czcams.com/video/csQgTfxRd8Y/video.html You can also find a lot of details in my other videos.
@@TheDIYGuy999 what do I put in for number of unique parts, number of smt parts, number of bga/qfp parts, number of through hole parts and how do I upload the gerbers file. Thanking you.
greetings I love your videos I am very excited to put together my project but I still have a problem to send the PCBs can you help me with the GERBER file? Cheers.
Hi i build the compact one and using iBUS protocol Got it build only no sound coming out my son install the ESP-WROOM-32 Development Board sound/light file i know ibus compact for just sound I am using Flysky FS-i10 FS I10 2.4ghz 10ch Transmitter and Receiver System with FS-IA10 and using the FS-CEV04 Serial Bus Receiver For iA6B iA10 Receiver Need help on hookup and software to install Do i need to feed two power input
Fantastic material for newbies!!! THANKS. I have a little question: Should I add resistors to the LEDs that I will put on the truck? Or are the ones we put on the electronic board enough? Grateful.
You always have to use series resistors for LED, only the Tamiya trailer connector provides internal resistors: www.hobby-hour.com/electronics/ledcalc.php
It's not possible to add links to assembled boards on PCBWay. Order it according to the PDF in: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB
ficou muito bom seu projeto, estou tendo dificuldade de conseguir PCB. eu quero fazer o som do motor Mustang V8. tenho o esp 32 e o Pam8403 e um rádio com receptor é possível fazer sem PCB?
Do the supply wiring according to (chapter "wiring"): github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/README.md The voltage on "X1" needs to be 7 - 12.6V. also make sure, your supply and BEC can handle at least 1 Amp.
@@TheDIYGuy999 i did that. To power the ESP and receiver (remember, just trying to get a working prototype for sound only) I ran a dupont jumper from a 5v pin on the side with the LED outputs to the Vin center pin of the receiver side. It seems like everything is fine until the ESP32 tries to boot.
@@lordsanityfree And how to you control the throttle? With a PWM servo tester, connected to CH3? And your communications settings are in accordance with the chapter "Interface type"? Also make sure, your ESP32 pin "D0" if you have one is connected to nothing.
@@TheDIYGuy999 I'm using your pcb board so I assume d0 is routed correctly. For throttle control I'm using my radiolink rc6gs transmitter and receiver. Channel 2 on rx (throttle) connected to channel 3 (throttle) on board. Letting the board power the rx.
I did exactly the same. zeroed it out and then uploaded the file in UGS etc. but it appears as soon as i bring the file to UGS, UGS is creating some sort of margin around the work and my work shifts to about little bit (about 1/4") to the right. It does all operations fine but lil bit to the right. Do you know what could cause this? My coordinate in fusion is based on box points (top left corner) and the axis is all correct. The box around the work is also set to exactly match the work piece. So I don't understand from where the shift to the right is coming from.
Hi, Ive just built the board and it the voltages seem ok. Im stuck on the next step. Ive looked at your github, but cant find where the code is to upload. Can you tell me please. Love the project thankyou
Go to github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32, then hit "Clone", "Download zip". You also need to download and install the libraries, which are mentioned in code lines 48-49. Also install the ESP32 board according to: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ Select board according to: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/Board%20settings.png
Nice work. I am building a Light controller with arduino. What you recomend to control high Power like a servo or high consumption leds with arduino? What kind of transistor?
Thanks. A servo does not require a transistor, because the power transistor is already inside. For a standard LED, a BC337-25 transistor is OK. You can also use an ULN 2003 IC. For details, have a look at the schematic on my GitHub
Hello Friend! your project is exactly what i was looking for. I work with electronics, I made some changes to improve and support more leds connected together, but in programming I don't have much knowledge yet, would it be possible to use this sketch in an atmega 328 to further reduce the costs and the size of the board? If you want to touch knowledge and ideas, leave your email for me to get in touch. Greetings from Brazil! 👍
Hi, there is no way to stuff this code into a very limited 8 bit board such as a 328, but I also have a simple version for the 328: github.com/TheDIYGuy999/Rc_Engine_Sound best regards
@@TheDIYGuy999 thank you very much friend! I will try this project until my esp32 arrives. would it be possible to add some light functions in atmega ?!
Hello. I've already made a project and now, in the second, there is an error in line182 "SBUS sBus(Serial2);", with the message: "Serial2 was not declared in this scope" . Would you help me?
Firstly, thanks for making all your efforts available :) A few questions: If I only have a 3 channel radio, with Ch3 being 2 position, how do I use this to turn headlights on/off? Also, how to make headlights independent of throttle?? I think this would be much better. Regards Dave
@@TheDIYGuy999 Am currently playing with making new sounds, have a reasonable Toyota Start and Idle version working (can share if you like). I've now also added and engine shutdown .h file. Some requests: Is there a variable to limit the rev sound spike when downshifting? My Toyota is way too high even at low throttle, can it be linked to the current throttle position? When changing gears (setting it up for a Tamiya Bruier type 3 speed), can you make the throttle fall naturally then quickly ramp up to current throttle?* *I'm using a stick style transmitter with gearshift H "gate". Thanks again.
Been digging through the main code, modified the Auto throttle parameters as below, still experimenting with the +- numbers but got the desired sound effect when shifting. Do these numbers also relate to the ESC output on pin 33 or just the sound? // Auto throttle while gear shifting (synchronizing the Tamiya 3 speed gearbox) if (!escIsBraking && escIsDriving && shiftingAutoThrottle) { if (gearUpShiftingInProgress) currentThrottle -= 100; // LESS throttle if (gearDownShiftingInProgress) currentThrottle += 100; // MORE throttle currentThrottle = constrain (currentThrottle, 0, 500);
@@DaveyGa these values above are mainly intended to adjust the gearbox input rpm in order to "synchronise" the gearbox. The sound is affected as well. If you want to change the speed of engine rpm change (for the sound), you have to change these parameters: // Engine mass simulation const int8_t acc = 2; // Acceleration step (2) 1 = slow for locomotive engine, 9 = fast for trophy truck const int8_t dec = 1; // Deceleration step (1) 1 = slow for locomotive engine, 5 = fast for trophy truck
Hello, I just finished soldering the board and I have two doubts: I can't find where to solder resistor 18. On the PCB board, under the PAM8034 module there are several holes, do no components occupy those holes? Thank you very much!
Hello, I tryed to uploatd Your program to esp32, but it write error with this command: indicatorR.flash(375, 375, 0, 0, 0, indicatorFade, indicatorOffBrightness) it is on line 1784. The error is no matching function for call to 'statusLED::flash(int, int, int, int, int, uint32_t&, uint8_t&)' . Where can be probem? Thank you Klimš
I have just received the boards from PCB way. I downloaded the latest program version 9.12.0. However this documentation does not show the schematic diagram for the new boards I have received. Is there a later version of the schematic and perhaps pictures available? Thank you
Love this project. I have a small question, that I haven't found the answer to yet. The ESP board can handle 5V from a regular RC reciever run by the BEC in an ESC? Or do I have to convert it to 3.3V somehow?
@@TheDIYGuy999 Ah. So servo's and receiver all communicate on 3.3, but are powered by 4.8-5 from the bec? The world just got a whole lot easier😉 Thanks✌️
Einen herzlichen Gruß aus Deutschland in die schöne Schweiz. Du hast da ein ganz tolles Projekt ins Leben gerufen auf das ich eher zufällig gestoßen bin. Vielen vielen Dank für die Arbeit und Mühe, die du dir da gemacht hast. Große Klasse. Ich habe über die Links bereits alles nötige geordert und teilweise erhalten. Leider habe ich von Adruino fast keine Ahnung. Hättest du eventuell eine kleine Anleitung wie ich die Scetches auf das board bekomme? Wenn ich den hauptscetch auf das Board lade, kommen lauter Fehlermeldungen bei den include Zeilen. Irgendwie weiß ich nicht, was ich wohin schieben muss. Für eventuelle Hilfe wäre ich sehr dankbar. Schöne Grüße Andreas
Hallo Andreas, Vielen Dank für das Lob. 1. Board definitions installieren: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ 2. alle in Zeile 48 - 49 erwähnten libraries installieren 3. Board Einstellungen gemäss dem Bild "Board settings" einstellen (dein Serial port wird anders heissen) 4. Im Tab "Adjustments.h" die gewünschten Einstellungen machen: Signaltyp (Du musst in Zeile 34 die beiden // entfernen, wenn du Standard Servo Signale zur Steuerung verwenden willst), Es darf immer nur 1 Sound der selben Kategorie gewählt ( // entfernt) sein. Musterkonfigurationen für diverse Fahrzeuge sind in /settings zu finden (Inhalt in "Adjustments.h" kopieren) Hoffe, das hilft viele Grüsse
@@TheDIYGuy999 Hallo The Diy Guy999, Dankeschön für die schnelle Antwort. Heute sind auch die Platinen gekommen. .... Ich wede sehen ob ich zurecht komme. Installiert ist das Board im Arduino Programm bereits, meine Unkenntnis erstreckt sich leider über das komplette Thema. Schöne Grüße Andreas
Hello, First of all, a big thanks for sharing your projects. I'm looking forward to order some PCB but I wonder what file to use. On the github site, there's a prototype (for 36 pins ESP32) which is not recommended and the final files (for 30 pins ESP32). Looking at the above video, it looks like you used the 36 pins version... You mention also the fact that the board had to be revised to correct two little problems. Looking at the files date, I see that the 36 pins version was modified more recently than the other one. So, my question is : which file should i use to order pcbs ? (I beg your pardon if I missed important information containing the answer ) Thanks by advance for you response as also a pleasant Easter Week-end (if any). Michel
You're welcome. Yes, the 36 pin files are newer, because I solved some issues. I still recommend to use the 30 pin version, the D0 / D3 pin swap is already included there. I used the 36 pin version for this tutorial, because the 30 pin version did not yet arrive. For ordering, just upload "Gerbers.zip" in the "Final" folder on JLCPCB. Do not change parameters except the color you want. Hope this helps. Have fun building it.
On the board version for the 30 pin ESP32, there are pairs of connectors, which allow to feed the signal through. Otherwise, you can use Y-cables. I always use the board in SBUS mode, so I don't need the servo signal inputs.
@@TheDIYGuy999 thanks for the quick reply. Can you walk us through how to get the Gerber file for the PCB and a list of components to populate it? Again thanks
@@steve8939123 Download "Gerbers.zip" from here: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB/Final Then upload it here per drag & drop: cart.jlcpcb.com/quote?orderType=1&stencilWidth=100&stencilLength=100&stencilCounts=5&stencilLayer=2&stencilPly=1.6&steelmeshSellingPriceRecordNum=A8256537-5522-491C-965C-646F5842AEC9&purchaseNumber= Afterwards just select the color you want. Don't change anything else. You can see all the required components in the video. For the recommended 30 pin board you need this ESP32: www.ebay.ch/itm/Espressif-ESP32-WLAN-Dev-Kit-Board-Development-Bluetooth-Wifi-v1-WROOM32-NodeMCU/253059783728?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
@@TheDIYGuy999 thank you. Inside the Gerber zip file is 9 files, which do I copy and paste to send to make the PCB? Sorry, but I want to do this right.
Would you consider doing a 30pin assembly video? I wish to enhance your BOM list for the 30pin and send you a copy if that is ok? (my way of trying to help)
This doesn't make sense, because the assembling process is the same. I will do a new video, as soon as the next version is ready. If you want to share the BOM, send me a Google Drive link. Thank you.
@@TheDIYGuy999 Thanks it was along the lines of showcasing the different build and parts used. Isn't the layout different? I found the other video really useful as a novice but would prefer seeing what I am actually assembling? So I really know where things go. At least that was my thoughts and maybe it would aid others?
Grüße in die Schweiz. Super tolles Video. Ich hätte eine Frage bzw. Bitte an dich. Ich besitze den Wltoys A979 und den Wltoys 12428 und würde gerne deine Fernsteuerung und deinen Receiver nachbauen und in die beiden Autos einbauen. Ich hab bereits viele deiner Videos angeschaut aber leider fehlt mir irgendwie der Einstieg in die Thematik. Hast du bereits ein HowTo Tutorial für den kompletten Nachbau auf CZcams? Ich meine wo du alles zeigst und Tipps für den Bau gibst? auch eine teile Liste konnte ich nicht finden. Wärst du bitte so nett eine kleine Hilfestellung zu geben. Ich hab auf github gesehen das du eine AVR und eine ST32 Version hast. Auch den drift Controller könnte ich für den A979 gut gebrauchen, meinem Sohn ist die Kiste noch etwas zu schnell und über die Originale Fernbedienung lässt sich das Auto nicht langsamer machen. Bin über jede Hilfe dankbar. Liebe Grüße aus München
Hallo Mirko, Danke für das Lob. Eine Teileliste für den Empfänger ist auf GitHub vorhanden, für den Sender habe ich keine, die Teilebezeichnungen sind aber auf dem Schema ersichtlich. Bauanleitung Sender: czcams.com/video/izWRkwGFG2E/video.html Empfänger: czcams.com/video/Jfju3FHmbbs/video.html Eine genauere Anleitung habe ich nicht, aber in meinen älteren Videos findest du viele weitere Tipps, wie die Dinger gebaut werden. Viel Spass beim Bauen!
@@TheDIYGuy999 Nach deinem Post habe ich mich gleich dran gemacht den Receiver Code auf Github auszuchecken..... Stunden später (bzw. gerade eben) bin ich zur Erkenntnis gekommen das sich ein Software Entwickler (ich) nicht mit Hardware beschäftigen sollte :-(. Hab heute morgen auf JLCPCB gesehen das die einen (neuen) SMT Assembly Service anbieten. Ich fühlte mich dadurch bereits am Ziel da ich eh keine SMD Komponenten löten kann. Leider muss man für diesen Service zusätzlich zu den Gerber Dateien eine BOM Datei mit den SMD Komponenten aus der JLCPCB Library!! und ein "Pick and Place File" hochladen. Ich hab mir zwar mittlerweile EasyEDA runtergeladen aber ich war nicht im Stande :-( deine BRD und SCH Dateien so anzupassen das die beiden Dateien rauskommen. Siehst du eine Chance die Files zur Verfügung zu stellen (oder zu verkaufen)? Die meisten User (Fans) können evtl. wie ich auch keine SMD Bauteile löten und könnten dadurch dein Micro-RC Set nachbauen. What do you think about? P.S.: Meine Anerkennung an dich das du Hard und Software so exzellent beherrschst. Der Code ist richtig gut.
@@mirkoseidel7825 Das wird schwierig, da ich alles in Eagle gezeichnet habe. Ich denke, dass du zu viel Angst vor SMD hast. Das Löten geht mit Paste und einem Heissluftfön sehr gut. Das erste Board habe ich sogar mit einem normalen Lötkolben gelötet. Das Zauberwort lautet Flussmittel. Ich empfehle dir, mal ein paar SMD soldering Videos anzuschauen: czcams.com/video/hoLf8gvvXXU/video.html Ich werde mir aber mal anschauen, ob man aus Eagle Dateien die benötigten Files erstellen kann. Ich bin übrigens kein Software Profi, habe aber bereits einiges mit Arduino gemacht, sogar eine Industrie-SPS, welche in einem Schraubroboter verwendet wird.
I may do it later on, but you can find it on GitHub and in the software comments. Basically, you have to install the ESP32 boards according to: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ You also need to install the libraries, which are mentioned in the software comments
@@user-gq9ge4yx8d Delete everything in the "Adjustments.h" tab, then open "/settings/KingHaulerSettings2" and copy and paste everything in "Adjustments.h" Afterwards, select the communication mode you want in lines 31 - 39
You can find the parts lists and the Gerber PCB files here: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB/Final To oder the PCB, upload the Gerber files here: jlcpcb.com/?gclid=Cj0KCQjwyJn5BRDrARIsADZ9ykExlcXS3iqNXTOj9DnUddvZpv8GRCW1lkAAhtga_mT9-AgQScaRK1YaAmj8EALw_wcB
You need to install the ESP32 board first: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ Also read the instructions on GitHub carefully
Do you have a video about what to do once the board is built? Mine is built but I have no sound or lights. I'm pretty sure its an arduino configuration error but I can't seem to figure it out. I'm using a standard receiver setup and feel I have it configured for that. I can get it to load on to the ESP32 but get nothing after that. Maybe do videos on how to configure it if using standard servo connections, SBUS, etc. Also a walkthrough of the settings in your arduino files would be helpful.
For a standard receiver, you have to configure it as follows (add // to line 34): // --------------------------------------------------------------------------------------------------------------------- // Choose the receiver communication mode (never uncomment more than one! If all commented out = classic PWM RC signal communication)-- // SBUS communication -------- //#define SBUS_COMMUNICATION // control signals are coming in via the SBUS interface (comment it out for classic RC signals) boolean sbusInverted = true; // true = wired to NPN transistor signal inverter or uninverted SBUS signal (for example from "Micro RC" receiver) // Serial communication -------- //#define SERIAL_COMMUNICATION // control signals are coming in via the serial interface (comment it out for classic RC signals) // Only for my "Micro RC" receiver! See: github.com/TheDIYGuy999/Micro_RC_Receiver // PPM communication -------- //#define PPM_COMMUNICATION // control signals are coming in via the PPM interface (comment it out for classic RC signals) #define NUM_OF_CHL 8 // The number of channels inside our PPM signal (usually max. 8) #define NUM_OF_AVG 1 // Number of averaging passes (usually one, more will be slow) Connections: CH1 = steering CH2 = shifting servo CH3 = throttle CH4 = additional functions ESC connected to "ESC" output (Hobbywing 1080 strongly recommended). Note, that you have to use resistors for the LED (except Tamiya port) For different vehicle configs, have a look at the examples in the "settings" folder (copy and paste them to hour "Adjustments.h" tab)
@@TheDIYGuy999 Thanks. I finally got sound. I had the speakers hooked up according to the plus and minus on the board, but for some reason, the left speaker only worked when hooked up backwards. If I hooked it up correctly, I got no sound at all from either speaker.
Hi 1. Download the Gerbers.zip file form here: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB/Final (you can also find a schematic and a parts list there) 2. upload the zip here (press "Quote Now"): jlcpcb.com 3. do not change anything except the color and the quantity you want
What a wonderful alternative to the high priced options out there. If I only had the skills to put my own together. Anybody interested in making me one?
@@TheDIYGuy999 until 5.2 is ready, can you put the wav files you used for the included sounds on github? playing with settings to find the right sounds for my rig sounds tedious as hell...
@@TheDIYGuy999 I put it together all im getting out of the speaker is a clicking noise and no response from my transmitter I put the arduino one together and it works fine but the esp 32 I cannot get to work at all ive confirmed that the code did upload successfully and I uploaded it multiple times Im using a flysky transmitter and reciever checked all connections are correct any ideas to why there is no engine sound and just clicking noise?
@@TheDIYGuy999 hey I uploaded a video of my problem ive been having having with this I show my setup and everything can you take a look at it? really trying to build this ): czcams.com/video/yzr3qh-Jwsw/video.html
Please read these instructions carefully: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/README.md If you still have errors, post the error message
@@sempruljayabkr2806 Read README.md, install required board and libraries as described. Then configure "Adjustments.h" to fit your needs and hit upload
Finally got it together to tweak it again, and it was doing this: czcams.com/video/-LvZtwrAluE/video.html Also, when I connect the ESC to the ESC pins, I get power to the board but no movement from the motor.
Still sounds like a current supply problem. Are your wires between the battery and the sound controller / ESC thick enough? What type is your battery and your ESC? On the video it looks like you are using very thin wires without a proper T-Plug and two batteries please make a decent Y-cable for the main supply.
@@TheDIYGuy999 just dupont jumper wires between battery and esc. Its a 2s lipo battery with some solid core wire just kinda jammed into the deans plug.. Havent figured out a way to splice into one battery yet. I though a T adapter for the esc wiring wasn't needed with the ESC connection on the board?
@@TheDIYGuy999 the esc is the stock hexfly that comes with the redact gen7. Not sure what model it is. What gauge of wire would you recommend for the main power supply? I think ill try to splice into the line between the ESC and battery with a permanent solder connection. I wish I could find those power adapters included with the ESS sound things.
@@lordsanityfree you can easily make your own adapter: solder two t-plugs together back to back, then branch off wires with about 1mm2 cross section, which go to the X1 terminal on the sound controller
You probably don't see my questions, sorry I repeat: Made drive.google.com/file/d/1dVIT7l2P2MpfOBLH3_kCMPbvrJlF9SqN/view?usp=sharing , recorded drive.google.com/file/d/1yLZ9HRcKXTzI5lZ1up5UEey9HA0pEf_u/view?usp=sharing . In line 34, "/ / " was removed drive.google.com/file/d/18NEpkMI_zH5nPoBfRa0j8PSh_zk52eQZ/view?usp=sharing . When you turn it on, there is a sound drive.google.com/file/d/1dUYCm0IrqjWiHI2U-DHRKY2VLODpLxAu/view?usp=sharing . Doesn't react to anything. then I wrote // in line 34 "//#define SBUS_COMMUNICATION // control signals are coming in via the SBUS interface (comment it out for classic RC signals)", the sound of the engine began to react to the gas trigger, but the electromotor does not work. Led lights do not turn on.
sorry, I did not see it. For the wiring on your picture, you need to set it as follows: // --------------------------------------------------------------------------------------------------------------------- // Choose the receiver communication mode (never uncomment more than one! If all commented out = classic PWM RC signal communication)-- // SBUS communication -------- //#define SBUS_COMMUNICATION // control signals are coming in via the SBUS interface (comment it out for classic RC signals) boolean sbusInverted = true; // true = wired to NPN transistor signal inverter or uninverted SBUS signal (for example from "Micro RC" receiver) // Serial communication -------- //#define SERIAL_COMMUNICATION // control signals are coming in via the serial interface (comment it out for classic RC signals) // Only for my "Micro RC" receiver! See: github.com/TheDIYGuy999/Micro_RC_Receiver // PPM communication -------- //#define PPM_COMMUNICATION // control signals are coming in via the PPM interface (comment it out for classic RC signals) #define NUM_OF_CHL 8 // The number of channels inside our PPM signal (usually max. 8) #define NUM_OF_AVG 1 // Number of averaging passes (usually one, more will be slow) so you settings should be OK, but your clock frequency appears to be 80MHz. This is wrong and needs to be 240MHz. See: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/Board%20settings.png Adjust your board settings accordingly and it should work
@@TheDIYGuy999 Made as in the picture drive.google.com/file/d/1eaxofZ7gN4uNdRxAihw13lOo6v5o7UWp/view?usp=sharing , no changes. The electric motor does not work, the Led does not light. What else can you do?
@@user-gq9ge4yx8d according to your screenshot, your board settings are correct now. Which electric motor, the shaker or the drive motor? I assume, there is an issue with your 5V supply. Did you measure it? Does the 7805 regulator deliver 5V? Are there any error messages in Arduino (I don't recommend to use hourly build of the Arduino IDE BTW)? did you change anything in the sketch?I think, you should make a short video, which shows the problem in detail.
I just fired up my ESP32 Sound board for the first time and I can't describe how awesome it was to hear it roar to life and to know I'd made it, not bought it. Thanks for making this possible by sharing your design and software! I'm looking forward to more of your great projects!
I'm happy to hear that. Have fun with it!
@@TheDIYGuy999 Having problems getting the shaker motor to run. Continuity, +5 and grounds are all where they should be. I replaced the Mosfet,but that didn't fix the problem. I see you added a 10k resistor to the shaker circuit that does not appear in your hand drawn diagram in the RC_Engine_Sound_ESP32-Master files. Why was that added?
@@jps99 the 10k resistor is just a pulldown resistor, preventing the gate from floating around while uploading the code. Which mosfet type did you use? You need a logic level N-channel type.
@@TheDIYGuy999 I used an IRF540 which is an N channel device. FYI, I'm using the V1 36 pin board, so thanks for pointing out the issues. I also have the 30 pin boards so I may try one of them.
@@jps99 This FET is not logic level compatible, VGS can be up to 4V, so it may not switch on properly with 3.3V. Depending on your motor, it may not run with the values in my configuration. Try with 255 for full speed
HOLY CRAP, IT'S WORKING!!!
When i power the x1 off my battery and let the esc power the rest, it works!
Now I've just got to fine tune things. Like, make it start BEFORE it starts moving. And figure out my horn...
I always told you wire it according to the instructions ;-). If you don't want it to drive before the engine is running, connect the ESC to the "ESC" connector, not to the receiver. I strongly recommend to use the Hobbywing 1080 ESC to achieve perfect results.
@@TheDIYGuy999 you're talking about the 3 pins marked ESC below the receiver inputs instead of the extra ch3 input?
What do i change in the code to make ch4 run a horn from a push button?
Also, the LEDs im using have resistors pre-wired in the leads. How do I use those, since the board is designed to incorporate resistors on the board?
@@lordsanityfree Yes, I do, that's why it's labelled "ESC".
Connect your push button channel to input to CH4, uncomment //DEBUG, add "Serial.println(pulseWidth[3]);" to the DEBUG section, if not already there, read the values in the serial monitorwhile pressing the button, then change the void triggerHorn() function, if the value is not around 1500.
Your LED wires with resistors are perfect. The board labelling says "use series resistors for the LED". The resistors on the board are for the transistors bases.
@@TheDIYGuy999 heres my end goal for lighting.
Head and tail lights always on. Easy, just plug them into the rx.
Working turn signals. Easy, board is already set up for that.
Reverse lights that come on only when moving backward. ???
Bumper mounted fog lights and light bar controlled by one of my 3 position switches for OFF/ BUMPER ONLY/ BOTH.
Can this board do all that?
Hey! Just arrived here! This project is just awesome! I'm ok about all the coding and electronic stuff, but I'm struggling on how to add new engines sounds. It'll be nice to have a video tutorial on that when you have some spare time :) Cheers!
Finally! The custom designed PCB arrived from JLCPCB and allows me to show you how to assemble the Arduino DIY ESP32 Open Source RC Sound & Light Controller. What do you think? Let me know in the comments. Until next time!
Thank you. Have fun building this one!
Yeah except the board you use isn't the same as your current design, making this video kinda useless.
@@lordsanityfree This board design is still available for download. The assembly process for the new one is essentially the same.
Great project! Just ordered all the components and can't wait to build it!
Thank you. Have fun assembling it.
Brilliant! I received my boards from OshPark a couple of days ago. I've started the assembly and I'll have to check for the track issue you mentioned in the video. I am looking forward to hearing the esp32 in action.
Great. Let us know, how your board works. Have fun building it
Great father son project. Happy Easter, & thanks for sharing!
Thank you. Also have happy easter. You're welcome
Mantap tuan, mohon izin untuk belajar 😀🙏
This looks amazing. I think this would work for RC planes like my Spitfire. I think all I would need is start, rev, idea, outoffuel and hornS (for guns) sound files. However, I don't see / hear engine shutdown. An airplane engine has all that inertia of the prop so it doesn't just "stop". Thoughts ? Also can you provide a complete link for ordering the PCB. Thanks so much.
Nice jobb have orded pcb and component put hav an question how to split rear and brake lights so i can use odder rear lights not only Tamiya but Carson 7 chamber
Thanks. There is an additional output for brake lights on pin 32, but you have to use an external NPN driver transistor with base resistor. The behaviour can easily be changed in the "void brakeLightsSub()" function
Excellent work. Just put my order in for the board, and order some of the components from Amazon. So looking forward to putting this project together and putting it in my grand hauler.
Thank you. Have fun with your build!
Got mine all put together and working. Thank you so much for sharing this project.
Always interesting ideas to get inspiration in the Arduino community thanks for sharing.
You're welcome
mano! parabens, deus abeçoe sempre, obrigado por compartilhar seu conecimento, mano como faço para baixar o projeto da pcb?
Thank you! See: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/hardware
Can i also use a reciever that works with the paladin ev 18
Brilliant work pure genius mate, have you ever thought of selling these already done a lot of guys I would imagine would be very interested.
Thank you. Have a look at the PDF in this directory:
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB
and: czcams.com/video/csQgTfxRd8Y/video.html
You can also find a lot of details in my other videos.
@@TheDIYGuy999 thank you so much
@@TheDIYGuy999 what do I put in for number of unique parts, number of smt parts, number of bga/qfp parts, number of through hole parts and how do I upload the gerbers file. Thanking you.
@@TheDIYGuy999 please ignore my last message I found your very informative info in the file thanks again👍
greetings I love your videos I am very excited to put together my project but I still have a problem to send the PCBs can you help me with the GERBER file? Cheers.
hi, i can change only jake brake in the cummins 335?
amazing project
Thank you
Hi i build the compact one
and using iBUS protocol
Got it build only no sound coming out
my son install the ESP-WROOM-32 Development Board
sound/light file i know ibus compact for just sound
I am using Flysky FS-i10 FS I10 2.4ghz 10ch Transmitter and Receiver System
with FS-IA10 and using the FS-CEV04 Serial Bus Receiver For iA6B iA10 Receiver
Need help on hookup and software to install
Do i need to feed two power input
Fantastic material for newbies!!!
THANKS.
I have a little question: Should I add resistors to the LEDs that I will put on the truck?
Or are the ones we put on the electronic board enough?
Grateful.
You always have to use series resistors for LED, only the Tamiya trailer connector provides internal resistors: www.hobby-hour.com/electronics/ledcalc.php
hi friend, where i cad download the all sound for semis?
I am not able to find your completed board on PCBWay. Is it possible for you to add a direct link to the product so that I can purchase it.
It's not possible to add links to assembled boards on PCBWay. Order it according to the PDF in:
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB
Is it possible to use the Hall sensor to emulate the engine speed instead of RC controller?
good is it possible to add a PlayStation 3 or 4 controller to this code
ficou muito bom seu projeto, estou tendo dificuldade de conseguir PCB. eu quero fazer o som do motor Mustang V8. tenho o esp 32 e o Pam8403 e um rádio com receptor é possível fazer sem PCB?
Yes, of course. See:
czcams.com/video/s93yAAmEtbM/video.html
czcams.com/video/Xn1aL_5lSL8/video.html
Boa noite eu gostaria de comprar so esta placa como eu faço?
New board, new ESP32, new everything. Clean install of code. All I get is ESP power cycling.
Do the supply wiring according to (chapter "wiring"): github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/README.md
The voltage on "X1" needs to be 7 - 12.6V. also make sure, your supply and BEC can handle at least 1 Amp.
@@TheDIYGuy999 i did that. To power the ESP and receiver (remember, just trying to get a working prototype for sound only) I ran a dupont jumper from a 5v pin on the side with the LED outputs to the Vin center pin of the receiver side.
It seems like everything is fine until the ESP32 tries to boot.
@@lordsanityfree And how to you control the throttle? With a PWM servo tester, connected to CH3? And your communications settings are in accordance with the chapter "Interface type"? Also make sure, your ESP32 pin "D0" if you have one is connected to nothing.
@@TheDIYGuy999 I'm using your pcb board so I assume d0 is routed correctly. For throttle control I'm using my radiolink rc6gs transmitter and receiver. Channel 2 on rx (throttle) connected to channel 3 (throttle) on board. Letting the board power the rx.
@@TheDIYGuy999 looking at the Amazon page since I'm not home. Confirmed I have the 30 pin board without a D0 pin.
I did exactly the same. zeroed it out and then uploaded the file in UGS etc. but it appears as soon as i bring the file to UGS, UGS is creating some sort of margin around the work and my work shifts to about little bit (about 1/4") to the right. It does all operations fine but lil bit to the right. Do you know what could cause this? My coordinate in fusion is based on box points (top left corner) and the axis is all correct. The box around the work is also set to exactly match the work piece. So I don't understand from where the shift to the right is coming from.
Hi, Ive just built the board and it the voltages seem ok. Im stuck on the next step. Ive looked at your github, but cant find where the code is to upload. Can you tell me please. Love the project thankyou
Go to github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32, then hit "Clone", "Download zip".
You also need to download and install the libraries, which are mentioned in code lines 48-49.
Also install the ESP32 board according to: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
Select board according to: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/Board%20settings.png
@@TheDIYGuy999 Thanks very much :)
Can this be used for rc helicopters?
Nice work. I am building a Light controller with arduino. What you recomend to control high Power like a servo or high consumption leds with arduino? What kind of transistor?
Thanks. A servo does not require a transistor, because the power transistor is already inside. For a standard LED, a BC337-25 transistor is OK. You can also use an ULN 2003 IC. For details, have a look at the schematic on my GitHub
Hello Friend! your project is exactly what i was looking for. I work with electronics, I made some changes to improve and support more leds connected together, but in programming I don't have much knowledge yet, would it be possible to use this sketch in an atmega 328 to further reduce the costs and the size of the board? If you want to touch knowledge and ideas, leave your email for me to get in touch. Greetings from Brazil! 👍
Hi, there is no way to stuff this code into a very limited 8 bit board such as a 328, but I also have a simple version for the 328: github.com/TheDIYGuy999/Rc_Engine_Sound
best regards
@@TheDIYGuy999 thank you very much friend! I will try this project until my esp32 arrives. would it be possible to add some light functions in atmega ?!
On the 30pin PCB there is a diode, D1 between +5v and the ESP32 Vin.
What type of diode is this ? Its not shown on the schematic.
The schematic says D1 is a 1N5819 😉
Hello. I've already made a project and now, in the second, there is an error in line182 "SBUS sBus(Serial2);", with the message: "Serial2 was not declared in this scope" .
Would you help me?
You have to install all the required libraries as mentioned in the readme.
Firstly, thanks for making all your efforts available :)
A few questions:
If I only have a 3 channel radio, with Ch3 being 2 position, how do I use this to turn headlights on/off?
Also, how to make headlights independent of throttle?? I think this would be much better.
Regards
Dave
Hi, thanks. The headlights can only be switched automatically in the currrent software. Otherwise! You have to change it.
@@TheDIYGuy999 Am currently playing with making new sounds, have a reasonable Toyota Start and Idle version working (can share if you like). I've now also added and engine shutdown .h file.
Some requests:
Is there a variable to limit the rev sound spike when downshifting? My Toyota is way too high even at low throttle, can it be linked to the current throttle position?
When changing gears (setting it up for a Tamiya Bruier type 3 speed), can you make the throttle fall naturally then quickly ramp up to current throttle?*
*I'm using a stick style transmitter with gearshift H "gate".
Thanks again.
Been digging through the main code, modified the Auto throttle parameters as below, still experimenting with the +- numbers but got the desired sound effect when shifting. Do these numbers also relate to the ESC output on pin 33 or just the sound?
// Auto throttle while gear shifting (synchronizing the Tamiya 3 speed gearbox)
if (!escIsBraking && escIsDriving && shiftingAutoThrottle) {
if (gearUpShiftingInProgress) currentThrottle -= 100; // LESS throttle
if (gearDownShiftingInProgress) currentThrottle += 100; // MORE throttle
currentThrottle = constrain (currentThrottle, 0, 500);
@@DaveyGa these values above are mainly intended to adjust the gearbox input rpm in order to "synchronise" the gearbox. The sound is affected as well. If you want to change the speed of engine rpm change (for the sound), you have to change these parameters:
// Engine mass simulation
const int8_t acc = 2; // Acceleration step (2) 1 = slow for locomotive engine, 9 = fast for trophy truck
const int8_t dec = 1; // Deceleration step (1) 1 = slow for locomotive engine, 5 = fast for trophy truck
@@TheDIYGuy999 Thanks, will give it a go :)
Cool content! I love it!
Thank you. will you build one?
Great, great job! Yesterday I bought all, I'll try it.
Is posible the battery connector missing from the BOM? Thanks!
Thanks. Yes, it was missing. I have re-uploaded the parts list on my GitHub.
@@TheDIYGuy999 you are the best!
What kind of ESC you use for this proyect? Thanks
@@oscarveterinario Hobbywing 1080. The required settings are documented on top of the Adjustments.h file
Hello, I just finished soldering the board and I have two doubts: I can't find where to solder resistor 18. On the PCB board, under the PAM8034 module there are several holes, do no components occupy those holes?
Thank you very much!
Hello, I tryed to uploatd Your program to esp32, but it write error with this command: indicatorR.flash(375, 375, 0, 0, 0, indicatorFade, indicatorOffBrightness) it is on line 1784. The error is no matching function for call to 'statusLED::flash(int, int, int, int, int, uint32_t&, uint8_t&)'
. Where can be probem? Thank you Klimš
Install the latest versions of all libraries. Details according to:
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/README.md
I have just received the boards from PCB way. I downloaded the latest program version 9.12.0. However this documentation does not show the schematic diagram for the new boards I have received.
Is there a later version of the schematic and perhaps pictures available?
Thank you
OK I found the schematic for SMD's
Have fun with the build
Love this project.
I have a small question, that I haven't found the answer to yet.
The ESP board can handle 5V from a regular RC reciever run by the BEC in an ESC? Or do I have to convert it to 3.3V somehow?
Yes! It can handle it. Just the signal pins are limited to 3.3v, which us fine with modern receivers.
@@TheDIYGuy999 Thanks.
But aren't the signals from the receiver 5v?
Lars Martin No, the receiver has a 3.3v regulator for its processor, so the signals are 3.3v in most recent reveivers.
@@TheDIYGuy999 Ah. So servo's and receiver all communicate on 3.3, but are powered by 4.8-5 from the bec?
The world just got a whole lot easier😉
Thanks✌️
Einen herzlichen Gruß aus Deutschland in die schöne Schweiz.
Du hast da ein ganz tolles Projekt ins Leben gerufen auf das ich eher zufällig gestoßen bin.
Vielen vielen Dank für die Arbeit und Mühe, die du dir da gemacht hast. Große Klasse.
Ich habe über die Links bereits alles nötige geordert und teilweise erhalten.
Leider habe ich von Adruino fast keine Ahnung.
Hättest du eventuell eine kleine Anleitung wie ich die Scetches auf das board bekomme?
Wenn ich den hauptscetch auf das Board lade, kommen lauter Fehlermeldungen bei den include Zeilen. Irgendwie weiß ich nicht, was ich wohin schieben muss. Für eventuelle Hilfe wäre ich sehr dankbar.
Schöne Grüße Andreas
Hallo Andreas,
Vielen Dank für das Lob.
1. Board definitions installieren: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
2. alle in Zeile 48 - 49 erwähnten libraries installieren
3. Board Einstellungen gemäss dem Bild "Board settings" einstellen (dein Serial port wird anders heissen)
4. Im Tab "Adjustments.h" die gewünschten Einstellungen machen: Signaltyp (Du musst in Zeile 34 die beiden // entfernen, wenn du Standard Servo Signale zur Steuerung verwenden willst), Es darf immer nur 1 Sound der selben Kategorie gewählt ( // entfernt) sein. Musterkonfigurationen für diverse Fahrzeuge sind in /settings zu finden (Inhalt in "Adjustments.h" kopieren)
Hoffe, das hilft
viele Grüsse
@@TheDIYGuy999 Hallo The Diy Guy999,
Dankeschön für die schnelle Antwort. Heute sind auch die Platinen gekommen. ....
Ich wede sehen ob ich zurecht komme.
Installiert ist das Board im Arduino Programm bereits, meine Unkenntnis erstreckt sich leider über das komplette Thema.
Schöne Grüße Andreas
Hello,
First of all, a big thanks for sharing your projects. I'm looking forward to order some PCB but I wonder what file to use.
On the github site, there's a prototype (for 36 pins ESP32) which is not recommended and the final files (for 30 pins ESP32).
Looking at the above video, it looks like you used the 36 pins version...
You mention also the fact that the board had to be revised to correct two little problems. Looking at the files date, I see that the 36 pins version was modified more recently than the other one.
So, my question is : which file should i use to order pcbs ?
(I beg your pardon if I missed important information containing the answer )
Thanks by advance for you response as also a pleasant Easter Week-end (if any).
Michel
You're welcome. Yes, the 36 pin files are newer, because I solved some issues. I still recommend to use the 30 pin version, the D0 / D3 pin swap is already included there. I used the 36 pin version for this tutorial, because the 30 pin version did not yet arrive. For ordering, just upload "Gerbers.zip" in the "Final" folder on JLCPCB. Do not change parameters except the color you want. Hope this helps. Have fun building it.
@@TheDIYGuy999 Thanks a lot for your quick and complete answer. I'll try to order some pieces tomorrow :-)
Michel
petite question , une fois le module connecté, ou se branches les servos-moteurs ?
On the board version for the 30 pin ESP32, there are pairs of connectors, which allow to feed the signal through. Otherwise, you can use Y-cables. I always use the board in SBUS mode, so I don't need the servo signal inputs.
Where you can order this!
Great video.thanks for all of your hard work. Do you think you would sell a kit with the PCB and the components we could solder in?
Thanks. I think it does not make sense, because ordering your boards directly is very easy and the components are easily available on eBay.
@@TheDIYGuy999 thanks for the quick reply. Can you walk us through how to get the Gerber file for the PCB and a list of components to populate it? Again thanks
@@steve8939123 Download "Gerbers.zip" from here: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB/Final
Then upload it here per drag & drop: cart.jlcpcb.com/quote?orderType=1&stencilWidth=100&stencilLength=100&stencilCounts=5&stencilLayer=2&stencilPly=1.6&steelmeshSellingPriceRecordNum=A8256537-5522-491C-965C-646F5842AEC9&purchaseNumber=
Afterwards just select the color you want. Don't change anything else. You can see all the required components in the video. For the recommended 30 pin board you need this ESP32: www.ebay.ch/itm/Espressif-ESP32-WLAN-Dev-Kit-Board-Development-Bluetooth-Wifi-v1-WROOM32-NodeMCU/253059783728?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649
@@TheDIYGuy999 thank you. Inside the Gerber zip file is 9 files, which do I copy and paste to send to make the PCB? Sorry, but I want to do this right.
@@steve8939123 Upload the zip file. You will then see a preview of your board.
Hello friend, does this module work with industrial receivers?Please excuse me if I said it wrong ,I'm Russian.
Yes, it's compatible with most standard receivers. You can use PWM, SBUS, IBUS and PPM signals
Are the speakers you use 8 ohm? The banggood ones don't say and are taking forever to ship.
I'm using different ones with 4 or 8 ohms, it doesn't matter
@@TheDIYGuy999 OK. So the board will handle a pair of 4 or 8 ohm speakers? I'm just about to start building the board.
@@SpeedyDad1 Yes, have fun with the build. You can find a parts list on my GitHub
Great video and information
Thank you. Will you build one?
@@TheDIYGuy999 no,i just enjoy watching your videos,they are very informative my friend
@@islandrc-duke1972 Thank you
Would you consider doing a 30pin assembly video? I wish to enhance your BOM list for the 30pin and send you a copy if that is ok? (my way of trying to help)
This doesn't make sense, because the assembling process is the same. I will do a new video, as soon as the next version is ready. If you want to share the BOM, send me a Google Drive link. Thank you.
@@TheDIYGuy999 Thanks it was along the lines of showcasing the different build and parts used. Isn't the layout different? I found the other video really useful as a novice but would prefer seeing what I am actually assembling? So I really know where things go. At least that was my thoughts and maybe it would aid others?
I love this project. could you add a BOM Bill Of Materials so I can get a quote for an assemebled board.
Thanks. You can find the parts on the schematic and in the video subtitles
Save your money, it doesn't work.
Grüße in die Schweiz. Super tolles Video. Ich hätte eine Frage bzw. Bitte an dich. Ich besitze den Wltoys A979 und den Wltoys 12428 und würde gerne deine Fernsteuerung und deinen Receiver nachbauen und in die beiden Autos einbauen. Ich hab bereits viele deiner Videos angeschaut aber leider fehlt mir irgendwie der Einstieg in die Thematik. Hast du bereits ein HowTo Tutorial für den kompletten Nachbau auf CZcams? Ich meine wo du alles zeigst und Tipps für den Bau gibst? auch eine teile Liste konnte ich nicht finden. Wärst du bitte so nett eine kleine Hilfestellung zu geben. Ich hab auf github gesehen das du eine AVR und eine ST32 Version hast. Auch den drift Controller könnte ich für den A979 gut gebrauchen, meinem Sohn ist die Kiste noch etwas zu schnell und über die Originale Fernbedienung lässt sich das Auto nicht langsamer machen. Bin über jede Hilfe dankbar. Liebe Grüße aus München
Hallo Mirko,
Danke für das Lob. Eine Teileliste für den Empfänger ist auf GitHub vorhanden, für den Sender habe ich keine, die Teilebezeichnungen sind aber auf dem Schema ersichtlich.
Bauanleitung Sender: czcams.com/video/izWRkwGFG2E/video.html
Empfänger: czcams.com/video/Jfju3FHmbbs/video.html
Eine genauere Anleitung habe ich nicht, aber in meinen älteren Videos findest du viele weitere Tipps, wie die Dinger gebaut werden. Viel Spass beim Bauen!
@@TheDIYGuy999 Nach deinem Post habe ich mich gleich dran gemacht den Receiver Code auf Github auszuchecken..... Stunden später (bzw. gerade eben) bin ich zur Erkenntnis gekommen das sich ein Software Entwickler (ich) nicht mit Hardware beschäftigen sollte :-(. Hab heute morgen auf JLCPCB gesehen das die einen (neuen) SMT Assembly Service anbieten. Ich fühlte mich dadurch bereits am Ziel da ich eh keine SMD Komponenten löten kann. Leider muss man für diesen Service zusätzlich zu den Gerber Dateien eine BOM Datei mit den SMD Komponenten aus der JLCPCB Library!! und ein "Pick and Place File" hochladen. Ich hab mir zwar mittlerweile EasyEDA runtergeladen aber ich war nicht im Stande :-( deine BRD und SCH Dateien so anzupassen das die beiden Dateien rauskommen. Siehst du eine Chance die Files zur Verfügung zu stellen (oder zu verkaufen)? Die meisten User (Fans) können evtl. wie ich auch keine SMD Bauteile löten und könnten dadurch dein Micro-RC Set nachbauen. What do you think about?
P.S.: Meine Anerkennung an dich das du Hard und Software so exzellent beherrschst. Der Code ist richtig gut.
@@mirkoseidel7825 Das wird schwierig, da ich alles in Eagle gezeichnet habe. Ich denke, dass du zu viel Angst vor SMD hast. Das Löten geht mit Paste und einem Heissluftfön sehr gut. Das erste Board habe ich sogar mit einem normalen Lötkolben gelötet. Das Zauberwort lautet Flussmittel. Ich empfehle dir, mal ein paar SMD soldering Videos anzuschauen: czcams.com/video/hoLf8gvvXXU/video.html
Ich werde mir aber mal anschauen, ob man aus Eagle Dateien die benötigten Files erstellen kann.
Ich bin übrigens kein Software Profi, habe aber bereits einiges mit Arduino gemacht, sogar eine Industrie-SPS, welche in einem Schraubroboter verwendet wird.
hello master the PCB of this videos is 36 pins? Now you just have to use the 30-pin?
Yes, the video shows the old 36pin version, but I recommend the 30 pin version. The functionality is the same, but the 30 pin version is a bit neater
@@TheDIYGuy999 teacher has whatsapp for personal consultations of my project I need your help please
good morning teacher and how do I upload new sounds?
For the most obscure you can create a lesson how and what to download to ESP32 30pin?
I may do it later on, but you can find it on GitHub and in the software comments. Basically, you have to install the ESP32 boards according to: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
You also need to install the libraries, which are mentioned in the software comments
@@TheDIYGuy999 thank you, what is shown in this lesson, I have already done.
@@TheDIYGuy999 I'm interested in how and what files should be downloaded for sound and light for example for King Hauler. I'll wait For your lesson.
@@user-gq9ge4yx8d Delete everything in the "Adjustments.h" tab, then open "/settings/KingHaulerSettings2" and copy and paste everything in "Adjustments.h"
Afterwards, select the communication mode you want in lines 31 - 39
@@TheDIYGuy999 thank you, as I understand, I do not need to change anything in communication mode for PWM RC signal ?
how do i go about getting a couple of your boards? could you sell a couple as a kit to me ?
You can find the parts lists and the Gerber PCB files here:
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB/Final
To oder the PCB, upload the Gerber files here: jlcpcb.com/?gclid=Cj0KCQjwyJn5BRDrARIsADZ9ykExlcXS3iqNXTOj9DnUddvZpv8GRCW1lkAAhtga_mT9-AgQScaRK1YaAmj8EALw_wcB
may i know direct link to download or cppy the codes please? thank you
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32
How to add new sound file?
Select (uncomment) the one you want in Adjustments.h, then upload the code. You can also select other things like volume etc.
I mean a new sound code?☺
@@frenkkotarigan Read this chapter on my GitHub: how to create new sound file arrays 😉
Tq sir
why can't I download the Rc_Engine_Sound_ESP32 file ??
You need to install the ESP32 board first: randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
Also read the instructions on GitHub carefully
Do you have a video about what to do once the board is built? Mine is built but I have no sound or lights. I'm pretty sure its an arduino configuration error but I can't seem to figure it out. I'm using a standard receiver setup and feel I have it configured for that. I can get it to load on to the ESP32 but get nothing after that. Maybe do videos on how to configure it if using standard servo connections, SBUS, etc. Also a walkthrough of the settings in your arduino files would be helpful.
For a standard receiver, you have to configure it as follows (add // to line 34):
// ---------------------------------------------------------------------------------------------------------------------
// Choose the receiver communication mode (never uncomment more than one! If all commented out = classic PWM RC signal communication)--
// SBUS communication --------
//#define SBUS_COMMUNICATION // control signals are coming in via the SBUS interface (comment it out for classic RC signals)
boolean sbusInverted = true; // true = wired to NPN transistor signal inverter or uninverted SBUS signal (for example from "Micro RC" receiver)
// Serial communication --------
//#define SERIAL_COMMUNICATION // control signals are coming in via the serial interface (comment it out for classic RC signals)
// Only for my "Micro RC" receiver! See: github.com/TheDIYGuy999/Micro_RC_Receiver
// PPM communication --------
//#define PPM_COMMUNICATION // control signals are coming in via the PPM interface (comment it out for classic RC signals)
#define NUM_OF_CHL 8 // The number of channels inside our PPM signal (usually max. 8)
#define NUM_OF_AVG 1 // Number of averaging passes (usually one, more will be slow)
Connections:
CH1 = steering
CH2 = shifting servo
CH3 = throttle
CH4 = additional functions
ESC connected to "ESC" output (Hobbywing 1080 strongly recommended).
Note, that you have to use resistors for the LED (except Tamiya port)
For different vehicle configs, have a look at the examples in the "settings" folder (copy and paste them to hour "Adjustments.h" tab)
@@TheDIYGuy999 Thanks. I'll work on it more
@@SpeedyDad1 You're welcome. I'm currently working on an improved guide. It will be included in the next SW version on GitHub
You can now find he improved documentation on my GitHub: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32
@@TheDIYGuy999 Thanks. I finally got sound. I had the speakers hooked up according to the plus and minus on the board, but for some reason, the left speaker only worked when hooked up backwards. If I hooked it up correctly, I got no sound at all from either speaker.
hello master where do I get that ESP32 RC SOUND PCB ?
Hi
1. Download the Gerbers.zip file form here: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB/Final (you can also find a schematic and a parts list there)
2. upload the zip here (press "Quote Now"): jlcpcb.com
3. do not change anything except the color and the quantity you want
What a wonderful alternative to the high priced options out there. If I only had the skills to put my own together. Anybody interested in making me one?
Thanks. You should try assembling one. It's really not that difficult
Its easy if you already know how to do it. If you're a complete beginner, don't waste your time here.
When I upload the Gerbers file at JLCPCB the board Dimensions does not pull in. What should it be? Thanks
What do you mean with pull in? I ordered both version of the board with exactly the same Gerber files and they came out great.
@@TheDIYGuy999 When i uploaded the gerbers file to the JLCPCB web site everything came in but the board size. What size is the board?
@@rudyackerman5747 60x80mm. Upload Gerbers.zip and it will work
@@TheDIYGuy999 I down loaded the gerbers.zip again and this time it worked. Thanks.
@@TheDIYGuy999 My boards arrived today. Now waiting on all the other parts.
Is there any way to listen to the sounds on PC before selecting them for the ESP?
No, not if you don't have the audacity project or the wav files. However, the vehicle selection will be a lot easier in the upcoming v5.2
@@TheDIYGuy999 until 5.2 is ready, can you put the wav files you used for the included sounds on github? playing with settings to find the right sounds for my rig sounds tedious as hell...
@@lordsanityfree Have a look at the 5.2 preview zip on GitHub
@@TheDIYGuy999 that does look a lot easier to work with. When do you expect it to be out of beta?
@@lordsanityfree I think this or next week. What type of vehicle will you use?
hy bro... i want link gifthub for Rc_Engine_Sound_V5.6 firmware....
Do you sell these ready made
No, but you can order boards including SMD parts according to the PDF in: github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/tree/master/Eagle_PCB
will any transmitter and receiver work for this?
Yes, standard servo signals, SBUS and PPM are compatible
@@TheDIYGuy999 I put it together all im getting out of the speaker is a clicking noise and no response from my transmitter I put the arduino one together and it works fine but the esp 32 I cannot get to work at all ive confirmed that the code did upload successfully and I uploaded it multiple times Im using a flysky transmitter and reciever checked all connections are correct any ideas to why there is no engine sound and just clicking noise?
@@WARHERO388 Which communication mode are you using? Servo signals, SBUS or PPM? You have to select the correct mode in "Adjustments.h", lines 31-39
@@TheDIYGuy999 thanks for the quick reply! I am using ppm and I uncommented sbus and serial and commented ppm and still has the same problem
@@TheDIYGuy999 hey I uploaded a video of my problem ive been having having with this I show my setup and everything can you take a look at it? really trying to build this ): czcams.com/video/yzr3qh-Jwsw/video.html
Anyone design a 3d printable case for this board?
www.thingiverse.com/thing:4588819
mohon pencerahannya saya coba unggah esp32 yang30pin error terus mohon sulusinya..
Please read these instructions carefully:
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/README.md
If you still have errors, post the error message
@@TheDIYGuy999 apa harus di pasangi dulu komponen ya ? Setelah itu di unggah??
@@TheDIYGuy999 maksud saya pas di colokin ke pc esp32 apa harus di pasang dulu komponen pendukungnya..
@@sempruljayabkr2806 Read README.md, install required board and libraries as described. Then configure "Adjustments.h" to fit your needs and hit upload
@@TheDIYGuy999 ok saya akan coba dulu..
Can you give me that PCB design file?
Linh Lê Hữu The GitHub link is in the video description
@@TheDIYGuy999 thank you!!!
Finally got it together to tweak it again, and it was doing this:
czcams.com/video/-LvZtwrAluE/video.html
Also, when I connect the ESC to the ESC pins, I get power to the board but no movement from the motor.
Still sounds like a current supply problem. Are your wires between the battery and the sound controller / ESC thick enough? What type is your battery and your ESC? On the video it looks like you are using very thin wires without a proper T-Plug and two batteries please make a decent Y-cable for the main supply.
@@TheDIYGuy999 just dupont jumper wires between battery and esc. Its a 2s lipo battery with some solid core wire just kinda jammed into the deans plug.. Havent figured out a way to splice into one battery yet. I though a T adapter for the esc wiring wasn't needed with the ESC connection on the board?
@@TheDIYGuy999 the esc is the stock hexfly that comes with the redact gen7. Not sure what model it is. What gauge of wire would you recommend for the main power supply? I think ill try to splice into the line between the ESC and battery with a permanent solder connection. I wish I could find those power adapters included with the ESS sound things.
@@lordsanityfree you can easily make your own adapter: solder two t-plugs together back to back, then branch off wires with about 1mm2 cross section, which go to the X1 terminal on the sound controller
You probably don't see my questions, sorry I repeat:
Made drive.google.com/file/d/1dVIT7l2P2MpfOBLH3_kCMPbvrJlF9SqN/view?usp=sharing ,
recorded drive.google.com/file/d/1yLZ9HRcKXTzI5lZ1up5UEey9HA0pEf_u/view?usp=sharing .
In line 34, "/ / " was removed drive.google.com/file/d/18NEpkMI_zH5nPoBfRa0j8PSh_zk52eQZ/view?usp=sharing .
When you turn it on, there is a sound drive.google.com/file/d/1dUYCm0IrqjWiHI2U-DHRKY2VLODpLxAu/view?usp=sharing .
Doesn't react to anything.
then I wrote // in line 34 "//#define SBUS_COMMUNICATION // control signals are coming in via the SBUS interface (comment it out for classic RC signals)",
the sound of the engine began to react to the gas trigger, but the electromotor does not work. Led lights do not turn on.
sorry, I did not see it. For the wiring on your picture, you need to set it as follows:
// ---------------------------------------------------------------------------------------------------------------------
// Choose the receiver communication mode (never uncomment more than one! If all commented out = classic PWM RC signal communication)--
// SBUS communication --------
//#define SBUS_COMMUNICATION // control signals are coming in via the SBUS interface (comment it out for classic RC signals)
boolean sbusInverted = true; // true = wired to NPN transistor signal inverter or uninverted SBUS signal (for example from "Micro RC" receiver)
// Serial communication --------
//#define SERIAL_COMMUNICATION // control signals are coming in via the serial interface (comment it out for classic RC signals)
// Only for my "Micro RC" receiver! See: github.com/TheDIYGuy999/Micro_RC_Receiver
// PPM communication --------
//#define PPM_COMMUNICATION // control signals are coming in via the PPM interface (comment it out for classic RC signals)
#define NUM_OF_CHL 8 // The number of channels inside our PPM signal (usually max. 8)
#define NUM_OF_AVG 1 // Number of averaging passes (usually one, more will be slow)
so you settings should be OK, but your clock frequency appears to be 80MHz. This is wrong and needs to be 240MHz. See:
github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32/blob/master/Board%20settings.png
Adjust your board settings accordingly and it should work
@@TheDIYGuy999 Thank. Do I need to install ESP-IDF Tools to change from 80 to 240 MHz? or can it be different?
@@user-gq9ge4yx8d No, just adjust everything in Arduino according to the picture in tools/board
@@TheDIYGuy999 Made as in the picture drive.google.com/file/d/1eaxofZ7gN4uNdRxAihw13lOo6v5o7UWp/view?usp=sharing , no changes. The electric motor does not work, the Led does not light. What else can you do?
@@user-gq9ge4yx8d according to your screenshot, your board settings are correct now. Which electric motor, the shaker or the drive motor? I assume, there is an issue with your 5V supply. Did you measure it? Does the 7805 regulator deliver 5V? Are there any error messages in Arduino (I don't recommend to use hourly build of the Arduino IDE BTW)? did you change anything in the sketch?I think, you should make a short video, which shows the problem in detail.
Hello 😮
Hello 😊
@@TheDIYGuy999 hai
@@TheDIYGuy999 😍
M.bus
lack of communication very disappointed
Sorry, I just can't answer every single post. You can find a parts list on my GitHub. Maybe a local tech kid could build one for you?