Hi everyone, I'm relatively new to Arduino so apologies if my question may seem unusual.
I am in the process of setting up an automated loom resistance tester for a loom that has 66 wires.
It uses relays to sequentially switch between the wires in the loom using a matrix formation and interfaces with an Agilent 34401A DMM (sends commands via software serial and receives via hardware serial) to take the measurements, but that's not important!
I have got to the point now where the setup measures the resistance of each wire in turn and sends the data from the DMM to the serial monitor of my Arduino Mega, it checks a wire every 3 seconds and so the resistance measurements appear in the serial monitor every 3 seconds with the next result, like so:
0.14
0.23
0.22
0.20
0.13
etc etc.
Is there a way I can take this data directly from the Arduino Hardware Rx and send it straight back out of the Hardware Tx? So the data comes in from the DMM and goes straight out via the Tx?
I have a USB FTDI Module (link at bottom) to which I have set the Arduino Tx to the FTDI Rx so in theory, the data should come straight from the DMM to the Arduino and then straight back to the FTDI module where I then want to save it to a notepad, word or Excel file on a USB stick.
I understand this is a mammoth task but could anyone show me some code (as simple as possible please) that could save this data from the serial monitor onto a USB somehow?
Thanks very much in advance, I am pulling my hair out here!
USB FTDI Module I'm using:
https://uk.rs-online.com/web/p/products/0406552/?grossPrice=Y&cm_mmc=UK-PPC-DS3A-_-google-_-3_UK_EN_Interface+Development+Kits_FTDI+Chip_BMM-_-FTDI+Chip+-+Interface+Development+Kits+-+0406552-_-%2Bvdip1&matchtype=b&aud-359121783289:kwd-371955029258&s_kwcid=AL!7457!3!273636743994!b!!g!!%2Bvdip1&gclid=EAIaIQobChMI59_6hYSJ3wIVxksNCh0IXgtrEAAYASAAEgItPfD_BwE&gclsrc=aw.ds
I have also attached my code if it helps