Paid Coding Project for Arduino Rev 3

Hi All,

I am curious how much one would charge to create a (fill I. Programming language here) code for a contraption I’d like to use. Forgive me if this is hard to understand. I am new to programming.

Using an arudino(model you suggest) the program should:
Record user audio through a microphone attached to the arduino. That audio should be stored in a micro sd chip attached to the arduino. The recording should take place only when a button(also connected) is held down. Once the button is released, recording stops. The arduino will have a sound sensor connected to it. When that sound sensor reads a certain level(dB or whatever) brought in by ambient noise, it will trigger the arduino to play the previously recorded audio once through an active speaker connected to the arduino. The playback being triggered by a certain sound level is key. Then, it would reset itself to wait for another sound to trigger the sensor and play the audio. Now, I am not too knowledgeable in this area, but my guess is you would want the sensor mic turned off while you are recording(so it doesn’t trigger itself? Would that be an issue?)

Would anyone be interested in giving me a bid for such a project? Ideally a guide on which connections go where would be great too, but beggars can’t be choosers.

Thank you kindly,
Jerry

I think that recording sound and playing it back is an absolutely impossible task for Uno

1 Like

Save some money. You can do this.
https://learn.adafruit.com/adafruit-vs1053-mp3-aac-ogg-midi-wav-play-and-record-codec-tutorial/ogg-recorder

1 Like

Now I'm a bit confused here. Arduino isn't Python. Is there more to this device than described? What role does Python play in your use case?

With due respect, it was meant to be funny’. I am no moron. I realize now my sense of humor doesn’t translate over text and Edited the phrase. Why is it a non-starter with the hardware? I am not limited to only what I have currently.

Wow thank you kindly for taking the time to search for that and send me the link. I will certainly look into this.

1 Like

Thanks for the reply! Understood. Do you have a suggestion on what I should purchase?

I thought that was the programming language one would use. Apologies. I am a fish out of water in this space.

No problem at all. Remember, Arduino was designed so the inexperienced could create all sorts of things. Chances are, there's already plenty of examples you can work through and see for yourself. You've got this.
Tips:

Use Serial.println(F("what you think should happen here message")); throughout your sketches. Remove them at the end once everything is working well, or don't if they aren't in the way.

Code small, succeed big. Don't try to code it all in one go. Get each component working by itself, then once everything is working, try to mesh it all together.

Add this to the setup of every working sketch: Serial.println(F("some sketch name and version"));. You will forget. This helps that. Also, the double bracket with the F is preferred, it calls the F macro (whatever that is) but it saves RAM, which you don't get a lot of. Always Serial.print using this format.

Your Arduino is not a power supply. Yes, it has 5V and 3.3V outs, but only use them for select components such as input sensors (an electret mic is ok) or a couple of LEDs.

A pushbutton is a type of input sensor. You mentioned one, so make life easier and in setup,
use pinMode(recButton, INPUT_PULLUP); It allows you to take advantage of a feature of Arduino, which saves adding your own resistors to pushbuttons. NOTE: your logic will be reversed. So pushing the NO (normally open) button will be LOW, it will be HIGH when you aren't pressing it. Don't forget the debouncing.

Stick to one voltage for all the devices if you can, likely 5V. Select a good power supply. Here's the catch: Arduino should have 7V-12V (Uno) coming in, so you will need buck converters to bring the voltage down to 5V. These are very effective and easy to work with.

Wall adapters are easier than batteries. Voltages must match, current from the wall adapter should be well higher than you will need. So a 9V 2A AC-DC wall adapter will supply 9V and can source 2A of current. If your devices only need 100mA of current, no worries, current is drawn by the device. Voltage is not. Supply too high a voltage and you'll let out the magic blue smoke.

Good luck.

1 Like

I appreciate you taking time to make a meaningful and informative response. You have been more than helpful. I am going to give it a go!

1 Like

The Raspberry Pi Pico can be programmed with Arduino. It has Pulse With Modulation at a high frequency which can be used for audio. It's a fraction of the price of an Uno R3 and many times more powerful.

There is a library for sound see: PWM Audio Library — Arduino-Pico 3.6.0 documentation

There are several expansion boards that make life easier such as Raspberry Pi Pico Expansion Plus S1

I have had trouble programming the pico with MacOS, but it works fine developing with Windows.

You could ask for bids to develop a sketch that works on the Pico. After that, it would another task to develop a convenient container for the project. Send me a PM if you are interested in this approach.

One last thing: If you run into a snag and come back here, be sure you've read this most excellent guide. It's sort of "expected" in order to get the best help from the real gurus (not me) in the forum.
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/681308

I would do it for you with an Espressif ESP32, which is a little 32 bit dual core little piece of interesting hardware. with integrated SD card slot, wifi and plenty of I/Os. you could control it from a web page for example. It would be capable of easily do what you ask. You don't need a Raspberry Pi, which is way overkill for no reason. I would be coding using FreeRTOS which is an open source, free real time operating system that takes very little space and would be great for your project. It's gonna be expensive though, I'm charging 60 Swiss Franc an hour. We can do Zoom, Microsoft Teams or What's App, whichever you prefer. Cheers!!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.