Monday 24 February 2014

Write .IMG to SD Card Using Mac OSX

How To Write an .IMG file to SD Card Using MAC OSX.


 Well recently my work bought me a lovely mac book pro for working with.

Now i have 4 Raspberry PI's and an Odroid U3 and have stopped using my pc and my laptop i would normally use.

I've been googling for a about 3 hours today trying to find a nice GUI to write the damm .img file to my SD CARD.


Bingo!

Apple Pi Baker - Is a utility that will restore and back up images for you and also allow you to create a SD card for N00bs!




it can be found from the link below


Enjoy!

Friday 14 February 2014

Time Lapse

Creating time lapse videos using the Raspberry Pi and camera is incredibly easy, and you can create some really cool looking videos at the end of it. To make a time lapse video, you will need a Pi and a camera module.
  1.  Set up your Raspberry Pi in the desired place.
  2. Test the positioning of the camera by taking a still photo (find out how to do this here)
  3. When you are happy, enter this code in the command line (LXTerminal): raspistill -o ****_%04d.jpg -tl 60000 -t 7200000
  4. This command will take a photo every 60 seconds (60000 milliseconds) for 2 hours (7200000 milliseconds) You can change this to whatever you like. The stars can be replaced by the image name of your choice.
  5. The bit of code that looks like this: %04d.jpg is telling the pi to name each photo with an increasing 4 digit number. Again, the .jpg means that the photos will be saved in .jpg format. 
  6. Press enter, and leave the pi to do its business for the amount of time you specified. 
  7. When the Pi has finished, you will find loads of pictures in your home directory. 
 Note: Make sure that you don't move the Pi at all during the stills being captured, this will result in a poor quality end product. 
 To create your video on your Pi:
  1. Type the following into the command line: sudo apt-get -y install libav-tools
  2. Press enter
  3. Then, type this and press enter. avconv -r 10 -1 *****_%04d.jpg -r 10 -vcodec libx264 -crf 20 -g 15 ------.mp4
  4. Replace the stars with the name that your images were called, and the dashes with the name you wish your video to be called.
  5. When this has finished, you can view your video in omxplayer, as demonstrated here.
taken from http://www.raspberrypitutorials.yolasite.com/time-lapse-videos.php

How to Print Via the raspberry Pi

you might be wondering how to print to a printer connected to the same network that your Raspberry Pi is connected to.This is how you can:
  1. In LXTerminal, type sudo apt-get install cups.
  2. When prompted, type then press enter.
  3. Then, still in LXTerminal, type sudo usermod -a -G lpadmin pi.
  4. Open Midori, then type the following into the URL Bar at the top of the screen.  http://127.0.0.1:631
  5. Save this website to your favourites for future reference. 
  6. From the main screen, choose the 'Administration' tab.
  7. Select 'Add Printer'
  8. Enter your normal Pi username and password.
  9. Select your printer from the list. Click 'continue'.
  10. Edit the settings if you wish (if you only have one printer, you can leave these be.)
  11. Click on 'continue'.
  12. Choose the model that is the closest mach to your printer from the list (it doesn't matter whether it is a bit different.)
  13. Click on 'add printer'.
  14. Choose the different options to suit your printer.
  15. Click on 'set default options'
  16. Choose the 'Printers' tab. You can request a print test if you wish.

The printer will now appear in any applications that provide printing facilities.

A couple of tips:

  • Be patient - Sometimes printing can take a long time.
  • Avoid running other applications on your Raspberry Pi while printing is in progress.
taken from http://www.raspberrypitutorials.yolasite.com/printing.php



Amazon

Donate

Donate Towards More Raspberry PI's for Projects