Sound diesel engine module for RC Truck

Hello everybody, I'm passionate about the world of radio controlled model car (RC). Since I entered this world, turns and moves, I ran into Arduino as a way of completing tasks for the RC. Therefore my interest in this platform was born when I realized that I could do many things with the Arduino to make RC more exciting. However, I'm a doctor, and my education has nothing to do with this type of technology. Nevertheless, I have strived to learn how to work with Arduino, but i still do not understand very much. So I come to ask you some help with a project.

The RC cars that i control are electric and the scale type, ie, they try to represent the real cars. One of the cool things that you can do in scale is to put a sound module that mimics the sound of the engine. This brings much realism to the car and let the RC more fun. Look how cool is this:

In the international market there are already some options, not in arduino, of sound modules that mimic engines, some even have built-in modules for controlling LEDs and smoke system, but they are extremely expensive. Check out some of them: (For me this is the best. has a very good sound, totally customizable by software, and includes a controller smoke part, but it is expensive). (very good too, but too expensive). (Same from above). (Not as good as it is not customizable, features a built-in controller LEDs, but is extremely expensive. Overpriced even!). (Until it is very cheap, the sound is not good enough). (Very cheap, but the sound is crap).

As you can see, we got stuck in international solutions that are very expensive, often even impossible to buy. So I ask for your help in building a sound module based on the arduino to simulate engines to the world of RC Scale. Even further, still with your help, I want to build a good tutorial showing step by step how to build such a module, for we all can have a good and afordable sound module for RC scale. I intend to buy all the parts on dealextreme, since there is cheap and a lot of people already know how to buy ...

Searching the internet for a sound module made with arduino, i found one guy from Czech that had already done something similar. Check out: All I could get of this project is that he used the Arduino Nano with a AD converter and an amplifier. But I do not know Arduino very much and I can not imagine how to proceed from here ...

So I count on the help of this arduino community to make possible this project

Since now very grateful for all help.

EDIT: i found more infromation of the David module: "From a technical point of view this is a very simple hardware - Arduino Nano with AD converter and amplifier - at today's level of integrated circuits very simple. Hardware I bought apospojoval. So far it Tatra riding the back of the box, the target solution will be much greater than Arduino Nano itself. After the software is much more interesting, but the implementation details I will leave as a trade secret, but you should know that from the first idea to the realization of this prototype passed a year and a half and it completely on my work (all I had conceived, programmed and odladil) only with the use of library functions to control servos from the Arduino .. Do speaker goes 16bit 11kHz audio created in real-time software simulator engine. The input is a PWM (pulse width modulation) "gas" and "shift" from the receiver. The output of the PWM controller to the engine and the sound of the speaker, that's all." It seems that he want to sell his module... But we can do something similar to that he made.

I want to do the same but for the use in a shovel. I was thinking of using a low cost WTv020-SD-16 with my Arduino. I want to create some different sound files which are played based on acceleration. It would also be possible to make a soundfile for the shifting sound.

You can use a 8 Ohm speaker directly attached to the sound chip. This is also a very low cost solution.

Did you also evaluate this concept?

Hello, i didn't think this. But maybe it works. I'm learning arduino yet, i don't understand very much. Thank you for your reply!

Hi, have you done any progress ? I am also there by using the SD play library but still someproblems with PWM reading..

I’m also trying to develop a similar module; Been successful so far using the above mentioned technique;

  SDCard Play Engine sounds;
  Andre Zanelatto
 Example based FROM:  Stereo doorbell example, created 23 Jan 2013 by Lutz Lisseck
 Need SD card properly connected with files idle.wav, start.wav, rev_700.wav and stop.wav in root folder.
 Connect button between pin 3 and GND. (Start/stop)
 Connect button between pin 2 and GND. (Reverse)
 Audio out on 9/10 @ Normal-Arduinos, pin 44/45 @ Mega-Arduinos 
#include <SimpleSDAudio.h>
#define BUTTON  3
#define rBUTTON  2

boolean engine_on = false;

void setup()
  // SdPlay.setSDCSPin(10); // Enable if your SD card CS-Pin is not at Pin 4... 

void loop(void) {
  // Wait until button is pressed 
if (!engine_on) {
  while((digitalRead(BUTTON) == LOW) && (digitalRead(rBUTTON) == HIGH)) {
  engine_on = true;
 else if ((digitalRead(BUTTON) == HIGH) && (digitalRead(rBUTTON) == HIGH) && (engine_on)) { 
       while((!SdPlay.isStopped()) && (digitalRead(BUTTON) == HIGH) && (digitalRead(rBUTTON) == HIGH))  {
 else if ((digitalRead(BUTTON) == LOW) && (digitalRead(rBUTTON) == HIGH) && (engine_on)) {
      engine_on = false;;
       while(!SdPlay.isStopped()) {
  else if ((digitalRead(BUTTON) == HIGH) && (digitalRead(rBUTTON) == LOW) && (engine_on)) {
       while((!SdPlay.isStopped()) && (digitalRead(rBUTTON) == LOW)) {

Now i’m probably switching to another library since it shows some advanced features to play multiple files simultaneously and asynchronously which would free up arduino to process other stuff such as lights.

However, i believe i’ve hit a “roadbock” using SDAudio, which is changing the “pitch” for the engine.
I have all the sound files with engine revving at different rpm, but playing each one, just doesn’t seem to have a good effect, i would rather have a smooth sound as engine rpm increases, so changing pitch for a single file, would be better;

Anyone has made progress? Any suggestions?