It's a communication issue

Failing to control a stepper motor with sound


All the steps

Networks and communication

Between boards

Assignment

This week, we need to have boards communicate together

Step 1

My plan was to reuse my input device and my outpul device in a relationship. Towards my final project, I wanted to get the sound to control the stepper motor in a simple way. But this is the first week that I really got stuck in the appropriation of the task. I felt like I lacked the proper programming skills. I browsed the web endlessly and got help from our TA this week, Charles who gave me valuable lessons (see below sketches).



Step 2

I tried with programming from scratch in Arduino, then using Neil's code, then mix and matching, then re-used someone else's code which seemed to be sending some signal, but this one didn't change. But we couldn't figure out what was wrong. Possibly, adding an op-amp could be an option.

Step 3

In this process, I gathered a lot of information on the use of a mic that could be useful:
https://www.sparkfun.com/products/9964
http://forum.arduino.cc/index.php?topic=168723.0
http://www.pjrc.com/teensy/td_libs_SoftwareSerial.html
http://forum.arduino.cc/index.php/topic,2534.0.html#20
http://forum.arduino.cc/index.php/topic,12276.0.html
http://fr.flossmanuals.net/arduino/ch021_application-utilitaire-poster-suridentica (in french)
http://www.instructables.com/id/Arduino-Audio-Input/step3/Non-Inverting-Amplifier/
https://www.inkling.com/read/arduino-cookbook-michael-margolis-2nd/chapter-6/recipe-6-7
http://www.instructables.com/id/Arduino-Frequency-Detection/
http://electronics.stackexchange.com/questions/57824/how-do-i-get-5v-for-loud-noise-0v-for-silence-from-electret-microphone-or-oth
http://sarahlayne.wordpress.com/2009/08/21/values-from-electret-mic/
http://myfablab.wordpress.com/2010/11/28/electret-sound-possibilities/

Think, design, make, fabricate, fail, try, build, draw, sketch, err

Week 1 to week 16

Get in touch!


Email: joelle /at/ superficiel /dot/ org
Website: Superficiel

Find me also on ...