Pan and Tilt Control
Pan and Tilt Control
1. Project description:
This project aims to make a 3D scan of a neighborhood using a sonic range finder. The sonic
range finder are going to be controlled using an Arduino nano. Data are going to be sent back to
a PC via USBA 3D scan are going to be displayed on the PC. With this you'll measure distances
from point A to point B faster just by pointing. It's pretty accurate and cheap to form. Connect
everything as shown below. It emits an ultrasound at 40 000 Hz which travels through the air and
if there's an object or obstacle on its path it'll recover to the module. Considering the time
period and therefore the speed of the sound you'll calculate the space.
For each block write a detailed description of what hardware is to be used (part numbers,
web links, etc.
A pan–tilt–zoom camera (PTZ camera) may be a camera that's capable of remote directional
and zoom control. In television production, PTZ controls are used with professional video cameras
in television studios, sporting events, and other spaces. They’re commonly mentioned as robots,
an abbreviation of a robotic camera.
Using the Servo.h Arduino Library and a subroutine, we will have the servo perform movement
to any position you'd like. Comfortable with all of the boring stuff out of the way, let’s get the
code setup and uploaded to the Arduino.
For each hardware item write a detailed description of how it is to be operated. This may
include voltages, pin connections and timing waveforms, etc. Enough details should be
provided to enable the system to be constructed, wired and programmed.
Servo motor
A servomotor may be a positioner or linear actuator that permits for precise control of angular
or linear position, velocity and acceleration. It consists of an appropriate motor coupled to a
sensor for position feedback.
Ultrasonic Sensor HC-SR04
The HC-SR04 Ultrasonic Module has 4 pins, Ground, VCC, Trig and Echo. the bottom and
therefore the refore the refore the VCC pins of the module must be connected to the
bottom and the 5 volts pins on the Arduino Board respectively and the trig and echo pins to any
Digital I/O pin on the Arduino Board.n order to get the ultrasound you would like to line the Trig
on a High State for 10 µs. which can send an 8 cycle sonic burst which will travel at the speed
sound and it'll be received within the Echo pin. The Echo pin will output the time in microseconds
the acoustic wave traveled.
d = (s x w)/2
d = distance to object (m)
w = pulse width (s)
s = speed of sound (m/s)
• Example (w=1ms):
d = 340 x 0.001 / 2 = 0.17m (17cm)
Pan and tilt platform with 2 servo motors
Sonic range finder
Plug pack (5V, 1A)
Java Pyroraptor Graphical User Interface
The Java Graphical Interface to the Pyroraptor USB/I2C/SPI interface provides a Tab Based
interface for testinfg I2C devices and also programming and interfacing to SPI devices. The Java
Applications allows for scanning I2C busses listing devices. Data are often sent to and received
from each I2C device. The Java Application through the Tab Interface supports IONOTRONICS
I2C Boards for interfacing to multiple sensors (I2C 4xADC and DAC). the appliance also
supports direct graphical support for I2C PWM control using the IONOTRONICS PIC16F1825
board.
3. Software design
Create an ordered list of software to be designed. The functionality of each piece of software
should be clearly specified. The relationship between each piece of software should be clear.
Solid-work
SolidWorks may be a solid modeling CAD and a computer-aided engineering computer
virus that runs totally on Microsoft Windows. While it's possible to run SolidWorks on
MacOS, it's not supported by SolidWorks.
MATLAB
MATLAB may be a proprietary multi-paradigm programing language and numerical
computing environment developed by MathWorks. MATLAB allows matrix manipulations,
plotting of functions and data, implementation of algorithms, creation of user interfaces, and
interfacing with programs written in other languages.
Python
Python is an interpreted, high-level and general-purpose programing language . Created by
Guido van Rossum and first released in 1991, Python's design philosophy emphasizes code
readability with its notable use of serious whitespace.
C-code
C may be a general-purpose, procedural programming language supporting structured
programming, lexical variable scope, and recursion, with a static type system. By design, C
provides constructs that map efficiently to typical machine instructions.
4. Gantt chart
Create a Gantt chart clearly showing the relationship between all parts of the project. The most
import aspect of this Gantt chart is to show which parts are dependent on completion of previous
parts and which parts are independent.
Electronics, servo motors, sonic sensor and power supply are going to be supplied. Design
mechanical attachment to pan/tilt platform for sonic sensor and laser pointer Source and
provide your own parts for enhance diversion bigger pan/tilt servo unit Laser range measurement
more powerful microprocessor board
Every person have to work 2 hours a day than it can be complete on given time.
References:
https://www.ionotronics.com/Launch/navball_project.html
https://www.instructables.com/Arduino-Pan-Tilt-With-Ultra-Sonic-Tracking/
https://www.ionotronics.com/Launch/i2c_pan_tilt_ultrasonic_sensor.html
https://en.wikipedia.org/wiki/Pan%E2%80%93tilt%E2%80%93zoom_camera