Attach the standoffs to the bottom frame#
Attach the 4 long nylon white standoffs to the bottom of the frame by screwing them with M2 nylon screws on the back of the bottom frame, as shown in the image.
Secure the battery to the frame#
Place the battery in between the nylon standoffs and secure it to the frame by using one zip tie and a Velcro strap.
To allow the battery to be hot-swapped easily after a flight it is suggested to attach the velcro strap such that you can open it from the bottom side of the drone.
Make sure to secure the battery tightly to the frame to avoid it moving during flight.
You can use the holes in the rear part of the frame (towards the PDB) to attach the battery cables using a zip ties.
Keep this zip tie loose to allow swapping out the battery quickly.
This minimizes the sideways wobbling of the battery.
Attach the ToF sensor#
There’s a tiny piece of yellow tape on the black tab, make sure to remove it before attaching it to the drone
Place the ToF sensor on the smaller left hole, making sure to align it so that the small black chip is looking down through the hole.
Using one M3 nylon bolt and nut, screw the ToF sensor to the frame.
Attach the Raspberry Pi Camera to the drone frame#
The Raspberry Pi Camera has to be secured to the frame.
The Raspberry Pi Camera has tape on the back of the black lens assembly that has to be fixed to the PCB before mounting it on the frame
Peel off the tape on the back side of the lens assembly of the Raspberry Pi Camera and attach it to the PCB
Make sure the flex connector (called FFC) from the lens assembly is attached to its connector.
Screw the Raspberry Pi Camera to the right hole in the front part of the drone using the M2 nylon bolts and the M2 nylon nuts. Attach the camera on the bottom side, so that the camera faces downward, and the FFC goes away from the drone’s battery. Place 4 rubber spacers between the camera PCB and the frame to make it level.
Do not use the metal M2 screws as they might short the PCB.
Only use them if you have an old hardware revision, see Troubleshooting if you have power issues.
Mount the top frame#
Identify the smaller black rectangular laser cut piece of the frame.
Attach the large nylon spacers through the small screw holes using four M2 nylon screws.
Make sure the upper frame is oriented in the correct direction, as shown in the figure.
There is a larger rectangular opening in it that shall be oriented towards the back of the drone.
You might need to slightly squeeze the nylon standoffs together due to the battery being in between them.
This is okay, and it has also the benefit of further securing the battery to the frame
Mount the Raspberry Pi#
Now you are going to attach the Raspberry Pi to the top of the frame using zip ties.
Identify the 4 holes on the top frame and place nylon spacers on each
Place the Raspberry Pi on top, taking care not to move the spacers
Mount the Raspberry Pi on top using the 4 M2.5 nylon screws: insert them from the bottom and screw them in the short M2.5 spacers.
Some old hardware revisions did not have enough M2.5 nylon screws. If this is the case you can use 4 small zip ties to secure the Raspberry Pi in place.
Connect the camera and attach the Raspberry Pi Hat#
You will now connect the camera to the Raspberry Pi and attach the Raspberry Pi Hat.
The camera connector cable (called FFC) has to go through the opening of the Raspberry Pi Hat before this is attached to the Raspberry Pi in order to be able to connect it to the Raspberry Pi.
Feed the FFC cable through the opening of the Raspberry Pi Hat as shown in the picture.
Make sure that the Raspberry Pi Hat is oriented with the pins facing up and on the same side as the pins of the Raspberry Pi, and that the blue tape is facing up as in the figure.
Watch this video to understand how to attach the connector properly
Attach the Raspberry Pi Hat to the GPIO pins of the Raspberry Pi being careful when handling the flexible camera cable.
Screw the M2.5 nylon nuts on the 4 spacers sticking out from the corners of the Raspberry Pi Hat (See fig Fig. 100).
Attach the UBEC#
Use a piece of foam double-sided tape to attach the UBEC to the top of the USB ports of the Raspberry Pi as shown.
Connect sensors and UBEC#
Connect the UBEC to the pins soldered on the
Be careful to not connect the UBEC to the WiFi mode selection pins as doing so will damage your Raspberry Pi
Attach the soldered ToF cable from the Raspberry Pi Hat to the ToF sensor.
Connect the Flight Controller USB cable to one of the USB ports on the Raspberry Pi
If you have the
OSD version of the Flight Controller, you can use a piece of double sided foam tape to attach the USB connector board to the frame, right beneath the PDB board.
Angle it so that the USB connector doesn’t protrude much, otherwise you might encounter clearance issues with the propellers.
Fix cables to the frame#
Make sure to attach all dangling cables using zip ties to the frame, such that no wires can hit the propellers.
Fix the cables to allow the drone to lie flat on the ground. This is important to calibrate the Flight Controller.
Attach the propellers to the drone so that it may fly: attach CW propellers to the CW motors, and CCW propellers to the CCW motors.
The propellers have small arrows on them in the center to indicate which type they are.
The nuts for the motors that spin CCW tighten when turned CW, and the ones on the motors that spin CW tighten when turned CCW.
Use the 8 mm wrench to tighten the bolts down so that the bottom of the propeller is flat on the top of the motor.
Screw bolts down tightly, but not so tight that you could not remove the propellers if you had to.
In your Duckiebox there is one item that we haven’t used so far: the Battery Monitor.
This is optional and not required for flight.
To use this safety device you are going to have to connect it to the 4-pins connector of the LiPo battery, when it is not charging:
Identify the row of pins at the bottom of the Battery Monitor.
Connect the 4-pins connector to the left-most pins, having the first pin connected to the black (
-) wires of the connector.
The battery monitor makes a very loud sound when it powers up.
You can cover the speaker holes on the opposide side from the row of pins to protect your ears.
Secure the battery monitor to the chassis of the Duckiedrone.
Due to the length of the battery cable and the limited space on the frame there is not a great mounting spot.
You should pick one making sure that:
The Battery Monitor and battery wire do not interfere with the propellers.
The Battery Monitor will not move during flight.
You can use some double-sided tape to fix the battery monitor.