This week, I worked on collecting acoustic data for training the ML model. I worked on a handheld circuit for collecting data without the need for the robot. I first attempted working on integrating an ADS1220 and an Arduino Nano to collect the voltage from the ultrasonic sensor. I attempted debugging this circuit and Arduino code for 3 days, but the DRDY pin was always stuck at 0. I think the library I was using, Protocentral_ADS1220, might not have been sufficient for the purposes I needed. The ADS1220 was required for the robot’s data collection system anyways, so I pivoted to integrating an ADS1256 and an Arduino Nano to collect the voltage from the ultrasonic sensor. I was successful at this endeavor, and began collecting data to push through the MATLAB processing pipeline so I can train the model on the data. The data seems to be in the correct voltage range (100 mV to -100 mV) and frequency range (100 to 50 Hz) as it matches the waveform I acquired last week when I was characterizing the sensor in the duct environment. Pictures of both circuits, the ADS1220 and ADS1256 integrations with the Arduino Nano, are included in the data collection file linked below and all Arduino code was pushed into the GitHub repository linked below.
My work for this week can be found at these links:
Code: https://github.com/aphadke234/ece_capstone_C7
Data Collection: https://docs.google.com/spreadsheets/d/1n9EZVZOw4e8DMoP9_O2lPJV9oe4U9V2cjh6RSExgdro/edit?gid=0#gid=0
