fangin.com RC, photos & tech

5May/120

Tricopter troubleshooting

Troubleshooting a tri copter

20120504-233936.jpg

18Mar/129

How to connect 4 ESCs to one LiPo battery (Make a power distribution board)

The first time I built a power distribution / wiring harness for a tri / quadcopter was back in December 2010 (http://fangin.com/blog/2010/12/07/tricopter-build-wiring-harness/) and I chose the most direct solution which was to solder all the cables together. I say "most direct solution" because in hindsight, it's not the simplest solution. The drawbacks of this solution include;

  • It's more difficult to layout all the wires and get the lengths planned up front.
  • Twisting the wire together and soldering 4 or 5 wires at one junction gets messy.
  • I tried to link all the wires at one point (http://fangin.com/blog/wp-content/uploads/2010/12/1000000286-Large.jpg) to go into the battery which made it difficult to get the wire into the XT60 connector.

 

A neater, simpler and all round better solution is a power distribution board where a central, double sided PCB board (copper on both sides) is located centrally in relation to the ESCs / motors and all the wires connect back to this PCB.

What you'll need. 

  1. PCB - Double sided.
  2. Cutters
  3. Red / Black Wire
  4. Solder / Soldering iron
  5. 20mm heatshrink tube.

 

  • Cut a small board approximately 35 x 15 mm of the double sided PCB.

 

  • Prepare the wires and board by soldering the ends of each wire and the board where the wires will go. You may want to consider orienting the wire to suit the layout of your multirotor. For example an X-Quad you may want to have four wires coming off the board in an X layout.

 

  • Solder the wires to the board. Turn the board over and repeat for the other polarity wires.

 

  • At this point you're almost ready to seal the board up with some heatshrink tube. Before you do! Use a continuity test on a multimeter to ensure 1) All the ground wires are connected and 2) There is no connection between the positive and ground planes.

  • If you're worried about wires moving or foreign objects getting into the heatshrink, smother both sides of the board with glue from a hot glue gun. That will help keep the wires in the right place and prevent a short circuit between the two polarities should something conductive work it's way into the housing. 

 

  • Now you can solder your favourite connectors at the end of each pair of wires. In the photo shown below I've used XT60 connectors on a harness made for a tricopter.

20Apr/110

Tricopter vibration mount testing

 

This clip shows sample footage from four different camera mounts on my tricopter. The aim was to counter the effect of vibration on the quality of the video and remove the "jello" effect as much as possible. 

The best result achieved so far was probably the simplest and cheapest: a HD keychain (#11) velcroed directly to the frame. 

The biggest improvement was can probably be attributed to using an accurate prop balancer as you might notice the noise in the last two videos is significantly reduced.

The next test will be with a GoPro.

Tricopter vibration mount testing

4Apr/112

Tricopter Simple Yaw Mount

A hard landing recently put the yaw servo out of action on the tricopter. The yaw mount was a block of solid pine with two pieces of piano wire connected directly to the servo arm. It was overly complicated and had a bit too much slack in it for my liking. The yaw servo needed replacing so it's as good a time as any to "upgrade" the yaw mount.

The Super Simple yaw mount takes the blade grip from a 500 size heli, along with some linkage balls and rods, and combines to make a simple, cheap and slop free yaw mount. There's not much too the construction of the mount as shown in the photo. Probably the hardest part is drilling a hole down the centre of the 12mm x 12mm oak arm that's in line with the shaft. Any deviation from centre will result in a skewed motor or even worse, drilling through the outside of the shaft. Cut some 1/4" ply with some 3mm ply glued on top to make up space between the blade grip arms. The replacement servo is a cheapy HXT900 and seems to be doing a good job so far. 

This configuration has had about 10 flights put through it. The only problem was the linkage arm popped off after a particularly bouncy landing. Although thats probably a better result to the alternative of probably stripping the servo gears that a traditional push-rod link may have caused.

 

OLD YAW MOUNT

Old complicated yaw mount

 

NEW & IMPROVED SUPER SIMPLE TRICOPTER YAW MOUNT

Tricopter simple yaw mount Tricopter simple yaw mount


9Mar/111

TriCopter LED Strip Lights

These photos show the strip LEDs controlled via the HK Turnigy Receiver Controlled Switch. The Blue LEDs  only face forward where the white LEDs is on both sides of the rear boom. The idea is to help with orientation such that if I can't directly see the blue, it's facing away from me. Ideally I would have used more distinct colours but it's what I had on hand at the time.

I'm thinking I might tripod mount the Canon DSLR, at night, and use the remote switch to do a long exposure with the Tricopter lights on and see if I can't paint the sky.

Tagged as: , 1 Comment
19Feb/110

TriWiiCopter: Connecting the brain

Today I disconnected the 4 HK401B Gyros from the three ESCs and 1 yaw control servo for the purpose of hooking up the new Arduino control board.

Tips:

1) Create a new model on my transmitter. I made the mistake of trying to re-use the existing model memory setup to fly my Tricopter where the Tx is programmed to do all the mixing and 120° CCPM. That job is taken over by the Arduino so a new model with just the basic config can be used.

2) Adjust (increase) the Throttle ATV such that the minimum throttle shown in the MultiWiiconf software is about 950. Once the Arduino sees a low enough throttle output, it will be able to arm the motors and set them at idle. If the Arduino reads anything above minimum throttle, the motors won't start as a safety feature.

3) Adjust the rudder / yaw control Dual Rate, ATV so that the output is in the 1000 to 2000 range in MultiWiiConf.

