Hi there to those whoever can read this. I'm currently working on a Ultrasonic Distance Sensor with the distance information displayed on a LCD Screen in Tinkercad. In my first try, I successfully made the LCD screen display information but on the second, it doesn't despite the two being exact copies of each other.
Working Device: My first try.
Not Working Device: Second attempt
The reason I want to successfully replicate my device is for a Robotics video school project. Is the physical components that I made a mistake in or is it due to code? Thanks.
Related
Id like to have the ability to delay the video from my webcam on. my own computer. Honestly I am using. it. as a "delayed mirror" for my golf swing. I have always recorded, then stopped, opened up the file and watched then did it again. Doing this 30 times in a session working on my swing is annoying. Id like to just take a webcam, be able to delay the video 5,8,10 seconds so I can watch and just keep moving. what is the easiest way around this. I have been told I could do this with a script but not sure where to start. Can anyone help me or send me in the right direction? Im on a Mac but also have a PC if needed.
Python + OpenCV.
First manage to show a current image from your webcam using tutorials.
Then instead of immediately showing the image you add it at the end of a buffer object, this could be a collections.deque from standard Python.
If you want to delay for say 5 seconds and you're capturing with 30 frames per second, then don't show anything until you add 5*30 images from your camera to the buffer. Now when you filled the buffer as soon as you get another image, you add it to the end of the buffer, but also remove 1 image from the beginning of the buffer and show it.
I am running windows 8(64) and am using Arduino Uno for the first time. I downloaded the IDE and plugged in my arduino. I'm using a IMU 6050 Accelerometer Gyroscope Breakout Board and am using the first MPU6050 DMP6 example program to test it out. I open up the serial monitor and instead of displaying the text like it should, it only displays a line of weird symbols(cross,box, y with a dot over it, Germanic alphabet letters) and then nothing else. I am brand new to ardruino and can't figure out what to do. I checked the Uno driver and everything is fine. All the arduino files are downloaded, I have downloaded both the MPU library as well as the I2C library. The Uno is blinking, the data is coming through (I think) for some reason its just not displaying right. I have been searching all over the web for days now and I can't find anyone with the same problem.
It sounds like a baud rate mismatch issue. Try to change the baud rate from the drop-down and make sure that it matches the rate passed to Serial.begin in your sketch.
I've been playing with a generic usb camera to take snapshots every few seconds. With the help of this SO question, I was able to get the camera working; however, when you click the button to connect to the camera, a dialog box appears.
The difference between the other question and my question is that I have two video sources: a built in webcam and a usb camera. I also intend to have multiple cameras connected, all taking pictures. It appears that when you have multiple devices, you always get the dialog box where you have to choose the device. I'm trying to automatically choose the camera (and eventually cameras, plural) without this dialog box.
There are other pieces of sample code that I have played with - samples that have a device listbox that is populated; I thought this was what I needed (and I'd just remove the listbox control and process the list and what to connect to in code), but every one of these samples populates the listbox with "Microsoft WDM Image Capture (Win32)" instead of the devices listed in the dialog after attempting to connect to this "device."
Surely there's a way to automate the webcam(s) I'm connecting to instead of having to choose it from a dropdown in a Windows dialog, right? How would I go about doing this?
The solution ultimately was to use EMGU to access the camera; this also allows for connecting to multiple cameras at the same time.
I've been trying to write a simple app that resets display resolution for an iMac and a connected projector to 1024x768, 85 Hz and 32bit color.
When the projector is directly connected to the mac with VGA or HDMI, the CGDisplayCopyAllDisplayModes() function gives a list of modes which includes the settings I want to apply. But my college uses Extron VGA wall box thing to connect VGA wires to projectors, which leads to CGDisplayCopyAllDisplayModes() giving a much smaller (only 800x600 and 640X480) list of modes. Also, the name of the display when using the wall box is just VGA Display as opposed to Np-511 or whatever the name of the projector is. The weird thing is that System Preferences->Display shows a 1024x768 setting even then and lets me apply it too.
Is there any way to either get a larger list of modes for the projector, create a 1024x768 mode from scratch and apply it (I've already confirmed that the projector supports it) or simply make System preferences choose that mode for me? I've already written an applescript to do the latter but the disply preferences changes according to the projector connected so I need a more general solution.
Looking forward to your help! I've added some code I used and can include more of it if it'd help.
CGGetOnlineDisplayList (MAX_DISPLAYS, displays, &numDisplays); // to get list of display ids
// ... now iterating over list of displays
CFArrayRef modeList = CGDisplayCopyAllDisplayModes (displays[i], NULL);
I am developing an educational software solution where I need to clone the screen of one computer on 5 or 6 LCD screens. The screens would be 15-20 feet apart.
Is there any hardware or software that can help me do this? Each screen will just replicate the screen of the computer. I basically need to split and duplicate the video & audio signal.
I need the solution for Windows or Linux (any one) on the computer. The cloned display screens have no software - they are just LCD TVs.
https://encrypted.google.com/search?q=multi+monitor+graphics+cards