Arduino as mass storage plus Barcode reader

Hey people,
I am in need of some guidance, the project I need to make is as follows:
Arduino with Barcode reader (something like this: https://www.amazon.com/XICOOLEE-Barcode-Scanner-Reader-Interface/dp/B0BC1H3ZR1/ref=sr_1_18?keywords=arduino+barcode+reader&qid=1690536431&sprefix=arduino+barcode+%2Caps%2C207&sr=8-18)
But thing is that this device has to be handheld and I would scan barcodes it would store them in the memmory and after that I would plug the device in PC I could read scanned codes in a text file. There is also one more problem, stored codes should appear as a disc drive ( like E: , F: ,... it should look like when you plug in USB storage key). My program scans additional disc drives for a file something like "scanned_codes" thats why it has to apear as an USB key. I allready have Arduino Leonardo is it even possible to use it or should i buy different arduino? Would also need some tutorial what library to use and code since I am really new to arduino coding and if that module even works with Arduinos.

TLDR: Arduino handheld device that acts as USB storage device with barcode scanning and storing cappabilities.

Thanks for all the info i could get

I don't know about the leonardo, but I know that you can have an ESP-32-S3 appear as a disc drive. Here is an example of a sketch that writes a text file to the ESP32. You can then open this file by plugging the esp32 into the computer. Here is a demo video.

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