RexRoper wrote: I want to 'lower the jpeg-quality and size of the preview if needed', as you suggested, on my WiFi unit to see if I can get better success with the WiFi setup. I have opened /etc/rc.local but I do not understand how to adjust the jpg quality and preview size within this file.
The preview size, quality and framerate are not set from /etc/rc.local, they are controlled from /etc/raspimjpeg
Code: Select all
# Preview Options
# fps_preview = video_fps (below) / divider
I would like to update you on my progress with this excellent application. I have switched from WiFi to hard-wired Ethernet. with great results. Essentially, I have been running two RPis with cameras, one in a dummy camera housing and one in a PiCE case which needs a better solution for power when used outdoors. Both have been running since my last post (early October 2014) and have not experiences any loss of video images or power interruptions.
I have solved the power problem by creating my own power-over-Ethernet by modifying the small USB phone chargers that plugs into the automobile cigarette lighter port. I prefer to use the type that have two small Philips-head screws on the USB connector end so they can be easily reassembled. The modifications include removing the positive tip and the negative side springy thingies and then soldering on a Radio Shack size M DCV Power Plug part #274-1569. I use short leads to get just the right fit. A good solid lead on the positive connection provides a bit of rigidness for stability. The hole in the crown that screws on at the positive tip end needs to be increased just slightly in order to allow the DC plug to extend out where the positive tip was. A bit of the internal plastic housing should also be removed in order accommodate a negative lead from the DC plug to the diode on the tiny circuit board found inside the adapter. At this point, the USB adapter can be reassembled without the original positive and negative contact points.
The next step is building the Ethernet cable. First, measure out the length of Ethernet cable needed to reach from your switch/router to the location where the RPi/camera will be located. Remember to allow extra cable for slack. I use the standard crimp type clear Ethernet connectors found in the electrical section of most hardware stores. I use wire #5 and wire #8 for dcv+ and dcv-, respectively. I solder these two wires to a size M Power Jack also available at Radio Shack (I forget the part number, but it is the larger of the two they have available). There is one of these power jacks on each end of the Ethernet cable. The remaining wires in the Ethernet cable are crimped into the Ethernet connectors in their proper positions on both ends of the cable.
Now that the hard part is over all you need is a power supply with a power plug to fit your modified Ethernet cable's power jack on the switch/router end. I use an old Toshiba laptop power supply that provides an output of 15VDC @ 4-AMP. The USB automobile charger allows a range of 12VDC to 24VDC and will regulate to 1 AMP. I am getting 5.25VDC output from the modified USB adapter and this adapter fits inside the rubber boot on the back of the PiCE case! I am now powering my RPi experiments at a distance of over 100+ feet / 33+ meters from my switch/router using power-over-Ethernet!
I hope others find this information useful.
Best regards to all.