element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog Testing Pi NoIR with IR LEDs
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 24 Jan 2014 9:04 PM Date Created
  • Views 6094 views
  • Likes 3 likes
  • Comments 19 comments
  • rpiintermediate
  • santa_catcher
  • raspberrypi
  • camera
  • raspberry_pi_projects
  • pi_noir
Related
Recommended

Testing Pi NoIR with IR LEDs

fvan
fvan
24 Jan 2014

When I got my Pi NoIR camera, I didn't have any IR LEDs to play with, so instead I used my TV's remote control for testing (Road Test review).

This was enough to demonstrate the functionality of the Pi NoIR, but it wasn't a permanent solution.

 

In the mean time, I managed to get my hands on a couple of IR LEDs.

 

The voltage drop across the IR LEDs I got is approx. 1,5V for a current rating of 60mA, meaning that with a 5V power supply I could put a resistor and 3 LEDs in series.

The resistor's value would have to be approx. 8 ohms (0,5V / 0,060A), but the closest resistor value I had lying around was 10 ohms.

 

I ended up with following circuit of two times three LEDs, in order to place three LEDs on each side of the camera board:

image

 

I downloaded a camera holder that I found on thingiverse (Raspberry Pi Camera Holder by gryphius - Thingiverse), modified it in Sketchup to be able to hold the LEDs and printed it.

imageimageimageimage

 

The circuit was powered with a separate 5V supply for this test, but ideally I'd like to power this from the pi itself.

Perhaps someone knows if it's ok to use the 5V/GND pins on the GPIOs to do this ? I'll have to look into this ...

 

With the LEDs powered, and the Pi NoIR running, it was time to take pictures and videos in the dark.

 

These are the results (at night, with all lights turned off except for power switches, etc ...):

 

raspistill -o file.jpg

imageimage

 

raspivid -o file.h264 -t 20000

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The raspivid utility saves .h264 format files. Some programs need this in a .mp4 wrapper to use, which you can do in several ways. One is to use "MP4Box" which is in the 'gpac' package.

 

sudo apt-get update
sudo apt-get install gpac
MP4Box -add filename.h264 filename.mp4

(info from: http://elinux.org/Rpi_Camera_Module)

 

pi@raspberrypi ~ $ MP4Box -add testnoir2.h264 testnoir2.mp4

AVC-H264 import - frame size 1920 x 1080 at 25.000 FPS
AVC Import results: 594 samples - Slices: 10 I 584 P 0 B - 0 SEI - 10 IDR
Saving to testnoir2.mp4: 0.500 secs Interleaving

 

Using these IR LEDs, I was able to light the room up to 1.5 to 2m away with a limited field of vision.

 

Perhaps I should try some high power IR LEDs and compare the results, but that will be for next time image

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 11 years ago in reply to fvan +1
    Frederick Have a look at VSLY5850 (Part Number 1870807). They are 3 deg and very high output at reasonable price. I had to angle them for coverage (and got it a bit wide). I'm looking at pulsing them for…
  • Former Member
    Former Member over 11 years ago +1
    Frederick, I have finally done some work and have posted some of my first results of shooting in low light conditions using the NoIR with and without filters. The images were done in colour and black and…
  • mcb1
    mcb1 over 11 years ago in reply to Former Member

    Picrypt

     

    Your posting is very informative (i've included the link below), and I'll have to return to my NoIR testing to see its impact.

    http://www.element14.com/community/people/picrypt/blog/2014/02/26/rpinoir-as-is-or-with-various-coloured-filters-in-low-light-photography#comment-31485

     

    cheers Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago

    Frederick, I have finally done some work and have posted some of my first results of shooting in low light conditions using the NoIR with and without filters. The images were done in colour and black and white using the  --colfx  argument - which produced and interesting result when I used different parameters.

    cheers.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • zengirl2
    zengirl2 over 11 years ago in reply to Problemchild

    Tee hee!  One of my faves. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Problemchild
    Problemchild over 11 years ago in reply to zengirl2

    I believe the original idea was a Blair Witch Project style video for the project image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • zengirl2
    zengirl2 over 11 years ago in reply to Former Member

    I would love to see a movie shot like this -- it would be very suspenseful!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube