Skip to content

noghabaei/CE-791-Smart-Cities

Repository files navigation

Waste water platform

Version: 0.5.0
Release date: 2018-03-11

Summary

This is a cross platform applicationd developed in unity for anlysing specific se

Goals

  • Capture visual data from its own camera
  • Be able to rotate the camera to the needed direction
  • Send and receive required data to the mobile base station(HUSKY) using ROS
  • Move in outdoor environments of a construction site
  • Resist the wind as much as possible
  • Land on the mobile base station (HUSKY)
  • Resist the winds using tether or motors

Main Components

1. Pan and Tilt

Pan and tilt mechanism were used in order to rotate and move the camera to the needed direction. Pan and tilt mechanism needs two servos. The servos were connected directly to the raspberry pi GPIO ports. This may reduce the speed of the rotation due to low current in the raspberry pi.

2. Camera

An Arducam Mini camera module is used to capture image and video data. This camera is mounted on the pan and tilt mechanism so the raspberry pi is able to move its field of view to any needed direction. The camera module has the following characteristics:

  • 5 Megapixel camera
  • Power: 1.5V Core, 2.6 - 3.0V Analog, 1.7 - 3.0V I/O
  • 5 megapixel (2592×1944): 15 fps (and any size scaling down from 5 megapixel)
  • 1080p (1920×1080): 30 fps
  • 720p (1280×720): 60 fps
  • VGA (640×480): 60 fps
  • QVGA (320×240): 120 fps


3. Motors

For altitude, yaw, and forward motion, four DC Hubsan motors were used. Two motors face upwards to control altitude and two motors face forward to control movement and yaw. The motors are powered by 3.7 volt LiPo batteries to reduce the current draw from the battery and to ensure that the motors do not overdraw from the Raspberry Pi Zero. The motors are controlled by two h-bridge boards that allow the motors to be controlled through pulse width modulation (PWM). Below are the characteristics of the motor:

  • The motors can draw a peak 1.2 amps
  • They can run up to 5 volts
  • Each motor weighs around 4 grams
  • Each motor has a thrust capability of 9 grams
  • The thrust to weight ratio of the motor is 0.44


4. H-Bridge

Sourcing the motors from the Raspberry Pi could draw too much current from either the Raspberry Pi GPIO pins or the battery. Therefore, a h-bridge expansion board and a separate power system were used to ensure that the safe use of the motor system. An Adafruit Adafruit TB6612 expansion board was used to ensure drive the motor system. The motor drivers have the following characteristics:

  • Max current draw of 1.2 amps per channel
  • Each board can drive 2 DC brushless motors
  • 2.7 - 5.0 V logic, 4.5 - 13.5 V motor (Using 3.7 V LiPo for this system)
  • Driven by 3 signals: in1 and in2 for direction and a pwm signal

The following chip was used : Link

Board Schematic and Pin Connections


5. IMU

An inertial measurement unit (IMU) is an electronic device that measures and reports a body's specific force, angular rate, and sometimes the magnetic field surrounding the body, using a combination of accelerometers and gyroscopes, sometimes also magnetometers. An Adafruit BNO055 was used for the IMU. The characteristics of the breakout board are given below:

  • ARM Cortex M0 Processor
  • 9 DOF IMU Sensor (3 DOF Accelerometer, 3 DOF Magnetometer, 3 DOF Gyroscope)
  • Embedded temperature sensor
  • Can output filtered absolute orientation, angular velocity, acceleration vector, etc.
  • 3.3 - 5.0 V Power Input
  • I2C and UART communication interfaces

6. GPS

The Global Positioning System (GPS) is a space-based navigation system that provides location and time information in all weather conditions, anywhere on the outdoor environment. Using this device it is possible to measure coordination and speed of the blimp.

Code

Message Type Message Header Frequency Streaming name
Orientation PoseStamped 100 Hz /OB_imu/pose
Odometry TwistStamped 100 Hz /OB_imu/twist
GPS Velocity gps_velocity 10 Hz /OB_gps/general_info
GPS Info gps_info 10 Hz /OB_gps/general_info
Teleop commands Twist 10 Hz Blimp_Commands

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published