I am working with an Arduino Nano V3 to try to accomplish the following task: - When change in acceleration is sensed by an accelerometer (currently have MDU-6050 GY 521) read input from ultrasonic range finders (currently have HC-SR04). If range is less than a given value activate a piezo speaker. I would like the project to be able to run for at least 6 months on 2-3 AA batteries or similar capacity power supply.
I have a few questions regarding the feasibility of this project: - Should I ditch the Nano and make an Arduino clone with no voltage regulator to save power? - I assume I will have to put the microcontroller to sleep to meet my power budget, is it possible to use the MDU-6050 low power mode to continuously look for changes in acceleration (1-2 Hz refresh rate) and "wake" the microcontroller when change is detected? (Note: I really don't care what the actual values of the acceleration are, I just want to turn the board on when they change. is there a better accelerometer/motion switch/....? sensor for this application?)
My desired end product is a PCB with a microcontroller and accelerometer integrated on board with pins available to connect up to 3 ultrasonic range finders, but I am still at the very beginning of the project trying to see if this is even feasible given my relatively small power budget.
I'm a mechanical engineer who is competent on the hardware side of things and I took a C++ course in college 6 or so years ago and have been coding in various languages on and off since then. Please let me know if this looks like a doable project for a guy like me. Thanks in advance for your input and suggestions!