Introduction: Arduino Helipad for Mini Quad Copter

About: IT-professional by day, DIY hobbyist (among other things) on my free time. I always have one or more projects going on. Usually something to do with home improvement or a tech project or a combination of the t…

Use this Helipad for precision landing training or challenge your friends. Why not set up a track and let the Helipad time your laps?

If you like this instructable - please vote! https://www.instructables.com/contest/sensors/

Let's face it - ever since you got hooked on flying mini quad copters or choppers you've wanted a respectable landing pad to show off your growing flying skills? Well, maybe not. It's a fun project though.

The idea grew on me and I knew I was probably on to something when my wife told me act my age after telling her about the project. So why would one embark on such a childish endeavor in spite of domestic ridicule? Besides liking the idea it offered a chance to try out the distance sensor and combine it wih other elements of Arduino technology:

  • Ultrasound distance sensor
  • LED strip PWM control
  • LCD Display

In the process, I managed to use up all digital pins except rx/tx.

Helipad features:

  • LED RGB landing lights
  • Aircraft detection (mini chopper/quad copter)
  • Displays flight status on display and led lights (by color)
  • Grants permission to land after hovering for 5s withing detection distance (visible on display and by led color)
  • Displays lap-time between successful landings on display and serial printout (optional)
  • Bad landing detection. If you land before you have landing permission, the landing is failed which is indicated by red landing lights, text in the display. The timer doesn't stop.
  • Dims display when flying to save power
  • Lights flash when out flying (10% duty cycle) to save power. It looks cool, too
  • Detection smoothing in software

If you decide to build this project you should already be familiar with Arduino basics (The IDE, uploading, etc) and have at least some basic hobby electronics skills such as the reading a schematic and soldering.

Step 1: Bits and Pieces

The stuff we need for the helipad. Not all are in the photo.

  1. 20x4 LCD Display, Hitatchi HD44780 compatible
  2. 10k ohm potentiometer
  3. Ultrasound distance sensor
  4. Arduino of choice (Nano for me)
  5. LED Strip
  6. 90 degree angles for LED-strip (not in pic but you will see them later). Optional
  7. LED Amplifier
  8. Battery compartment (x2)
  9. Soldering iron (not in pic)
  10. Wires of various colors (not in pic)
  11. 1x Black foam core board with paper on both sides, metric A3 or US 11.7 x 16.5 inches
  12. 1x Black foam core board with tape backing on one side, paper on the other
  13. 1x Black cardboard of same size as the foam core boards
  14. Glue for foam core board (not in pic).
  15. Pre-drilled prototype board
  16. Power connector for 12v
  17. Household tools

Step 2: Cutting Foam Core Board

  1. Cut the tape-backed foamboard and the cardboard to a square. Save the pieces.
  2. From the other foamboard, cut four identical slanted walls (as seen in pictures). This is for the base.

Step 3: The Pad (part 1)

The pad consists of the cardboard and the tape-backed foamboard taped together with the LED-strips in the middle. The cardboard top has holes for the LED-lighting.

  1. Cut four identical pieces of LED-strip. The strip can be cut at every three beads. 4 groups of three is a good length, i. e. 12 individual LEDs per side.
  2. Join the strips at a 90 degree angle by soldering or by using a prefabricated lighting angle (see picture). Three angles is enough. You don't have to go full-circle.
  3. Solder 4 wires onto one end of the strip.
  4. Tape a square on the cardboard that matches the size of the LED-square. Use light adhesive tape such as electrical tape. The tape will be removed.
  5. Tape the the LED-strip square face-down onto the cardboard.
  6. Press hard on each individual LED to make impressions in the tape. The impressions mark the spot for where the hole needs to be. Another way would be to measure each hole but I think this way is faster and pretty fool-proof.
  7. Remove the LED-strip square but keep the tape with the impressions
  8. Use a leather hole punch tool to cut holes where the impressions are (see picture)
  9. Remove the tape. Hopefully you now have nice holes to match the LEDs
  10. Tape the LEDs back onto the cardboard face down with the LEDs in the holes. This tape will stay on so it doesn't matter if it has stronger adhesive

Step 4: The Pad (part 2)

  1. Mark a square which matches the LED-square (see picture) on the tape side of the foamboard
  2. Cut through the tape and paper into the foam but not all the way through. I used a wallpaper cutter for this.
  3. Remove the tape from the square (see picture)
  4. Carve a groove under the tape big enough to harbour the back side of the LEDs. I used a flat-head screwdriver. Take care not to punch through the board but don't worry too much if you do. This is the under-side.
  5. Make a hole in one corner for the LED-wires
  6. Remove all the tape backing and join the two pieces together. Remember to pull the LED-wires through the hole before pressing together.

Step 5: Base and Pad Assembly

  1. Decide where you want to place the display
  2. Press the display hard onto the surface to make an impression.
  3. Using a sharp knife (e. g. surgical knife), cut a hole for the display. Cut the hole slightly smaller than the display. This way it will be a tight fit and the display will stay put without other means of mounting.
  4. Cut a hole in a scrap-piece board with tape backing. Tape it on the inside to make it thicker. The display thickness matches two foamboards perfectly
  5. Go back to the top of the pad. Measure the middle and make two holes for the ultrasound sensor. Add a piece foamboard on the inside to make it thicker (see picture)
  6. Decorate the top (see picture). I used white electrical tape.
  7. Glue the pieces together. Put temporary tape where you need to until the glue dries and keeps the structure together on its own.

Step 6: The Circuit

Please see schematic and wire accordingly. Also, check out the references for additional background. If anything is unclear, please let me know in the comments.

References:

Step 7: The Software

The problem seems simple enough at first glance. The chopper is detected, after a few seconds you get permission to land, then you land. When you start looking at the problem more closely there is a lot more to it. You need logic to allow the chopper to fly in and out of detection for brief moments. What happens if you take off and stay detected? Is that allowed? What triggers the lap timer to start and stop? The list goes on.

Many Arduino tasks are fairly simple and don't require a lot of thought so I started coding. I soon found myself entangled in a bunch of ugly spaghetti if-statements and timers and I didn't understand my own code the next day. Apparently, the task did require som thought. Back to the drawing board. In the first attempt, I came to realize, however, that the problem is a pretty good example of a finite state machine. So I drew a diagram and tried again. This time I got much better results!

The arduino code is here: Helipad.ino

Step 8: Final Assembly

  1. Attach the prototype board to the back of the display with velcro. Use enough velcro to insulate the prototype board from the display. We don't want to short anything out.
  2. Attach the battery compartments with velcro.
  3. Push display and ultrasound sensor in place

That's it! Have fun!

If you decide to make this project or something inspired from it, please leave a note!

Arduino Contest

Participated in the
Arduino Contest

Sensors Contest

Participated in the
Sensors Contest