barcode scanner and sd_card module interface SPI communication

Is there a way to take text input from a barcode scanner process it with the Arduino and then save it to a text file on a SD card and display it one line per scan in a txt file in the SD card. I want to be able to scan text with the barcode scanner so I can then later put the sd card in a card reader and read the scans line by line. I am using Arduino MEGA with USB HOST. As both the devices SD card and Barcode snanner work on SPI communication, is there a way to communicate both devices together.

Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.,148850.0.html.

Have you googled arduino spi multi slave

Tom... :slight_smile: