I have a ton of blank CD/DVDs that are mixed together in spindles. Some of them are obviously easy to tell what is blank and not, but some are hard to tell.
I was wondering if there was a way to build a Raspberry Pi Project where I hook up a USB DVD drive and a monitor (or a 16x2 LCD Screen) and I insert a disc and it says "blank" or "not blank"? I do not need it to tell me what is on the disc, just need to know blank or not blank in a short time.
I am new to programming RPi's (I have basically used it as an emulation station), so I was wondering how to program/do this project?
I have a RPi Zero, 2, and 4.
Related
After having a quick chat with cr2 about the process of linux i was surprised to see that external usb host support on the universal is still unknown (obv it uses usb host internally for phone)
basically i have a dongle which on one end has a mini-usb plug (i.e. goes in phone) and on the other end has a usb a receptacle.. i got it with a development kit for an AVR micro-controller that has onboard usb client/host... plugging in the cable switches its mode.
now from what i understand of the pxa270 dev manual
http://www.balloonboard.org/hardware/300/ds/PXA270-dev-manual.pdf
(section 20.4) is that the chip has 3 onboard host ports. the first is dedicated (which i assume is the one used for the phone) the other 2 are shared by usb client mode and must be configured to use host mode. there also is usb-otg supported on chip which may be how things are set up.
to me this suggests that physically the external usb port we have access to can be set to host mode via setting registers (or some software based setup) however i have not looked properly at the pin layout (and electronics is only a hobby) so if someone could try and decipher from this doc
http://pdf1.alldatasheet.net/datasheet-pdf/view/82521/INTEL/PXA270/datasheet.pdf
to progress we need to see whether this is the case or whether there is a physical aspect to setting host mode (if there is then seeing if it wired up)
then we need someone with a bit of low level coding skills (prob linux based coding route) to do any initialisation then on to testing.
as i said i have a dongle but i'm not willing to risk my exec (poor student y'see) until i know a few bits... i have no intention of frying my phone due to test usb device drawing to much power from phone and melting something (i am not sure how the usb spec handles it...i know pc's shut the port down if it draws too much power but a pda i'm not so sure... especially if it isn't expecting it!)
what are other peoples thoughts on all this can anyone investigate anything or verify any of my thoughts etc
i'd like to settle the mystery which ever way it turns out...usb host mode under linux would sure be shiny
it would also be interesting to see whether the 3rd port is connected up
also see section 12 of the first pdf it covers more in depth the details regarding usb
What is this guide about?
To play PS2 and PS3 games on your SGS3 and other mobile devices. It will show you what is required to do this and how to set it all up. Its very simple to do but I do expect you to know how to install programs on a computer, plug cables in and change settings in your PS3. This method does not use any illegal software or emulators.
Notes:
I found out how to do this by accident. I was looking around for ways to record my gameplay using a video capture device. The options were expensive but thankfully there is a cheap and easy option. Its called EzCAP 116 USB 2.0 Video Capture. It only costs £19.99 and comes from the UK. For USA its $31.95. HD video capture devices are alot more expensive but it is not needed for what we are using it for.
So here are the requirements that you need to play PS2/PS3 games on a SGS3.
1. PS2 or PS3 with wireless controller
2. Windows laptop or computer
3. Wifi N Router (computer must be connected with LAN cable)
4. Ezcap 116 USB 2.0 Video Capture
5. Playstation analogue cable (S-Video or RCA)
6. Video capture software (comes with the EzCAP)
7. Splashtop remote desktop (Currently half price)
This should be relatively inexpensive if you have most of the items above already. I only needed to buy the Ezcap and Splashtop app. Total spend is £23.
Ok lets start.
The first thing to do is download and install the Splashtop remote desktop app on your mobile and the Splashtop streamer on your computer.
The next thing to do is install the Ezcap drivers and video capture software supplied on the disc and plug the Ezcap in to your computer. Then plug in the playstation cable into your PS2/PS3 and Ezcap.
Now turn your PS2/PS3 on. Turn your TV on also if you've got a PS3. Now on your computer run the video capture software which is Arcsoft Showbiz and press Capture on the top left. The capture module will open in a new window.
Set the Video Input to S-Video or Composite for the cable you used. The Audio device to Line (USB EMP Audio Device). Then Press Device Settings and set your video standard to PAL_I for UK, NTSC_433 for USA and press OK. If you can see a blank square grey screen in the capture module then your Ezcap is working correctly. If not then unplug and plug the Ezcap back in and press refresh.
(Skip the next part if your using a PS2)
PS3 Setup:
If your doing this with a PS3 and your using a HDTV then you need to change the display settings to output video and sound through the AV MULTI/SCART before you will see the picture show on your computer. The PS3 display settings to set are RGB, Standard and 4:3. For audio set it to AV MULTI.
As soon as you set the video output setting to AV MULTI/SCART then RGB, you should now see your PS3 display on your computer through the capture module. Press X to accept setting. Continue the display settings as above.
PS2 Setup:
It already outputs analogue video so nothing to set. Just turn it on and the PS2 will display in the capture module on your computer.
Now that you have your PS2/PS3 displaying on your computer. The fun now begins.
Start Splashtop on your mobile and your computer should be shown. Make sure the resolution is set to 1280x720 in the settings. Now select your computer to start the stream. Your computer's display should be mirrored on your mobile. Double tap on the capture module's video window to go to full screen. Put a game disc in and start the fun.
The Splashtop app allows you pinch zoom, so you can zoom in to fill out the S3's screen if you want.
The Sixaxis Dualshock 3 has a good range so you don't have to be near the PS3 or in the same room. Thats the beauty of this method. Freedom to play anywhere in your house. You will need to be within good range of your wifi router though. As for the PS2, you can get RF wireless controllers. I've used one, one floor below where my PS2 is and it works fine with no lag.
So thats it. You basically have a portable PS2 or PS3 with this method. What this really needs though is a Gameklip to mount your mobile onto the controller to make it even more portable and convenient. It should give you the portable console experience. Check it out on here. http://forum.xda-developers.com/showthread.php?t=1760595
This guide can apply to any tablets or mobiles that splashtop supports.
Screenshots to be added
reserved
Does anyone know if its possible to mirror the display of my android device to my touchscreen PC?
I can mirror my phone to my HDMI TV, so if I have HDMI input can I mirror my phone to my touchscreen windows 8 tablet and control it? I have Surface RT, so I am really doubting it, but I would like to know if anyone even knows if this is possible in any version of Windows. What would kick ass, is if you could take a rooted device, plug it in, force tablet mode, and control your phone, and all applications with your tablet. Instead of using Bluestacks emulation, you would think you could just plug your phone in and use it. I assume it would either need to be via USB, or Micro HDMI
also, is it possible to use my Surface RT as an external monitor for my PC? I know I can use an external monitor for my surface, but can you do it the other way around?
Thanks
No, it is not possible.
Root the android device, install a VNC server, and use a VNC client on the desktop to see the Android's output.
Just to note, it won't properly forward touchscreen events for multitouch and the like.
I am soon to take receipt of my first Raspberry Pi 3 board and a camera module, I'm quite enthusiastic about this. However, rather than just have a live stream I would like to be able to store the video and believe that making use of the included USB ports with a thumb drive would be the cleanest option.
However, there are four ports and I would like to know how, if possible, to rotate between them if each one were occupied by a separate thumb drive, as and when they filled to capacity, then overwriting on a loop?
Using MotionEyeOS it is possible to default the save location to USB and have data overwritten to avoid overfilling capacity.
Has anyone ever managed to get an external dvd drive working on an Android Yoga Book? I would have thought hooking it up with an OTG connector and a Y cable also going into a power bank to give the drive some juice would work. Would be great to hear if anyone has got it to work.
Risico said:
Has anyone ever managed to get an external dvd drive working on an Android Yoga Book? I would have thought hooking it up with an OTG connector and a Y cable also going into a power bank to give the drive some juice would work. Would be great to hear if anyone has got it to work.
Click to expand...
Click to collapse
I was try. DVD drive was recognized but cd accelerated and stops, accelerated and stops... I think energy is too low...
Android Verizon works (With Drawbacks) Windows Verizon should work with a powered hub
Risico said:
Has anyone ever managed to get an external dvd drive working on an Android Yoga Book? I would have thought hooking it up with an OTG connector and a Y cable also going into a power bank to give the drive some juice would work. Would be great to hear if anyone has got it to work.
Click to expand...
Click to collapse
Yes, for the android version most portable DVD drives that have AV mode will work.
however, there are some serious drawbacks.
1. you need a powered OTG hub as every drive I've tried, even the low powered portable ones need too much power, it often looks like its working but will have issues spinning or turn off randomly. there may be lower powered ones now but I havent found one with low enough draw not to need a powered hub.
2. its not great for movies. it only works with DVDs that are not encrypted (a lot of low budget or independent DVDs are unencrypted) or data discs with your own video files on them. (if you try to play an encrypted video it will either error out or will play the video but it will look scrambled and will blank out a lot.)
3. even if you do find an unencrypted DVD its not really straightforward to play. without a proper DVD software for android you need an app that at least will play the DVD files (MX player worked for me, I suspect VLC would work as well) the DVD basically opens like a data disk with a bunch of oddly named files, you just have to dig through and find the largest file and that's usually the main video.
as far as I can find there do not seem to be any video players for android that can decrypt a DVD (regular DVD players have built in decryption and PCs use software so its not something you generally think about until it doesn't work)
all this being said, for anyone with the windows version ignore everything above and you will probably be ok with a powered USB hub and some DVD software.
**Edit, I cant change the title now but I typed Verizon instead of Version by mistake. Sorry about that***