Raspberry PiZero Inside A 4.3″ Monitor Enclosure

As I’m due to tow horses for this years show season I thought it would be a good idea to have a camera in the trailer and monitor in the car so I can see how the horse is doing. I looked at off the shelf systems but they were all £100 plus and a lot weren’t wireless and required a constant power supply for the camera in the trailer. So it got me thinking that maybe I could knock something utilising my used pi zero’s. Project brief My idea is to use a pi zero enclosed in a monitor case and connected to it via it’s ‘TV’ pads and all powered via 5v. The camera end will again be a pi zero in some sort of enclosure running off a usb battery bank.

Continue Reading

Raspberry Pi usb power bank ups pass through

I use my Pi B in my car to do timelapse photos powered off a cigarette to usb plug however I found that sometimes the plug would fall out and thus power down the pi. I also had the problem that even if I wanted to stop for 5 minutes which meant turning the engine off again the pi would be powered down. TO overcome this I thought I would look into using a usb power bank as a mini ups and here are the results of my testing.

I tested for both pass-through charging i.e. a power bank which allows to be charged while powering a device AND ‘UPS’ which is a usb bank which supports pass-through charging with the added feature of power to the connected device (pi) being uninteruppted when the mains charger was switched off/on.

Continue Reading

Viewing progress of dd in linux

To view the progress of dd we can use the pv (pipeviewer) program.
apt-get install pv

I saw a usage example on other sites but they didn’t work from me
dd if=test.img | pv | of=/dev/sdx bs=4M This just returned 0B 0:00:00 [ 0B/s] [<=>

This is what worked for me (note the use of dd again after the pv pipe)
dd if=test.img | pv | dd of=/dev/sdx bs=4M

3921920+0 records inMB/s] [ <=> ] 3921920+0 records out 2008023040 bytes (2.0 GB) copied, 234.248 s, 8.6 MB/s 1.87GB 0:03:54 [8.17MB/s] [ <=> ] 0+16458 records in 0+16458 records out 2008023040 bytes (2.0 GB) copied, 283.842 s, 7.1 MB/s

Continue Reading

Xen HP ML115 G5 1 Dell Poweredge R220 0

So I did a xen install on a dell PE R220 and then tried to do a simple Debian install from a cd. In the first instance it took about 10 minutes for the initial Debian splash screen then when it couldn’t connect to an apt mirror it froze, I tried shutting down the vm via XenCenter and it just got stuck and wouldn’t shutdown properly. I tied an external cd drive and had the same problems. After some cursing I dug out one of my trusty ML115 G5’s that was waiting patiently on a shelf. Installed Xen and Debian via CD with no issues at all!.

Continue Reading

Finding CPU temperature on Raspberry Pi

Here are a few ways to find out your cpu temperature on a pi running raspian.

/opt/vc/bin/vcgencmd measure_temp temp=49.8'C

cat /sys/class/thermal/thermal_zone0/temp 49768

cat /sys/devices/virtual/thermal/thermal_zone0/temp 49768

perl -e 'm/(d+)/; $x=$1; s/d+//; printf ("%.1f", ( $x / 1000))' -p /sys/class/thermal/thermal_zone0/temp 49.8

gawk '{print $1/1000,"degrees C"}' /sys/class/thermal/thermal_zone0/temp 49.768 degrees C

Continue Reading

Cineworld Ipswich Subtitles Fail

On the rare occasion I feel like venturing to the cinema (last film I saw was ‘The Fighter’) generally subtitled showings are at some ridiculous hour of the night. Today I thought I would see what is on, the entire choice was Inside Out Rated U Paper Towns Rated 12A Pixels Rated 12A I looked at other Cineworld venues and although marginally better choice single showings were only available on weekdays during the afternoon. So from what I can work out Cineworld have done some sort of profiling at come to the conclusion that deaf people are either nocturnal and only venture out after 10pm and don’t have jobs and that we are all aged under 12 OR we can only handle children’s films and that we require adult supervision. I’ve looked into this and apparently subtitles at the cinema can be switched on and off just like you would with a DVD so why are we treated as outcasts?

Continue Reading
1 3 4 5 6 7 40