Creating a road condition collection project

Hi all,

Im looking at creating a project that collects information about the roads a vehicle drives on.

As a V1, i thought id use the following components.

  • Arduino Uno R3 (1)
  • Base Shield V2.1 (1)
  • GPS sensor - Grove AIR530Z (1)
  • Grove - 3-Axis Digital Accelerometer(±16g) (2)

But it turns out I cannot use two of the same accelerometers on the Arduino Uno I have. I hoping someone can suggest the correct configuration of compents to accomplish this!

Also, I'll need a place to store the captured data as well. Im thinking maybe an SD card? But im not 100% familiar with how to accomplish this part. Guidance here would be appreciated as well.

Much appreciated.

Whats the difference between this and the base shield? Genuinely asking.

To learn about things like SD cards, look at the sample sketches that come with the library. Consider switching to a NANO for production, the UNO is larger since it is meant as a prototyping board.

This will allow you to connect up to 8 I2C devices with the SAME address to the Uno.
The wiki explains how to use it

If you look at the raw chip being used, I believe there are two I2C addresses available; it might be worth looking for modules that enable you to utilize both addresses. Simpler than I2C muxing, for sure.

Can you explain this a little more? I am still very new to working with Arduino and its components.
Thanks!

Unlike the Grove product, other manufacturers of modules, for example Adafruit, have provided access to the SDO pin on the chip itself. Reading the datasheet for the sensor, that pin allows an alternate I2C address. That would permit you to have two such modules on the same I2C bus.
The Adafruit sensor:

I cannot tell you this is a solution for sure, as I do not use the product, but it would seem reasonable to me.
I also cannot tell you that there is a library that would support either address, but I would sort of expect that, since Adafruit sells the board.

Do you have a soldering iron and do you know how to solder?

I do not have a soldering iron, but I could pick on up. I have soldered in the past (10+ years ago) but im sure its something I could pick back up.

I ask because the grove system is basically plug and play, no soldering required but you are limited to grove modules only. If you want to use something like @camsysca shows then you will have to do some soldering.
Also many non-grove sensors are like that. you need to solder on wires or header pins.

Is there a way to DM you to continue this convo off line?

No. I only do Arduio help through the online forum.
Beside, there may be other with better solutions.

Is there a solution that does not require soldering (if its the only way forward, so be it) and is plug and play?

Im not opposed to purchasing a different board if that opens up a potential solution.

Also, and please forgive me limited knowledge/experience here, will the final (V1) solution require the use of a breadboard to connect all the components (2 accelerometers, GPS and SD card module) to the Arduino?

When I said plug and play I only meant hardware, you still have to write the software.

I see that Seeed has an SD shield but I can't find it in stock anywhere. So you would have to connect an SD card module to the grove shield with jumper wires.

will the final (V1) solution require the use of a breadboard to connect all the components (2 accelerometers, GPS and SD card module) to the Arduino?

I don't recommend using a breadboard if you want to use this in a vehicle, to may thing can come loose. Soldering everything on a protoboard would be best.

Im fine with writing the software (my cpp experience is stronger than my electronic engineering).

Do you have any recommendations on protoboards?

These are just like the solderless breadboards except you solder the parts on. So if you build everything on a solderless breadboard for testing, then all you need is to copy the design exactly as is to the soldered version.

You should maybe spend some time on the Adafruit and Sparkfun websites to check out what's available for hobby projects.

My GPS component doesnt have an exposed SDO pin as well. Will that affect me in anyway?

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