I'm still using the MultiWiiConf_prebis_1.6 only because I'd already configured it and had it up and running. Version 1.6 is the current version which I just need to configure and upload to the board. When the time comes, I'll try out the online configurator here http://ardupirates.net/config/MW_Config.php.

Now that everythings moving in the right direction in the software, it's time to put the props back on for a test flight. The old gyros will stay on till I'm sure everythings working ok.

13Feb/110

Triwiicopter: Building the Brains

 

The next step to the tricopter project is to swap out the 4 HK401B gyros for an Arduino micro-controller hooked up to a Wii Motion Plus 3 axis gyro all mounted on a custom made PCB. The theory is a much more stable platform for getting some decent aerial video and photos.

TriWiiCopter Wiring diagram

The directions I'll be following can be found here;

http://www.rcgroups.com/forums/showthread.php?t=1261382

http://www.rcgroups.com/forums/showthread.php?t=1332876

http://www.rcgroups.com/forums/showthread.php?t=1340771

http://www.rcgroups.com/forums/showthread.php?t=1348268

http://www.multiwii.com/

The parts needed are;

1)  Arduino Pro Mini 328 - 5VArduino Pro Mini 328 5V

2) Wii Motion plus (the innards of) Wii Motion Plus

3) A PCB to lay it all out onMutiWiiCopter.com PCB

4) An FTDI to plug in the USB and provide serial comms to a PC. 

5) Header pins.

The first step is too solder the Arduino and WMP onto the PCB. The hardest part is holding the header pins in place while flipping the board upside down to solder the bottom of the pins. Try using polystyrene foam or masking tape to hold the pins straight. I used double sided foam tape to hold the WMP in place and to provide some form of protection from vibration. I'll look at this again depending on what the output is like from the WMP sensor. Once the Arduino, WMP and header pins are all in place, it's time to upload the MultiWii 1.6 code to the Arduino. This link is quite handy as it appears to be the best place to go to check for updates as opposed to trawling the forums.

 

Here is where I struck the first hurdle. I kept getting error "avrdude: stk500_getsync(): not in sync: resp=0xf8, avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xd1". After an hour or so of Googling and forum reading, I tried reversing the way the FTDI board was plugged into the Arduino and voila it worked. The proper direction is contrary to the images I had looked at on the net. The pin naming on the board didn't help much and is ambiguous probably due to the lack of space. After reversing the FTDI, the code uploaded first go with plenty of flashing "Rx / Tx" LEDs on the Arduino and FTDI board.

USB to Serial FTDI plugged into the Arduino

