Getting an Arduino to read and store data off a DVD with a USB DVD Drive

Hey Everyone!

I'm doing a project right now that requires me to interface a microcontroller to be able to read and write data to a 3D printer. My initial plan right now is using an Arudino Mega 2560 with a USB Host Shield 2.0 to be able to establish the connection between the Arudino and the DVD Drive. Then, have the data be read and stored onto an external memory that will then be pushed to the 3D printer.

I'm limited by not being able to use any microcontrollers that have an operation system or bluetooth and wifi capabilities.

Does this sound feasible?

Any thoughts or a push in a direction is appreciated!

No, not feasible. A Mega2560 cannot serve as a USB host for disk drives.

A Raspberry Pi can do that, though.

2 Likes

Unfortunately, I'm not allowed to use any microcontroller that has an operating system, bluetooth, or wifi capabilities.

Wow! That is quite some task you have been given!

What is your expertise in programming USB host services?

If I recall correctly it did not say "USB DVD drive" but "USB drive" which translates to "USB mass storage" which is to be found in the library examples for "USB shield 2.0". When you go and want somebody else to do your homework please make sure that you get at least the task copied correctly :sunglasses:

Looks like a DVD drive to me. At one time, those did not behave remotely like USB mass storage, but that could have changed.

A client of mine. Can't share the details of why. Just that I need to interface a 3D printer to be able to read off a DVD.

Sorry I'm confused on what you're trying to say. I'm using an external usb DVD drive to read my DVDs.

I'm still a student so it would just a base general ideas!

Sorry Delta_G. I am little confused on what you're asking.

Ahh, so you probably have no idea how difficult this is. Good luck with the project, should you choose to accept it. It will be an excellent, very intensive learning experience!

That is correct! I'm trying to get a feel of the practicalities of the scope of this project.

If you work really hard, you might get there in six months to a year, full time. But not at all, with a Mega2560.

1 Like

Thank you for the insight!

Ah you must not understand how universties are these days but there are classes and project where clients from industries reach out to current students for.

I can assure there is no deception besides a young student trying to gain some insight on embedded systems!

I agree with the time, based on two projects I undertook years ago, BUT!!!!! I had all the necessary test equipment needed to complete the projects. The OP seems to not know what equipment he will need.

Sure. But reread the job description you were given.

I am very confused zwieblum.

Ask for a different project. This one is completely unreasonable for a beginner. You are likely to struggle for several months and give up, with nothing to show for it.

2 Likes

Hi all, so I'm the "client" lol!

The task at hand is to get g-code files off a DVD and onto an Arduino memory module, then use the arduino to emulate an SD card so that a 3D printer can read the g-code files as if it was reading from an SD card. I can handle the physical wiring and circuitry. I just need the team to develop the code. Don't ask why this is even necessary. It's not. The need only exists due to some silly cybersecurity rules and constraints.

To put this debate to rest so that these students can (hopefully) get some good advice; it is absolutely feasible to achieve this using an Arduino. The microcontroller only needs to transfer FAT32 data from a DVD drive, store the data on an onboard memory device as FAT32 data, and then enable a Prusa 3D printer to read that data.

A Prusa 3D printer, which is basically a well ordered mess of stepper motors, is driven by an Einsy RAMBo board, which is an Arduino Mega with some integrated stepper motor drivers. The fact that this product exists is proof that an Arduino can drive a DVD disk reader, which consists of a single stepper motor, a motor to spin the disk, a laser, and an optical sensor. These disk readers can be thought of as very (very) simple 3D printers, for which the students only need to make a driver. There are ample tutorials that show how to build CNC plotters from DVD drives, so we know driving the physical hardware is absolutely possible.

What they need to create is essentially an embedded control system that is purpose-built to read and record high and low signals from a fast spinning reflective disc using a laser, an optical sensor, a stepper motor, and an arduino. They are lucky in that the electro-mechanical assembly they need has already been built for them (with a few extra PCBs they can toss).

I thought you all liked building robots????

I have talked with capstone project students from the same school that have designed and programmed quad-copter flight controllers from scratch, developed custom digital camera drivers for machine learning applications, designed, built and tested fully autonomous robots deployed from drone mother ships, etc... These are not casual hobbyists. They are teams of highly skilled and highly capable engineering students. Furthermore, each project is screened by PhD faculty to ensure that the technical problems are feasible within the curriculum before they are proposed to students.

I don't appreciate a bunch of amateurs tearing down and discouraging a group of students just seeking help. If you have nothing helpful to add, please just move along. They're only students and they are very busy and under a lot of stress.

Team, let's talk more. I'm available to help. I'm confident you can get this done, or at least get far enough for me to finish what you start. Don't be discouraged by the feedback you have received here.