'camera'에 해당되는 글 2건

  1. 2016.10.04 SG90 Camera Mount [B051]
  2. 2016.09.13 Logitech HD WebCam C310 (C310) [S084]

SG90 Camera Mount [B051]



https://www.youtube.com/watch?v=gk7Mg69mgq4


* GitHub https://github.com/rdiot/rdiot-b051.git


* Specs

Weight : 0.050kg (0.11lb.)

Size : 13cm x 9cm x 8cm (5.12in x 3.54in x 3.15in)


* Contents

- Connect

Top ----- D12

Bottom ----- D11


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>

#include <Servo.h> 


LiquidCrystal_I2C lcd(0x27,20,4);

Servo myservo1;

Servo myservo2;


int servoPin_updown = 12;

int servoPin_leftright = 11;


int pos_updown = 0;

int pos_leftright = 0;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");


  myservo1.attach(servoPin_updown); 

  myservo2.attach(servoPin_leftright); 

  delay(1000);


  lcd.clear();

}


void loop()

{

 

  lcd.setCursor(0,0);

  lcd.print("B051:SG90 Mount");



  for(pos_leftright = 0; pos_leftright < 180; pos_leftright += 1) 

  { 

    myservo2.write(pos_leftright);

    //lcd.setCursor(0,1);

    //lcd.print("pos0~179=" + (String)pos + "  " );


    delay(10); 

  }


  for(pos_leftright = 180; pos_leftright>=0; pos_leftright-=1)

  { 

    myservo2.write(pos_leftright); 

    //lcd.setCursor(0,2);

    //lcd.print("pos180~1=" + (String)pos + "  " );

    delay(10); 

  } 


  

  for(pos_updown = 80; pos_updown < 180; pos_updown += 1) 

  { 

    myservo1.write(pos_updown);

    //lcd.setCursor(0,1);

    //lcd.print("pos0~179=" + (String)pos + "  " );


    delay(10); 

  }


  for(pos_updown = 180; pos_updown>=80; pos_updown-=1)

  { 

    myservo1.write(pos_updown); 

    //lcd.setCursor(0,2);

    //lcd.print("pos180~1=" + (String)pos + "  " );

    delay(10); 

  } 


}

Posted by RD IoT RDIoT

댓글을 달아 주세요

Logitech HD WebCam C310 (C310) [S084]



https://www.youtube.com/watch?v=q100omG16HQ


* Specs

What you need:

Windows Vista®, Windows® 7 (32-bit or 64-bit) or Windows®  8


Basic requirements:

1 GHz

512 MB RAM or more

200 MB hard drive space

Internet connection

USB 1.1 port (2.0 recommended)


For HD 720p video calling and HD recording:

2.4 GHz Intel® Core™2 Duo

2 GB RAM

200 MB hard drive space

USB 2.0 port

1 Mbps upload speed or higher

1280 x 720 screen resolution


The specs:

HD Video calling (1280 X 720 pixels) with recommended system

HD video capture: Up to 1280 X 720 pixels 

Logitech Fluid Cyrstal™ Technology

Photos: Up to 5 megapixels (software enhanced)

Built-in mic with noise reduction

Hi-Speed USB 2.0 certified (recommended)

Universal clip fits laptops, LCD or CRT monitors

Logitech webcam software:

Pan, tilt, and zoom controls

Video and photo capture

Face tracking

Motion detection


Part Number : PN 960-000585



* Contents

- image capture : fswebcam test.jpg -r 800x600

- real streaming in the web : mipg-streamer & 

 : http://IP:8080/?action=stream


- UVC Camera Preparation

http://linuxtv.org/wiki/index.php/Webcam_Devices teaches us, that there are four types of web cams:

those that have UVC support →Linux UVC driver and tools

those that have GSPCA support →http://linuxtv.org/wiki/index.php/Gspca

those that have out-of-tree support

those that have no Linux support

Then there is the framework Video4Linux and a whole load of applications that work with V4L version 1 and/or version 2.

The Video4Linux2 API: an introduction

http://linuxtv.org/wiki/index.php/Main_Page

V4L2 API Specification



Posted by RD IoT RDIoT

댓글을 달아 주세요