Once the Arduino is running the code, I start the MultiWiiConf software to check the output from the WMP sensor. This software allows configuration and fine tuning to be made to the parameters governing the stability and responsiveness of the Triwii. For now though I'm just using it to check that all three axes of the WMP are sending a signal. The USB connection powers the Arduino which in turn powers the WMP sensor so at this stage I should be getting output. After selecting the right COM port in the software and then "start", the graphical interface appears to be showing everything working ok. The GYRO_ROLL, PITC and YAW all change in value as I tilt the board. I believe the ACC_ROLL, PITCH and Z are active once the Wii Nun chuck is added in for auto stabilisation. 

Next step, mount the board on the existing tri, unplug the gyros and plug the ESC inputs into the triwii board.

13Jan/110

Tricopter configuration for Futaba 10C

 

With a few flights under my belt now I'm starting to get a feel for what needs adjusting. Below are photos of my current config. They may not be the final and best but it's better than my initial settings where pitch and bank were way too sensitive and I dialled back the gyro gain / throttle curve.

 

 

 

Here are a few points garnered from rcgroups worth considering for optimising balance of the tri;

 

  • I have weighed my tri at each boom and moved things things to suit.This balancing made a big difference. 
  • I found it really important to get the swash mix for the elevator and aileron right. As with a heli the higher the value for these two will make it more touchy. This will change from model to model but mine are set fairly low. There is definatley a "sweet spot" for the setting. I went too low and it became tough to fly.
  • Also I powered my tri up ready to fly then increased my gyro limits one at a time with my throttle at zero until my motors just started to turn then backed them off until the motor stopped.
  • And, of course, dialled in some expo on the elevator and aileron.
  • Also some expo on the pitch helped with hover maintenance.
  • Then it was suggested that I balance the props.
  • The numbers in the SWASH MIX menu do nothing more than control HOW MUCH TOTAL MOVEMENT you will get for AILERON CYCLIC, ELEVATOR CYCLIC, and COLLECTIVE PITCH.

 

 

 

Tagged as: No Comments
10Jan/110

Tricopter troubleshooting

Feeback from rcgroups suggested the bullet connectors could be a likely source of motor dropouts I was experiencing. I decided to re-solder the 3mm bullet connectors on the troublesome ESC and give it a whirl. Unfortunately on powering up, the motor still stuttered and wouldn't turn. Time to swap the ESC.

My spare ESC was in use in my eHawk 1500 which also happened to have different connectors (1.5mm bullet and JST). It was quicker to pull the heatshrink off both ESCs (the suspect and replacement ESC) and remove the wires at the PCB end rather than re-solder 6 bullet connectors, 1 JST and 1 XT60 connector. With all the swapping of motors and ESCs I've been doing to troubleshoot, I have a number of cable ties still not trimmed short. I've been using the releasable cable ties which I found to be pretty good. Picked them up from Officeworks.

Another test flight and it looks like it was the ESC after all. I've put two 2200mAh batteries through it and not once did the motor stop. Well not until I crashed it and broke the yaw mount.... again. I must find a better way to mount that motor. Or stop crashing.

Once I get the hardware sorted out I can move onto fine tuning it, then the Arduino controller, then maybe one day, mount the GoPro.



Tagged as: No Comments
2Jan/110

Tricopter troubleshooting

If the motors are numbered 1, 2 & 3 in clockwise order starting with the rear yaw control motor as '1', then today I swapped motors 2 & 3 to troubleshoot the number 3 motor stopping dead intermittently. I found that the problem did not follow the motor after I swapped them.
The next suspect is then the #3 ESC and it's soldered connections.
Luckily my eHawk 1500 uses an identical Hobbyking 15-18A Super Simple (SS) ESC so I'll swap that for the tricopter suspect ESC. The downside is my eHawk uses JST connectors so I'll need to solder an XT60 on the battery side and some 3mm bullet connectors on the motor side.
Hopefully the result will be a stable setup so I can focus on learning to fly it and get the Arduino board setup.

Tagged as: No Comments
%d bloggers like this: