The more I read the more I realize how much I am biting off in one chunk for a first project from the ground up.
The background:
I have a* locomotive that is controlled by an arduino nano speaking to a motor controller and a bunch of other functions. Horn, bell, volt & amp meters, speed sensor, temp sensors… that was set up and programmed by someone else.
I also have a 9DoF Razor IMU M0 (SEN-14001) that I want to use as data collection for this locomotive. So at 1 second intervals I want to record the throttle setting (0 to 5 volt analog signal) the voltage and amperage output from the motors (30 amp hall effect sensors) and the grade and curvature of the track (this is where the IMU comes in.)
My plan is to get a second nano to read the signals from the controller . I figure I can simplify the controller’s program and send that to the IMU to be recorded to the SD card.
The question:
As this is my first project of this sort since fortran 20 years ago. I need to have someone to give me the “LMGTFY” terms so I can learn how to program the IMU to do what I want: 1) record data once a second, 2) take and store external data along with the IMU data. So far everything I have found is basic (plug into USB port) or way over my head. Any suggestions of projects to look at / do to step up the ladder towards my goal?
- There are six locomotives total that use the same exact control system, hence a desire to not modify mine. I may want to move the data recorder to another locomotive.