MCT Project Phase II Report
MCT Project Phase II Report
Submitted by
of
BACHELOR OF ENGINEERING
in
MECHATRONICS ENGINEERING
APRIL - 2024
HINDUSTHAN COLLEGE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, New Delhi, Accredited by NBA and ‘A++’ Grade by NAAC
(An Autonomous Institution, Affiliated to Anna University, Chennai)
COIMBATORE – 641032
BONAFIDE CERTIFICATE
(20109830), Naveen Kumar P (20109027)” who carried out the project work
under my supervision.
ENGINEERING, ENGINEERING,
Submitted for Anna University Examination Project Viva Voice held on _____________
1
ACKNOWLEDGEMENT
We express our sincere thanks to Almighty God, the guiding light of our life for
Principal, for the encouragement and the facilities provided to complete this project
Professor and Head for the suggestion that have been valuable for our project
We would like to extend a grateful and special thanks to our project guide
criticism.
We wholeheartedly thank our faculty members and our parents who spend them
today for our tomorrow. We thank our friends and all good-hearted who helped us to
2
ABSTRACT
The main objective of the project is to create miniature spy bee equipped with image
capture and 3D conversion capabilities. This multidisciplinary project combines
various hardware components, such as a miniature camera module, microcontroller
navigation sensors, communication modules, propulsion systems, and a power supply,
all integrated into a robust frame. On the software side, the project entails the
development of image capture and processing algorithms, control and navigation
algorithms, 3D reconstruction algorithms, and a communication protocol for data
transmission. Additionally, a user interface for monitoring and control can be
included. The working idea involves the spy bee autonomously capturing images,
processing them, and transmitting the data, with the ultimate goal of creating 3D
reconstructions from the captured imagery.
3
TABLE OF CONTENTS
ABSTRACT 3
LIST OF TABLES 6
LIST OF FIGURES 7
1 INTRODUCTION 8
2 LITERATURE REVIEW 11
3 METHODOLOGY 15
3.1 Scope
3.3 Construction
3.4 Operation
4 DESIGN 19
MATERIALS
6 COMPONENT DESCRIPTION 21
7 BLOCK DIAGRAM 25
4
7.1 Working of Lidar
8 PROTOTYPING 26
8.1 3D Printing
SCOPE
9.1 Advantages
9.2 Applications
10 CONCLUSION 28
REFERENCES 31
APPENDIX 1 32
APPENDIX 2 40
5
LIST OF TABLES
1 Material Selection 19
6
LIST OF FIGURES
7
CHAPTER 1
INTRODUCTION
8
the bee's ability to navigate complex environments. Advanced 3D reconstruction
algorithms are employed to convert captured images into detailed three-dimensional
models. A specialized communication protocol facilitates efficient data transmission,
forming a crucial link between the spy bee and its operator. Additionally, the project
may incorporate a user interface for monitoring and control, offering users a seamless
means of interacting with and overseeing the spy bee's activities.
The envisioned functionality of the spy bee is to autonomously capture images,
process them in real-time, and transmit the data, ultimately culminating in the creation
of detailed 3D reconstructions. Such a capability holds immense potential for
applications ranging from surveillance and reconnaissance to environmental
monitoring and disaster response.
9
1.3 WORKING PRINCIPLE
The spy bee operates on a multifaceted working principle that combines hardware and
software intricacies. On the hardware front, the integration of a miniature camera
module, microcontroller-based navigation sensors, communication modules,
propulsion systems, and a reliable power supply forms the backbone. Simultaneously,
sophisticated software algorithms govern image capture, processing, control,
navigation, and communication, orchestrating the spy bee's autonomous functionality
10
CHAPTER 2
LITERATURE REVIEW
The integration of advanced technologies in the field of robotics has led to the
development of innovative solutions for various applications, ranging from healthcare
to surveillance. In recent years, there has been a growing interest in the creation of
miniature robotic agents capable of navigating complex environments discreetly. This
literature survey explores the multidisciplinary realm of a unique project involving the
design and implementation of a miniature spy bee, equipped with image capture and
3D conversion capabilities
11
“Imaging Lidar system for night vision and surveillance application” by P
Sudhakar; K Anitha Sheela; M Satyanarayana: the Night Vision Imaging Lidar
System (NVIL) presented in this paper showcases a robust and innovative
solution for imaging targets with exceptional recognition capability in both day
and night conditions. The constructional features of the NVIL, including a
compact Nd: YAG pulsed laser system and a unique transmitter-receiver
configuration, contribute to its effectiveness in achieving at least 90%
recognition capability up to a range of 2 km during nighttime operations and up
to 4 km in daylight.
12
“How UAV Lidar Imaging Can Locate And Map Minefield Features” by
Katherine James, Gert Riemersma, and Pedro Pacheco: This work demonstrates
how valuable Lidar data can be to provide evidence that is not obtainable by
other means, offering advantages over RGB and TIR imagery when looking for
minefeld features hidden by vegetation.
14
CHAPTER 3
METHODOLOGY
15
3.1 SCOPE
The scope of the miniature spy bee project encompasses the development of a highly
specialized robotic system with autonomous capabilities for discreet image capture
and 3D reconstruction. This extends to applications in surveillance, reconnaissance,
and environmental monitoring, where the compact size and agility of the spy bee offer
a unique advantage. The project's scope also includes the integration of advanced
hardware components and the implementation of sophisticated software algorithms to
achieve optimal performance.
16
User Interface Implementation: Design and implement a user interface for real-
time monitoring and control. Ensure a user-friendly experience for operators
overseeing the spy bee's activities.
Autonomous Operation Validation: Validate the spy bee's autonomous
operation through simulated and real-world scenarios. Assess its ability to
capture, process, and transmit data while navigating environments, with a focus
on 3D reconstruction capabilities.
Iterative Refinement: Gather feedback from testing and real-world operation to
iteratively refine and enhance the spy bee's performance. Address any identified
challenges or limitations.
3.3 CONSTRUCTION
The construction phase involves physically assembling the spy bee with the integrated
hardware components. This includes the assembly of the frame, incorporation of the
miniature camera module, installation of navigation sensors, integration of
communication modules, attachment of propulsion systems, and implementation of
the power supply. Construction also entails ensuring the structural integrity and
durability of the spy bee to withstand diverse environmental conditions.
3.4 OPERATION
The operational phase involves deploying the miniature spy bee for its intended tasks.
This includes initiating autonomous missions, monitoring its activities through the
user interface, and assessing its performance in real-world scenarios. The spy bee
should demonstrate the ability to navigate environments, capture images, process data,
and transmit information for 3D reconstruction. Continuous operation allows for the
validation of the spy bee's effectiveness and the identification of areas for further
improvement and refinement.
17
CHAPTER 4
DESIGN
4.1 DIFFERENT VIEWS OF BEE AND ITS DIMENSIONS
18
CHAPTER 5
SELECTION AND SPECIFICATION OF MATERIALS
19
CHAPTER 6
COMPONENT DESCRIPTION
20
6.2 N50 DC MICRO MOTOR
The micro motor converts electrical energy into mechanical energy. The rotor of the
micro motor is driven by the current. Different rotor current comes out different
magnetic poles.
6.2.1 Specification
Model: N50; Size: 10x12x25mm.
RPM: 21000 RPM; Voltage: 3.7V - 7.4V; Shaft Diameter: 1mm.
Propeller Length: 55mm.
Package Include 2 x N50 Motor, 2 x 55mm Propeller.
22
6.5 ARDUINO UNO
Arduino Uno Is A Low-Cost, Flexible, And Easy-To-Use Programmable Open-
Source Microcontroller Board That Can Be Integrated Into A Variety Of
Electronic Projects.
This Board Can Be Interfaced With Other Arduino Boards, Arduino Shields,
Raspberry Pi Boards And Can Control Relays, Leds, Servos, And Motors As
An Output.
The Arduino Uno Comes With Usb Interface, 6 Analog Input Pins, 14 I/O
Digital Ports That Are Used To Connect With External Electronic Circuits.
23
CHAPTER 7
BLOCK DIAGRAM
24
CHAPTER 8
PROTOTYPING
8.1 3D PRINTING
3D printing or additive manufacturing is a process of making three dimensional solid
objects from a digital file. The creation of a 3D printed object is achieved using
additive processes. In an additive process an object is created by laying down
successive layers of material until the object is created. Each of these layers can be
seen as a thinly sliced cross-section of the object. 3D printing is the opposite of
subtractive manufacturing which is cutting out / hollowing out a piece of metal or
plastic with for instance a milling machine. 3D printing enables to produce complex
shapes using less material than traditional manufacturing methods.
25
CHAPTER 9
ADVANTAGES, APPLICATIONS & FUTURE SCOPE
10.1 ADVANTAGES
The development of a miniature spy bee offers several distinct advantages, making it a
unique and valuable technology in various fields:
Stealth and Discreetness: The small size and inconspicuous nature of the spy
bee make it an ideal tool for discreet surveillance and reconnaissance
operations.
Agility and Maneuverability: The compact design allows the spy bee to
navigate through confined spaces and intricate environments with agility,
reaching areas inaccessible to larger surveillance systems.
Autonomous Operation: The spy bee's ability to operate autonomously reduces
the need for constant human intervention, making it efficient for prolonged
surveillance missions.
10.2 APPLICATIONS
The miniature spy bee has potential applications in various domains, contributing to
advancements in technology and problem-solving:
Surveillance and Reconnaissance: The spy bee can be deployed for covert
surveillance missions, gathering critical information in sensitive or hard-to-
reach areas.
Environmental Monitoring: Utilizing its compact form, the spy bee can monitor
and assess environmental conditions, aiding in tasks such as pollution tracking
and wildlife observation.
26
Search and Rescue Operations: The agility of the spy bee makes it suitable for
search and rescue missions in disaster-stricken areas, enhancing the efficiency
of locating survivors or assessing damage.
Industrial Inspections: In industrial settings, the spy bee can navigate complex
structures to inspect and assess equipment, infrastructure, or hazardous
environments.
Scientific Research: The spy bee's capabilities can be harnessed for scientific
research, such as studying ecosystems, biodiversity, and climate patterns.
27
CHAPTER 10
CONCLUSION
28
CHAPTER 11
RESULT AND DISCUSSION
The implementation of the system equipped with image capture and 3D conversion
capabilities has yielded significant advancements in the field of autonomous aerial
surveillance and imaging. This multidisciplinary project seamlessly integrates various
hardware components, including a miniature camera module, microcontroller
navigation sensors, communication modules, propulsion systems, and a robust power
supply, within a compact and efficient frame.
On the software front, the project has necessitated the development of sophisticated
algorithms to facilitate image capture and processing, control and navigation, 3D
reconstruction, and data transmission. These algorithms work in tandem to ensure the
spy bee's autonomy in capturing high-resolution images, processing them in real-time,
and transmitting the data efficiently.
One of the notable achievements of this project is the successful integration of image
capture and processing algorithms, enabling the spy bee to identify and capture
relevant imagery autonomously. The utilization of advanced control and navigation
algorithms ensures precise maneuverability, allowing the spy bee to navigate complex
environments with ease while optimizing image capture.
29
The communication protocol developed for data transmission ensures reliable and
secure transfer of information between the spy bee and the base station. This robust
communication framework is essential for real-time monitoring, control, and retrieval
of captured data.
Additionally, the inclusion of a user interface for monitoring and control enhances the
usability of the system, enabling operators to oversee mission progress, adjust
parameters, and analyze captured data effectively.
30
REFERENCES
31
APPENDIX 1
ARDUINO CODE
import cv2
face_classifier = cv2.CascadeClassifier(
cv2.data.haarcascades + "haarcascade_frontalface_default.xml"
)
video_capture = cv2.VideoCapture(0)
def detect_bounding_box(vid):
gray_image = cv2.cvtColor(vid, cv2.COLOR_BGR2GRAY)
faces = face_classifier.detectMultiScale(gray_image, 1.1, 5, minSize=(40, 40))
for (x, y, w, h) in faces:
cv2.rectangle(vid, (x, y), (x + w, y + h), (0, 255, 0), 4)
return faces
while True:
result, video_frame = video_capture.read() # read frames from the video
if result is False:
break # terminate the loop if the frame is not read successfully
faces = detect_bounding_box(
video_frame
) # apply the function we created to the video frame
cv2.imshow(
"My Face Detection Project", video_frame
32
) # display the processed frame in a window named "My Face Detection Project"
video_capture.release()
cv2.destroyAllWindows()
RECEIVER
#include <Arduino.h>
#include<SoftwareSerial.h>
SoftwareSerial e5(0, 1);
if (p_ack == NULL)
{
return 0;
}
do
{
while (e5.available() > 0)
{
ch = e5.read();
recv_buf[index++] = ch;
Serial.print((char)ch);
delay(2);
}
if (strstr(recv_buf, p_ack) != NULL)
{
return 1;
}
34
char ch;
int index = 0;
memset(recv_buf, 0, sizeof(recv_buf));
while (e5.available() > 0)
{
ch = e5.read();
recv_buf[index++] = ch;
Serial.print((char)ch);
delay(2);
}
if (index)
{
char *p_start = NULL;
char data[32] = {
0,
};
int rssi = 0;
int snr = 0;
p_start = strstr(recv_buf, "RSSI:");
if (p_start && (1 == sscanf(p_start, "RSSI:%d,", &rssi)))
35
static int node_recv(uint32_t timeout_ms)
{
at_send_check_response("+TEST: RXLRPKT", 1000, "AT+TEST=RXLRPKT\r\
n");
int startMillis = millis();
do
{
if (recv_prase())
{
return 1;
}
} while (millis() - startMillis < timeout_ms);
return 0;
}
void setup(void)
{
Serial.begin(115200);
// while (!Serial);
e5.begin(9600);
Serial.print("Receiver\r\n");
36
at_send_check_response("+TEST: RFCFG", 1000,
"AT+TEST=RFCFG,866,SF12,125,12,15,14,ON,OFF,OFF\r\n");
delay(500);
}
else
{
is_exist = false;
Serial.print("No E5 module found.\r\n");
}
}
void loop(void)
{
if (is_exist)
{
node_recv(2000);
}
}
TRANSMITTER
#include <Arduino.h>
#include<SoftwareSerial.h>
37
int ch;
int num = 0;
int index = 0;
int startMillis = 0;
va_list args;
memset(recv_buf, 0, sizeof(recv_buf));
va_start(args, p_cmd);
e5.print(p_cmd);
Serial.print(p_cmd);
va_end(args);
delay(200);
startMillis = millis();
if (p_ack == NULL)
return 0;
do
{
while (e5.available() > 0)
{
ch = e5.read();
recv_buf[index++] = ch;
Serial.print((char)ch);
delay(2);
}
38
return 1;
void setup(void)
{
Serial.begin(9600);
e5.begin(9600);
Serial.print("E5 LOCAL TEST\r\n");
at_send_check_response("+TEST: RFCFG", 1000,
"AT+TEST=RFCFG,866,SF12,125,12,15,14,ON,OFF,OFF\r\n");
delay(200);
}
void loop(void)
{
char cmd[128];
counter=counter+1;
39
APPENDIX 2
40
41
42