![]() ![]() This command will set up a stream on port 8081 using the video0 source. mjpg_streamer -i "./input_uvc.so -y /dev/video0" -o "./output_http.so -w. cd /where you installed mjpg-streamer/mjpg-streamer. ![]() Start streaming video by entering the following command into the terminal. Once you have mjpg-streamer installed properly. ISHOW LASER SOFTWARE FOR RASPBERRY PI HOW TOHere is a great tutorial about how to do just that. In order to stream the video we need to get the utility mjpg-streamer. Now you can mount the socket joint to any surface and snap the laser in. Glue one piece of the ball joint to the laser pointer using super glue. ![]() I have found that most lego bionicle kits are an excellent source for cheap ball in socket joints. The final step is to make a directional mounting post for the laser so it can be easily adjusted to aim at the laser receptacle. The orange wire is replacing the momentary push button When you have created the proper circuit, you have found the solder point, and the laser will light up. To find the last solder point you can use a 5v power supply and probe the circuit with two test leads. You can use the battery orientation as a hint for the positive or negative lead. If you are not, you may need to find the solder points yourself. If you are using the same laser from the parts list you can use the picture below to see the solder points. Now solder the positive and negative leads to the laser. Now when power is supplied to the laser it will turn on automatically. Solder a piece of wire between the terminals where the button was. Next, desolder the battery connection spring and momentary push button from the laser. When doing so, note the orientation of the battery terminals with respect to the laser emitter. In the following steps you will build the laser pointer assembly. See this tutorial to get set up to use it. It is a must have for anyone raised on windows. Using MobaXterm to control the raspberry pi and manipulate files through ssh.Voltage meter or oscilloscope if you have it.For every webcam you wish to use you will need one port. Also this is software that everybody should have. This is nice if you are like me and are more comfortable on a different computer. In case you are not familiar, this software will allow you to control the raspberry pi's mouse and keyboard with another computer. Installing synergy on the raspberry pi.Throughout the course of this project I found the following optional tools to be handy: I will attach the kicad files for the circuit board but will not go over the manufacturing of the board in this instructable. One photodiode (match this to your laser wavelength) PN : PDB-C142-ND.I tested it with a 1M resistor and it worked fine. One 200k resistor Really any large resistor will do.Multiply by the amount of trip wires you want. Some sort of breakout kit for the raspberry pi so you can have easy access to the pins on the processor.I found that the usb cable that came with the webcam was too short for my application so I found an extension on monoprice. This webcam has an adjustable foot that lets you position the camera nicely. So make sure that its label identifies its wavelength. Whichever laser you get will determine some of the other components in the build. The label says 630-680 nm for the wavelength. If you want the exact laser you can find it here. I found mine next to the cash register at a gas station. Make sure you have a beefy power able to source at least 2 amps. I spent a lot of time diagnosing a crappy power supply as my source of trouble during my first build. We will be drawing a significant amount of amperage once all this is hooked up. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |