camera « VennerCorp Tech Blog
Website Design, Custom Computer Software, Computer and Network Installation & Computer Consultancy - Covering Hampshire, Surrey, Berkshire, GU24, Guildford, Woking, Bracknell, Staines, Sunningdale, Virgina Water & Wokingham

Cookies and your Privacy

0800 978 8326

Request a Quote Today!

Tagged: camera RSS

  • VennerCorp 21:47 on February 12, 2014 Permalink |
    Tags: camera, , , pin out,   

    What are the pin outs on the Raspberry PI?

    Looking at using the inputs or outputs on your raspberry PI? Perhaps to simply turn an LED on or off or perhaps something more complicated like an LCD display. Well you will need to know what each pin it, luckily it is very simple just check out the image and description below.

    Raspberry PI pin outsRaspberry PI Pin outs

    Pin 1 & 2 are located by the edge of the pcb (with pin 2 in the top right) and pins 25 & 26 (with pin 26 in the bottom right) are located by the yellow video connector.

    Revision 1

    Description Pin Pin Description
    3.3V 1 2 5V
    I2CO SDA 3 4 DNC
    12CO SCL 5 6 GND
    GPIO 4 7 8 USART TXD
    DNC 9 10 UART RXD
    GPIO 17 11 12 GPIO 18
    GPIO 21 13 14 DNC
    GPIO 22 15 16 GPIO 23
    DNC 17 18 GPIO 24
    SP 10 MOSI 19 20 DNC
    SP 10 MISO 21 22 GPIO 25
    SP 10 SCLK 23 24 SP10 CEO N
    DNC 25 26 SP10 CE1 N

    Revision 2

    Description Pin Pin Description
    3.3V 1 2 5V
    I2CO SDA 3 4 5V
    12CO SCL 5 6 GND
    GPIO 4 7 8 USART TXD
    GROUND 9 10 UART RXD
    GPIO 17 11 12 GPIO 18
    GPIO 27 13 14 GROUND
    GPIO 22 15 16 GPIO 23
    3.3V 17 18 GPIO 24
    SP 10 MOSI 19 20 GROUND
    SP 10 MISO 21 22 GPIO 25
    SP 10 SCLK 23 24 SP10 CEO N
    GROUND 25 26 SP10 CE1 N

    For more Tutorials and Hints & Tips on the Raspberry PI check out our Raspberry PI Blog Section

    If you would like to Buy a Raspberry PI, its accessories or software check out our –

    If you would like help with your Raspberry PI, computer or laptop then please contact us or visit our IT Support Page.

     
  • VennerCorp 13:09 on January 26, 2014 Permalink |
    Tags: camera, , ,   

    How Do I Install A Camera on to My Raspberry PI?

    Looking at fitting a camera to your raspberry pi? Luckily it is actually quite simple to do. Just follow the Easy and straight forward instructions below to install your camera.

    Installing the cameraRaspberry PI

    Before installing the camera make sure you are not carrying a static charge by wearing a proper anti static bracelet or discharging yourself on a tap or radiator.

    Insert the ribbon cable into the socket located between the Ethernet port and the HDMI socket. Make sure the contacts are facing the HDMI port.

    The ribbon cable socket opens by pulling the tabs on the connector towards the Ethernet port, one you have inserted the cable close the socket and make sure the cable is firmly held in place.

    Update Raspian

    First you will need to update your copy of raspian to the latest version, to make sure all the applicable drivers and software are installed on your pi.

    Start your Pi and open a terminal window, now type the following commands to update your software.

    •  sudo apt-get update
    • sudo apt-get update upgrade

    Enable the Camera.

     Open the PI’s configuration screen by entering the following command;

    •  sudo raspi-config

    Select camera and move the tab to enable

    Click Finish and the restart your PI.

    Using the Pi’s software

    There are 2 applications that will help you use your camera, raspivid and raspistill. raspivid allows you to capture video and raspistill allows you to capture still  pictures.

    Both are command line applications.

    You can view all the extensions for raspivid or raspistill use the following commands;

    •  raspivid | less
    • raspistill | less

    Type “q” to quit.

    Below are some example extensions you can use when calling the applications.

    • Grab a still image.
      • raspistill -o filename.jpg
    • Grab a short 5 second video using the format h264.
      • raspivid -o video.h264
    • Grab a short 20 second video using the format h264.
      • raspivid -o video.h264 -t 20000

    Transmit your Video feed

    Type the following command into the terminal window on your PI.

    • raspivid -t 999999 -o – | nc [IP Address of the receiving device] 5001

    Insert the IP Address of the receiving device in to the area indicated above, get the IP by using the command ipconfig on the receiving device.

     

    Receive your Video feed

    Windows

    You will need 2 programs Mplayer and Netcat, grab them from from the 2 urls below;

    Open up your terminal window by the shortcut in your programs menu or by typing cmd into the run or search boxs

    Now Type in

    • [Path to netcat]\nc.exe -L -p 5001 | [Path to mplayer]\mplayer.exe -fps 31 -cache 1024 –

    Raspberry Pi

    Open up the terminal window on your PI and then type in the following commands;

    • mkfifo buffer
    • nc -p 5001 -l > buffer | /opt/vc/src/hello_pi/hello_video/hello_video.bin buffer

    For more Tutorials and Hints & Tips on the Raspberry PI check out our Raspberry PI Blog Section

    If you would like to Buy a Raspberry PI, its accessories or software check out our –

    If you would like help with your Raspberry PI, computer or laptop then please contact us or visit our IT Support Page.

     

Tailored Technological Solutions

© Copyright 2000-2022 Venner Corp

Coverage Areas

We have customers all over the world, but our onsite work is centred on the south east of the UK, specifically - London, Berkshire, Surrey, Hampshire,Guildford, Camberley, Woking, Windsor, Ascot & Sunningdale.

[Custom Software] [Audio & Video] [Computer & Network Installation] [Web Site Design & Creation]
[Help & Support] [App Warehouse] [Online Shop] [Divisions] [Utilities] [Contact Us] [Accessibility] [Privacy] [Sitemap] [Links]

Hampshire ● Surrey ● Berkshire ● GU24 ● Guildford ● Woking ● Staines