building a pothole detector
Im very new to the world of electronics looking to build a pothole detector as a side/intro project to this world and I think I more/less have all the components I need.
- Arduino UNO R3 (1).
- ADXL345 3-Axis Digital Accelerometer (2).
- Grove - GPS (Air530),GPS location, Long-distance communication (1).
I think this will work as long as I output the reading to the serial monitor while it's in use (eventually id like to add an SD card to write the data to).
My question(s) are:
- Do the accelerometers & GPS have to be wired together or do they all receive their own connection to power? The reason I ask is I dont know if the below scenarios call for different wiring configurations so all the required information is collected at the point of impact.
- Few scenarios.
- Left tire could hit a pothole and trigger a detection.
- right tire could hit a pothole and trigger a detection.
- both tires could hit a pothole and trigger a detection.
- Im assuming the distance the accelerometers are placed away from the arduino will have an affect on the voltage getting to them through the natural resistance of the wire. Lets assume each accelerometer will be at more 15' away from the Arduino.
- How much of an effect will that have on the power being supplied to them?
- Can/Should I account for this with a capacitor to store the required energy for the accelerometer? Does the capacitor get connected at the accelerometer side of the wires? or the breadboard side of the wires?
Thanks any/all of your for any information/guidance you may provide.