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
Pi IoT
  • Challenges & Projects
  • Design Challenges
  • Pi IoT
  • More
  • Cancel
Pi IoT
Blog [Pi IoT] Plant Health Camera #4 - Putting the parts together
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gpolder
  • Date Created: 22 Jul 2016 3:21 PM Date Created
  • Views 1133 views
  • Likes 4 likes
  • Comments 3 comments
  • wifi
  • python
  • raspberry pi case
  • pi camera v2
  • live_video
  • 7_inches_touch_screen_display
Related
Recommended

[Pi IoT] Plant Health Camera #4 - Putting the parts together

gpolder
gpolder
22 Jul 2016

Last two weeks I was traveling and also busy running a summerschool (Successful Summer School Plant Phenotyping - Wageningen UR ), but now the holiday started and I have more time to continue to work on my project.

The Smarti Pi cases, I talked about in my previous post arrived, and I'm quite happy with them.

In this post I will describe how the cases are used. Furthermore I installed and tested the camera with a small python script.

 

Previous posts:

[Pi IoT] Plant Health Camera #3 - First steps

[Pi IoT] Plant Health Camera #2 - Unboxing

[Pi IoT] Plant Health Camera #1 - Application

 

Intro

As already explained I'm planning to use the Pi 3 as main board and the Pi 2 as slave system. Each system will have a camera connected. The interconnection between the two boards is with ethernet, while the main connection to the Pi 3 is via WiFi. Although It also might be an option to use the WiFi Dongle in the second Pi. Since that was missing in my kit, I hope element14Dave will send it soon, along with the Sense Hat and PiFace Digital 2.

Wifi setup appeared to be very easy, it appeared to be installed by default in the current version of Raspbian and I only needed to connect to my router via the menu (https://www.raspberrypi.org/documentation/configuration/wireless/README.md ).

 

Case

In my previous blogspot I told you that I planned to buy the 'Smarti Pi Touch' case. For the additional Pi B I decided to use the plain 'Smarti Pi'. Although this case is quite expensive, it has its benefits. Like the 'Smarti Pi Touch' it is also LEGO compatible. And it also comes with a LEGO compatible case for the camera. So now I have two LEGO compatible cases and two LEGO compatible camera cases. For mounting the 'Smarti Pi' to the 'Smarti Pi Touch' I made a small plate of LEXAN which I mounted on the back of the 'Smarti Pi Touch'. With the supplied bracket the second case is mounted. The camera's can now be put on the LEGO plate covering this case.

imageimage

LEXAN plate, bracket mounted.

 

image

Plate will fit on the back.

 

image

Like here.

image

Second case added.

 

image

One camera added.

image

View from the side

 

Camera setup

I started to connect the color camera to the Pi 3 using the instructions found on https://www.raspberrypi.org/learning/getting-started-with-picamera/worksheet/. The camera software was initially disabled, so I enabled it using the configuration tool.

After a reboot I tested the camera with a small python program:

from picamera import PiCamera
from time import sleep

camera = PiCamera()

camera.start_preview()
sleep(10)
camera.stop_preview()

 

image

Although I preferably control the Pi via a remote connection from my laptop, in this case I'm using a small wireless keyboard and touchpad.

For testing the camera is placed on the front of the case. (I really like this LEGO approach).

 

Here is a 10 seconds live video shot using the python script above.

 

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

 

In the mean time I started to install OpenCV, which I need to combine the different spectral bands from the two camera's in order to obtain a NDVI image. This will be the subject of my next blogpost.

 

stay tuned.

  • Sign in to reply

Top Comments

  • gpolder
    gpolder over 9 years ago in reply to pettitda +1
    According to my meter the unloaded voltage is 5.07, which drops to 5.04 when loaded with the Pi 3 and touchscreen display. I didn't encounter any problem. Current drawn was 0.8A, when only running the…
Parents
  • pettitda
    pettitda over 9 years ago

    I read online that the Y power cable that came with the SmartPi Touch case requires a 5.25V power supply in order to work.  I suppose the wire gauge is too small and drops 0.25V at full load.  I see you have used the cable.  What did you find?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gpolder
    gpolder over 9 years ago in reply to pettitda

    According to my meter the unloaded voltage is 5.07, which drops to 5.04 when loaded with the Pi 3 and touchscreen display. I didn't encounter any problem.

    Current drawn was 0.8A, when only running the GUI software. I did some stress tests in the past utilizing the CPU at 100%, in that case without GUI and touchscreen (RoadTest Review a Raspberry Pi 3 Model B ! - Review ).

    imageimage

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • gpolder
    gpolder over 9 years ago in reply to pettitda

    According to my meter the unloaded voltage is 5.07, which drops to 5.04 when loaded with the Pi 3 and touchscreen display. I didn't encounter any problem.

    Current drawn was 0.8A, when only running the GUI software. I did some stress tests in the past utilizing the CPU at 100%, in that case without GUI and touchscreen (RoadTest Review a Raspberry Pi 3 Model B ! - Review ).

    imageimage

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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