This is the multi-page printable view of this section. Click here to print.
Peripheral Drone Assembly
- 1: Gimbal Assembly
- 2: Gimbal Testing
- 3: FPV Camera Testing
- 4: CSI Camera
- 5: LED Status Lights
- 6: LED Ring
1 - Gimbal Assembly
This section details how to assemble your gimbal. The gimbal allows the ground station operator to aim the FPV camera, thermal camera, and laser pointer at targets on the field independently of the drones position/orientation. The gimbal assembly will be used to detect hot spots on the field, put out fires using your water cannon, and perform reconnaissance with your FPV camera .
The gimbal uses 2 servos (very similar to servos used in previous years) to control the pan and tilt of the drone.
Pan is the rotation about the z-axis meaning this controls the left or right camera angle. Pan gets its name because it keeps an object in the picture or secures a panoramic effect.
Tilt is the rotation abut the y-axis meaning it controls the up and down camera angle.
Obtain the gimbal parts from the 3D printing section, 2 servos and associated hardware, a mosfet, the thermal camera, laser module, FPV camera, and long F-F dupont jumper wires.
NoteBe sure you have the latest 3D printed parts as there have been changes to the pan part to accommodate your specific servo horn.
Gimbal Parts Overview
Start with the gimbal base. Pass your servo wire through the slot on the slide and slide servo into place.
Gimbal Base Servo Placement
Secure the servo into the gimbal base using the servo hardware screws as shown below.
Gimbal Base Servo Mounting
Next you will attach the servo horn with 2 arms to the bottom of the gimbal pan part using the servo hardware.
Gimbal Pan Servo Hardware
Be sure the geared part of the servo horn is facing away from the connecting face. Align the center hole and the 2 holes (one hole away from the end of the servo arm) with the holes on the pan part. Screw through the part to attach your servo horn to the pan part.
If done successfully your screws heads should sit flush with the bottom of the gimbal pan.
Gimbal Pan Servo Horn Attachment
Place a second servo in the gimbal pan part, this servo will be used to control the tilt of the gimbal. The gimbal gear and the tilt attachment arm should be on the same axis. Align the servo gear with the tilt attachment arm of the opposite side of the 3D printed part. Screw the tilt servo into the two holes on the side pan assembly; the final product of which should look like the following photo.
Tilt servo attached to gimbal pan part
Next we will be assembling the tilt mechanism. This is where all of our sensors will be mounted.
Thermal Camera Mounting
The thermal camera will be mounted in the center of our gimbal tilt part. Use 4 screws from the peripheral bag to attach the thermal camera to the drone.
Thermal Camera Mounting Overview
After screwing in, it should look like the photo below.
NoteMake note of the thermal camera’s orientation. This will be important for properly viewing the thermal image in the AVR GUI.
Mounted Thermal Camera
We will wire and test this in following sections.
The FPV camera is mounted on the left side of the part (as shown in the picture).
FPV Mounting Overview
Cut a 3M double sided tape to the size of the base of the protruding area of the tilt part and place.
FPV Double Sided Tape Placement
Slide the camera into the slot and ensure that the camera is secured. You should be able turn the part upside down without the camera falling out.
FPV Mounted in Tilt Assembly
We will wire and test this in following sections.
Mount Servo Horn
Next place your servo horn into the the recess on the tilt part. We find that using a small amount of super glue is helpful in holding the servo in place before we attach it.
Tilt Servo Horn Mounting
The only remaining part of the gimbal assembly components is the laser, but we will come back to that after fully assembling the gimbal on the drone.
Now that all of the assembly 3D parts have been assembled we can start mounting the gimbal to the drone.
NoteBefore performing this section, ensure you have connected to your drone with the GUI as we will need to use it in order to calibrate the Gimbal.
First, mount the Gimbal base to the drone using 10mm 3M screws included in your kit. Use the 1st and 3rd slotted holes from the front of the drone to mount the gimbal base.
Gimbal Base Mounted
Pan and Tilt Calibration
Please watch the video below to understand calibrating your gimbal’s pan and tilt range of motion.
NoteIf you do not have the “invert joystick” option in your GUI be sure you have the latest stable release of the GUI.
Command used in video for starting the services
cd AVR-2022/VMC ./start.py run mqtt pcm
Pan and Tilt Servo Wiring
You can clean up your servo wiring by using 12" servo extenders. You will run them up through the bottom, mid, and top plates and finally connect them to your PCC as shown in the photo below.
12" servo extenders routed up to PCC
There is no right or wrong way to manage your servo wiring. The only important thing is that you have your pan and tilt servos plugged into the correct ports as covered in the calibration video.
Laser Pointer Mounting
Components for laser mounting and wiring
Cut a small piece of your 3M double sided tape and place it on the end of your laser pointer being sure not to obstruct the view of the laser barrel.
Laser mounted in gimbal
Powering Laser and the FPV
Next we will be focusing on the FPV and the Laser wiring as shown in the following wiring diagram.
Solder extra header pins from the PCC section onto mosfet pins J1.
Mosfet with header pins soldered
Cut wires (black and red) approximately 6" in length.
Screw wires into the PCC Buck converter output terminal. There will be two wires coming out of the positive and negative terminals as shown in the photo below.
Leads that will power mosfet
Cut the extender provided with the FPV camera at the connector as shown in the following photo.
FPV camera cable ready to connect to mosfet
Place both the power and FPV wire ends into the mosfet input terminals and screw down to terminal to secure.
Mosfet Power Supply
Stack 2 layers of 3M double sided tape on the mosfet as shown in the following photo.
Next mount your mosfet and plug in your FPV camera.
Mosfet Mounting Location
Wire mosfet from the PCC. Wire A4 will run to the PWM. The Ground pin will run to GND.
Cut and strip one side of a black and red Female-Female dupont jumper wire to approximately 8" in length. Screw wires in to their respective terminal blocks. Place the black and red wire on the ground and signal pins of the laser pointer respectively as shown in the following photo.
Locate the thermal camera JST SH 4-pin connecting cable and four 12" jumper wires with corresponding colors from your kit.
Thermal Camera Wires
Connect long female-female jumper wires of corresponding colors. It may be beneficial to add a little bit of electrical tape to ensure they do not come undone.
Thermal Camera Wiring
Remove your plastic end pieces.
Thermal Camera Bundle
Attach the JST connector to the thermal camera and route the cables through the top accessory plate.
Thermal Camera Connection
Place your top cables into the 20x2 connector housing on your Jetson per the following wiring diagram.
Thermal Camera 20x2 Connector
The final product should look like the following.
Thermal Camera Wiring Overview
2 - Gimbal Testing
Command used in video for starting the services
cd AVR-2022/VMC ./start.py run mqtt pcm thermal
3 - FPV Camera Testing
Your FPV camera has a built-in transmitter that will broadcast a video signal to the monitor, which has a built-in receiver. Open your FPV monitor box and pull out the components shown in the photo below.
WarningBe sure to attach the both antennas to the FPV monitor before powering it. Otherwise you run the risk of burning out the receiver.
FPV monitor and built-in receiver
The video below will walk you through setting the band and channel of the transmitter and receiver.
WarningThe FPV transmitter gets VERY HOT. Be careful when setting the transmitter’s band and channel.
4 - CSI Camera
CSI camera and 300mm cable
Cable attached to VMC
Cable attached to CSI camera
5 - LED Status Lights
The status lights are designed to provide an extra layer of quick and easy debugging to show the status of your drone at a glance.
To complete the status light installation you will need the following.
Components with wires cut to 3"
Wire the green wire to DIN, red wire to 5VDC, and black wire to Ground. Remove the plastic housing from other end of the wires.
LED soldered and ready for VMC wiring
Insert wires into VMC housing per the following wiring diagram.
Jetson Header Wiring Diagram
This should result in the following.
LED connected to VMC housing
Use 3M double-sided foam tape to mount to the fan of the Jetson facing towards the rear of the drone.
Adhesive for mounting LED
LED mounted on rear side of cooling fan
Commands run in video:
cd AVR-2022/VMC/ ./start.py run -n
Feel free to explore and try different combinations for what you think is the most useful information. For instance if you are doing just a flight test with no peripherals you may want to try the following.
cd AVR-2022/VMC/ ./start.py run status -m
6 - LED Ring
In this section we cover how to install your LED light ring which will be used to communicate from the field back to teams.
Route your wire lead through the side slot on the top accessory plate and plug into the PCC as shown below.
LED ring connected to PCC
Position the LED light ring under the top accessory plate around the inside of the standoffs and secure using zip ties.
NoteFeel free to find alternative means of attaching your LED rings, just ensure they are visible.
LED ring zip tied around top mid plate