Codesys#Use PiCamera to take a Photo

Hallo! Here is a tutorial to explain how to use Raspberry and codesys to implement the camera operation.

Please reference the link for more information:

https://help.codesys.com/webapp/_rbp_prepare_plc;product=CODESYS_Control_for_Raspberry_Pi_SL;version=3.5.16.0#activating-the-camera

Setup

Open your Device tab and the Camera interface is shown.

Please open it.

Right Click the <Empty> and select Plug Device.

The Below Popup is shown.

Choose Raspberry Pi Camera and click the Plug Device.

Camera is inserted in your Project.

Double Click it and you can see more information about the status of Camera.

Program

Let’s make some sample code.

While xTake is On, use the Camera to take the photo and then turn the device off.

You can see a picture that is named with pic2.jpg is created.

Here is the Library that is used inside the project – please read the document to get more information ;)!

Footer_Basic

Please Support some devices for my blog

Amazon Gift List

Find ME

Twitter:@3threes2
Email:soup01threes*gmail.com (* to @)
YoutubeChannel:https://www.youtube.com/channel/UCQ3CHGAIXZAbeOC_9mjQiWQ

シェアする

  • このエントリーをはてなブックマークに追加

フォローする