Sunday, November 2, 2014

Seeing Spark - Sparky2 and SparkyBGC quad

Update: Sparky2 is available here

One of my longer term goals for a while is a system that can chase me around and film my friends and myself having fun. This seems to be a trendy topic this year with piles of kickstarter projects about this, so I won't pretend this is a unique idea. However I finally have something that is getting close. You can find this on Thingiverse.


Some of my recent boards have been coming together towards this aim (see this post for a longer discussion of boards and some history). Sparky BGC is a cleaned up revision on my previous daughter board for Sparky (providing BGC outputs to a normal Sparky) and adding an external sensor board for light weight gimbals. It also drops the whole thing into the standard 36x36 mm board size which makes it very convenient to stack up with a Sparky.

Tau Link is a miniature radio board that works with the Tau Labs Android GCS for telemetry. I ended up doing another revision that shrinks it down and adds a male USB connector which is more convenient when quickly plugging into an OTG cable or laptop.

Sparky 2 is a pretty major overhaul of Sparky 1, adding lots more IO and processing power, as well as radio capabilities which is convenient for communicating with Tau Link and ground stations.

One of the nice things about Sparky2 and SparkyBGC is that they both support CAN which provides a robust high-speed bidirectional communication bus between both boards. This means that Sparky2 (or Sparky1) can tell the gimbal about the desired angle to a position of interest for the camera.

Through discussion on IRC recently, I also realized that means it is possible to pass the heading measurements from the magnetometer on the gimbal (which is often fairly far from the motors) back to the flight controller to provide an external magnetometer for free. I'm pretty excited to try this.

All this means that the android application can easily pass the tablet or phone location up to the UAV, which can then point the camera at that location and acquire nice stabilized video. I have a few multirotors with gimbals that could be used for testing this, but they are all big and less conveinent for testing, so it was design time!

Power distro

I also really wanted to try out KISS ESC18A, which are tiny little things and also do not provide a BEC outputs. That seemed like a great motivator to make a power distro board that would route the PWM signals to these little ESCs and provide 5V to the flight controller. This board also provides current and voltage monitoring back to Sparky2 and comes in at just a hair below 30mm square.

You can see the wires for current voltage monitoring coming off the top, and for the ESC outputs below. The extra two outputs at the bottom at 5V and 0V. The footprints align to the KISS ESCs but can also be connected to any other ESCs. The connections for the PWM line are routed quite carefully around the edge to not obscure the power planes.

Frame Design

The goal was something about as small as I could achieve that could carry a mobius camera and stabilize it with the above hardware. I started with something similar in my mind as Flying Spark. I wanted a closed canopy over most of the hardware with the battery on the inside.  I also wanted the gimbal integrated into the main body to keep it compact.

 It wasn't possible to design a solid body that could hold all the components that could be assembled as a single piece. One thing I ended up doing to get it quite compact was to make a recessed pocket in the main body for the ESCs and PDB and hand the flight controller and gimbal controller from the top of the canopy, and then printing it upside down.

The arms have a little protective hub around the motors and a channel for the wires to run into the body.

The cables then go into the central body to the ESCs.

Here are the ESCs and power distribution board installed into the body of the frame.

And then Sparky2 and SparkyBGC installed into the bottom of the canopy and connected to the PDB ESCs and battery/voltage measurements.

And then covers placed over the boards and PDB to keep the battery away from them.

And here is the integrated gimbal on the front with the SparkyBGC sensor mounted to the top.

Camera Control

The camera is stabilized via the SparkyBGC board. This communicates via CAN (which is a nice high speed bidirectional bus) to the Sparky2 board. This allows information from Sparky2 to control the camera angle. For example, you can set it up to only correct part of the flight controller roll which creates a smooth video that still shows some of the action. You can also set up the pitch to be controlled via a slider or switch from the transmitter that is relayed via the flight controller.

Finally, you can also use the Tau Labs Android GCS to talk to the flight controller and pass the location of the phone or tablet. The FC then calculates the heading and camera pitch to focus on that point of interest and tracks it. This doesn't work perfectly because the phone GPS is sometimes noisy or slow, but generally works quite well. You can also work around this by directly dragging and moving the POI location rather than tracking the tablet.

Final Assembly and Flights

Here you can see it all put together.

And with an updated canopy that has smoother lines:

Here it is being used to do some simple point of interest tracking to my phone, being held by my lovely assistant.

Crashing :D

This quad got plenty of crashing :). You can see in the long video at the end where I plowed it into the ground upside down. The result was two broken arms:

I also had a good time taking it out this weekend. My friends dog also absolutely loved chasing it (he loves running). I'm still not the best at flying backwards at high speeds while leading a dog, though. One of the earlier flights I caught a tree enough to unscrew a prop nut. It landed flat enough and unharmed. Unfortunately despite ten minutes of a number of us looking, we couldn't find the nut and I foolishly forgot spares.

I turns out you can use a spacer screwed on with camping tongs to get airborne again :D

Unfortunately, that only lasted too long until I backed into another tree, this time much higher...

So back to the 3D printer. I think I might try and smooth some of the curves in the canopy anyway, and possibly reinforce the walls some more.


  1. This doesn't work perfectly because the phone GPS is sometimes noisy or slow, but generally works quite well. You can also work around this ...

  2. thesis writing online based on the students needs and wants

  3. No more waiting to become famous currently. Buy Facebook Followers as a way to acquire popularity and authority on internet in a short span. order facebook followers

  4. For getting an increased publicity for your facebook account, Individuals expend dollars to Buy Facebook Followers to conveniently have exposure on world wide web. facebook followers

  5. This doesn't work perfectly because the phone GPS is sometimes noisy or slow,

    Send Flowers To Japan

  6. Nice and informative post. Thanks for such a wonderful post.
    Myassignmenthelp provides custom Nursing assignment help to students who find it difficult to complete their essays and assignments in the available time.

  7. Wonderful, what a weblog it is! This website presents helpful information to us, keep it up. Send Gifts To Pakistan

  8. Hire professional writers for Assignment Help New Zealand service at which provides best quality academic help to the students. Our more than 3000 well qualified writers are offering assistance through best writing services. Our experts are available online 24x7 for students help.

  9. Ireland Assignment Help is dublin assignment help service Provider Company which helps students to avail report writing helps.

  10. I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. Send Gifts To pakistan.

  11. Informative write up. When the pressure of producing an elaborate essay paper on a complex topic gives you sleepless nights, that’s when you should reach out to our best essay typer. These writers guarantee that the services provided by them are nothing short of excellent.

  12. At the time we've come to check out right here a little over a week ago, my brother was first so insistent around making comment on Ryan's idea actually being put forward. I, however, insisted that we ought to keep our mouth closed for a while and merely never come up with a comment however when he made an effort to create one more comment that provides criticisms like Pakistan trends Pakistaneo about how other people reacted on his assertion, I guess he was dead completely wrong with it. so check Pakistan

  13. Website is the premier method to introduce your business to the market. I find it good to see that you have done well in maintaining your site. Students not being able to write their academic coursework could opt for our Thanks..!!!!!!!
    Assignment Help
    and can get comprehensive homework written from us.

  14. This comment has been removed by the author.

  15. is a quality written work benefit accessible on the web. Be that as it may, it has two hindrances: there is no valuing page accessible so you can't set a particular spending plan for your paper and you are restricted to the ways you can get in touch with them, which is now and again is inadmissible for scholarly written work request.

  16. You can see the wires for current voltage monitoring coming off the top, and for the ESC outputs.
    Get more info. about
    corporate finance assignment

  17. Nice Article Dear! Appreciate your sharing this best posting. Thank you for this great info with tips, and the encouragement!! I'm Content Writer, Write Assignments for students, If you want to see premium assignment writing services services please check my take assignment help blog.

  18. Very Nice Post
    Hello! I followed your advice and checked my antivirus software
    and get Free Antivirus In India For PC . I am relieved to know that Antivirus Software is working properly and Protect your System from malware, adware, trojan viruses.

  19. Are you presently searching for ways to gain popularity quickly? You only require to Buy Facebook Followers to get well-known online. buy facebook likes

  20. Great informative blog where students can get help from

  21. Commendable job with the article! It was really informative and enriching. Looking forward to more such posts in the future. Keep us updated with what’s in store! Will surely keep frequenting this website. marketing assignment help Australia

  22. This comment has been removed by the author.

  23. Informative post. i really appreciate the efforts you put into compiling and sharing this piece of content related to world day. if you are interested in mobile app development company or want to discuss about the importance of mobile apps in the present scenario, contact anytime.

  24. Keep your choices open while getting such services as there are so many provider that promises whole lot but falls short to provide the preferable results. buy facebook likes usa

  25. Here is the list of the best emerging react native development company in us who are aiming to outshine the leading React Native development companies. The research is done on a global basis to offer the names that are the most prominent.

  26. Welcome to the Best writer Review, Here you can get the best All Assignment Help reviews sites. We strongly urge you to check our entire website once and we will assure you will find this review website very useful. Our hard work will be rewarded if students like you will appreciate our effort and spread the message about this site with your class-fellows and friends.

  27. Good news. Appreciate this post. Thank you for compiling and sharing it.
    Check out all the latest news headlines on recent changes in Mobile App Design Trends.

  28. Do you know the indicators of worldwide recognition of individuals during this contemporary world? Of course, number of followers to the Twitter account can be described as firm indication in today. buy twitter followers

  29. It is good to read such a valuable information and thanks for sharing it. Livewebtutors is striving towards creating a great learning platform and hence, provide authentic Assignment Help Sydney to make it more informative.

  30. I am happy to find this blog very useful for me. As it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing. We also provide CDR Report .

  31. This is a wonderful article, given so much info in it; these types of articles keep the users up to date with latest information. Keep on sharing more. write my essay for me

  32. You may often find it difficult to conduct thorough research since you aren't aware of the correct research methods. So if you're wondering, "who can write my essays for me online by performing proper research?" You can certainly trust our experts to present you with a well-research essay paper. With the help of our experts you anxiety over, “who can write my essays for me online?” can be eliminated effectively.

  33. As it has already been emphasized that preparing an essay can be quite cumbersome. Since higher studies require the students to delve into complicated topics, they often end up perplexed with the thought, "I wish there were someone to write my essay for me”.

  34. Great site and a great topic as well I really get amazed to read this. It’s really good. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. brass handicrafts online

  35. I am very happy to read this. This is the kind of manual that needs to be given and not the random misinformation that’s at the other blogs. Appreciate your sharing this best posting. marketing assignment help australia

  36. I like the helpful info you provide in your articles. I will bookmark your weblog and check again here regularly. I am quite sure I will learn plenty of new stuff right here!
    Read an amazing article on -
    What Is Machine Learning And How It Can Be Helpful To Business

  37. Thanks for sharing such a nice blog of information to us. This is very knowledgeable for me. I am offering Assignment Help all over the world.